diff --git a/RFAPI.podspec b/RFAPI.podspec index a49bdfb..0c0a880 100644 --- a/RFAPI.podspec +++ b/RFAPI.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.author = { 'BB9z' => 'bb9z@me.com' } s.source = { :git => 'https://github.com/RFUI/RFAPI.git', - :branch => 'develop' + :tag => s.version.to_s } s.requires_arc = true @@ -28,15 +28,5 @@ Pod::Spec.new do |s| s.public_header_files = ['*.h', 'RFAPIDefine/*.h'] s.pod_target_xcconfig = { - # These config should only exsists in develop branch. - 'WARNING_CFLAGS'=> [ - '-Weverything', # Enable all possiable as we are developing a library. - '-Wno-gnu-statement-expression', # Allow ?: expression. - '-Wno-gnu-conditional-omitted-operand', - '-Wno-auto-import', # Still needs old #import for backward compatibility. - '-Wno-sign-conversion', - '-Wno-sign-compare', - '-Wno-objc-missing-property-synthesis' - ].join(' ') } end