Skip to content

Commit

Permalink
Fix minimum iOS version (< 4.3) and weak reference to iAd framework.
Browse files Browse the repository at this point in the history
Thanks to muccy (patoroco/admob#1).
  • Loading branch information
patoroco committed Jul 12, 2013
1 parent 797073e commit 917cac9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions AdMob/6.4.2/AdMob.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AdMob'
s.platform = :ios
s.platform = :ios, '4.3'
s.version = '6.4.2'
s.summary = 'Google AdMob Ads SDK.'
s.description = 'The Google AdMob Ads SDK allows developers to easily incorporate mobile-friendly text and image banners as well as rich, full-screen web apps known as interstitials.'
Expand All @@ -13,11 +13,12 @@ Pod::Spec.new do |s|

s.source = {
:git => 'https://github.com/patoroco/admob.git',
:tag => '6.4.2'
:tag => s.version.to_s
}
s.preserve_paths = 'libGoogleAdMobAds.a'
s.source_files = '*.h', 'Add-ons/Search/*.h', 'Add-ons/Mediation/*.h', 'Add-ons/DoubleClick/*.h'
s.library = 'GoogleAdMobAds'
s.frameworks = 'StoreKit', 'AudioToolbox', 'MessageUI', 'SystemConfiguration', 'CoreGraphics', 'AdSupport'
s.frameworks = 'StoreKit', 'AudioToolbox', 'MessageUI', 'SystemConfiguration', 'CoreGraphics'
s.weak_frameworks = 'AdSupport'
s.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC', 'LIBRARY_SEARCH_PATHS' => '"$(SRCROOT)/Pods/AdMob"' }
end

0 comments on commit 917cac9

Please sign in to comment.