1 2# generated from template-files/ios/ExpoKit.podspec 3 4Pod::Spec.new do |s| 5 s.name = "ExpoKit" 6 s.version = "${IOS_EXPONENT_CLIENT_VERSION}" 7 s.summary = 'ExpoKit' 8 s.description = 'ExpoKit allows native projects to integrate with the Expo SDK.' 9 s.homepage = 'http://docs.expo.io' 10 s.license = 'MIT' 11 s.author = "650 Industries, Inc." 12 s.requires_arc = true 13 s.platform = :ios, "10.0" 14 s.default_subspec = "Core" 15 s.source = { :git => "http://github.com/expo/expo.git" } 16 17 s.subspec "Core" do |ss| 18 ss.source_files = "Exponent/**/*.{h,m}", "../template-files/keys.json" 19 ss.preserve_paths = "Exponent/**/*.{h,m}" 20 ss.exclude_files = "Exponent/Supporting/**", "Exponent/Versioned/Optional/**/*.{h,m}" 21 22${IOS_EXPOKIT_DEPS} 23 ss.dependency 'React' # explicit dependency required for CocoaPods >= 1.5.0 24 25 # Universal modules required by ExpoKit so the code compiles 26 ss.dependency 'UMCore' 27 ss.dependency 'UMReactNativeAdapter' 28 ss.dependency 'UMSensorsInterface' 29 ss.dependency 'UMFileSystemInterface' 30 ss.dependency 'UMPermissionsInterface' 31 ss.dependency 'UMCameraInterface' 32 ss.dependency 'UMConstantsInterface' 33 end 34 35 s.subspec "Payments" do |ss| 36 ss.dependency "ExpoKit/Core" 37 ss.dependency 'Stripe', '~> 10.1.0' 38 ss.source_files = 'Exponent/Versioned/Optional/Payments/*.{h,m}' 39 end 40 41 s.subspec "FaceDetector" do |ss| 42 ss.dependency "EXFaceDetector" 43 end 44end 45