xref: /expo/template-files/ios/ExpoKit.podspec (revision 1395a2ed)
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 = 'BSD'
11  s.author = "650 Industries, Inc."
12  s.requires_arc = true
13  s.platform = :ios, "9.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 = "ios/Exponent/**/*.{h,m}"
19    ss.preserve_paths = "ios/Exponent/**/*.{h,m}"
20    ss.exclude_files = "ios/Exponent/EXAppDelegate.*", "ios/Exponent/EXRootViewController.*", "ios/Exponent/Supporting/**", "ios/UnversionedModules/Payments/**"
21
22${IOS_EXPOKIT_DEPS}
23  end
24
25  s.subspec "CPP" do |ss|
26    ss.dependency "ExpoKit/Core"
27    ss.source_files = 'cpp/*.{h,c,cpp,m,mm}', 'cpp/**/*.{h,c,cpp,m,mm}'
28  end
29
30  s.subspec "Payments" do |ss|
31    ss.dependency "ExpoKit/Core"
32    ss.dependency 'Stripe', '~> 10.1.0'
33    ss.source_files = 'ios/UnversionedModules/Payments/*.{h.m}'
34  end
35end
36