Skip to content

Commit

Permalink
Merge pull request #823 from stripe/bdorfman-silence-availability-war…
Browse files Browse the repository at this point in the history
…nings

Disable availability warnings.
  • Loading branch information
bdorfman-stripe authored Nov 2, 2017
2 parents 364fe69 + f7d9576 commit 31ff02d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Stripe.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Stripe/BuildConfigurations/StripeiOS-Shared.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
1 change: 1 addition & 0 deletions Tests/installation_tests/cocoapods/with_frameworks/Podfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use_frameworks!

target 'CocoapodsTest' do
platform :ios, '8.0'
use_frameworks!
pod 'Stripe', path: '../../../..'
end

0 comments on commit 31ff02d

Please sign in to comment.