diff --git a/Stripe.podspec b/Stripe.podspec index 23ac7097b00..c126ee95e21 100644 --- a/Stripe.podspec +++ b/Stripe.podspec @@ -14,4 +14,5 @@ Pod::Spec.new do |s| s.public_header_files = 'Stripe/PublicHeaders/*.h' s.source_files = 'Stripe/PublicHeaders/*.h', 'Stripe/*.{h,m}' s.ios.resource_bundle = { 'Stripe' => 'Stripe/Resources/**/*' } + s.compiler_flags = '-Wno-unguarded-availability' end diff --git a/Stripe/BuildConfigurations/StripeiOS-Shared.xcconfig b/Stripe/BuildConfigurations/StripeiOS-Shared.xcconfig index 2093f6dbf2b..6488245ccdb 100644 --- a/Stripe/BuildConfigurations/StripeiOS-Shared.xcconfig +++ b/Stripe/BuildConfigurations/StripeiOS-Shared.xcconfig @@ -25,7 +25,7 @@ CLANG_WARN_INFINITE_RECURSION = YES CLANG_WARN_SUSPICIOUS_MOVE = YES CLANG_WARN_ASSIGN_ENUM = YES CLANG_WARN_DOCUMENTATION_COMMENTS = YES - +CLANG_WARN_UNGUARDED_AVAILABILITY = NO // Code Signing Identity // diff --git a/Tests/installation_tests/cocoapods/with_frameworks/Podfile b/Tests/installation_tests/cocoapods/with_frameworks/Podfile index 530697b2462..718fc45ef16 100644 --- a/Tests/installation_tests/cocoapods/with_frameworks/Podfile +++ b/Tests/installation_tests/cocoapods/with_frameworks/Podfile @@ -1,6 +1,7 @@ use_frameworks! target 'CocoapodsTest' do + platform :ios, '8.0' use_frameworks! pod 'Stripe', path: '../../../..' end