Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 13c7980694
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (27 sloc) 1.937 kB do |s| = "Cordova"
s.version = "2.2.0"
s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "" = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap and Cordova Contributors"
s.license = 'Apache License, Version 2.0'
s.source = { :git => "", :tag => "2.2.0" }
# s.source = { :git => "", :tag => "2.2.0" }
s.source_files = 'CordovaLib/Classes/*.{h,m}'
s.resources = 'bin/templates/project/www/cordova-2.2.0.js', 'CordovaLib/VERSION'
s.platform = :ios, '4.3'
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'
# Note: This is not the same like the original JSONKit. Cordova developers decide to integrate
# *a changed copy* (with prefixed class and method names) of it instead of using CocoaPods. :S
# But they missed to translate it like the main project to use ARC, yet.
s.subspec 'JSON' do |json|
json.source_files = 'CordovaLib/Classes/JSON/*.{h,m}'
json.platform = :ios, '4.3'
json.requires_arc = false
# TODO requires_arc does not work for subproject, so set compiler flag by hand until CocoaPods 0.15(?) will support this.
json.compiler_flags = '-fno-objc-arc'
Jump to Line
Something went wrong with that request. Please try again.