Skip to content

Instantly share code, notes, and snippets.

@paulz
Last active December 11, 2015 19:18
Show Gist options
  • Save paulz/4647149 to your computer and use it in GitHub Desktop.
Save paulz/4647149 to your computer and use it in GitHub Desktop.
UrbanAirship-iOS-SDK podspec without GHUnitIOS.framework to fix conflict with GHUnitIOS pod and added missing UrbanAirship UI resource files such as NIB files WARNING: UrbanAirship UI resources are copied to root of the bundle and might overwrite with main bundle resources if not copied to root, then UrbanAirship is unable to find them, which ca…
Pod::Spec.new do |s|
s.name = 'UrbanAirship-iOS-SDK'
s.version = '1.3.7.fixed'
s.license = 'BSD'
s.platform = :ios
s.summary = 'A simple way to integrate Urban Airship services into your iOS applications.'
s.homepage = 'https://github.com/urbanairship/ios-library'
s.author = { 'Urban Airship' => 'support@urbanairship.com' }
s.source = { :git => 'https://github.com/urbanairship/ios-library.git', :tag => 'v1.3.7' }
# Airship ships both UA-prefixed ASI and SBJson, as well as un-prefixed
# versions that are no longer used in the .xcodeproj.
files = FileList['Airship/**/*.{h,m,c}']
files.exclude(/\/asi-http-request\//)
files.exclude(/\/json-framework\//)
files.exclude(/\/google-toolbox-for-mac\//)
files.exclude(/\/ZipFile-OC\//)
files.exclude(/\/Reachability.*/)
files.exclude(/\/GHUnitIOS.framework\//)
s.source_files = files
s.resources = 'Airship/UI/Default/Push/Resources/**/*.*'
s.libraries = 'z', 'sqlite3.0'
s.frameworks = 'CFNetwork', 'CoreGraphics', 'Foundation', 'MobileCoreServices',
'Security', 'SystemConfiguration', 'UIKit', 'CoreTelephony',
'StoreKit', 'CoreLocation', 'MapKit', 'AudioToolbox', 'MessageUI'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment