Skip to content

Instantly share code, notes, and snippets.

Created May 14, 2013 16:30
Show Gist options
  • Save anonymous/5577346 to your computer and use it in GitHub Desktop.
Save anonymous/5577346 to your computer and use it in GitHub Desktop.
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "2.7.0"
s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://cordova.apache.org/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap and Cordova Contributors"
s.license = 'Apache License, Version 2.0'
# s.source = { :git => "http://git-wip-us.apache.org/repos/asf/cordova-ios.git", :tag => "2.7.0" }
s.source = { :git => "https://github.com/apache/cordova-ios.git", :tag => "2.7.0" }
s.source_files = 'CordovaLib/Classes/*.{h,m}'
s.resources = 'CordovaLib/cordova.ios.js', 'CordovaLib/VERSION'
s.platform = :ios, '5.0'
s.requires_arc = true
# TODO: Missing AddressBookUI here, but CocoaPods generates incorrect OTHER_LDFLAGS in Pods/Pods.xcconfig. Will analyse this soon..
# OTHER_LDFLAGS = -ObjC UI -framework AVFoundation <- incorrect UI argument here!
s.frameworks = 'AddressBook', 'AudioToolbox', 'AVFoundation', 'CoreLocation', 'MediaPlayer', 'QuartzCore', 'SystemConfiguration', 'MobileCoreServices', 'CoreMedia', 'UIKit'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment