xref: /expo/ios/ExpoKit.podspec (revision 6de5be70)
1
2# generated from template-files/ios/ExpoKit.podspec
3
4folly_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1'
5folly_compiler_flags = folly_flags + ' ' + '-Wno-comma -Wno-shorten-64-to-32'
6boost_compiler_flags = '-Wno-documentation'
7
8Pod::Spec.new do |s|
9  s.name = "ExpoKit"
10  s.version = "49.0.0"
11  s.summary = 'ExpoKit'
12  s.description = 'ExpoKit allows native projects to integrate with the Expo SDK.'
13  s.homepage = 'http://docs.expo.io'
14  s.license = 'MIT'
15  s.author = "650 Industries, Inc."
16  s.requires_arc = true
17  s.platform = :ios, "13.0"
18  s.swift_version  = '5.4'
19  s.default_subspec = "Core"
20  s.source = { :git => "http://github.com/expo/expo.git" }
21  s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags
22
23  s.pod_target_xcconfig = {
24    'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
25    'USE_HEADERMAP' => 'YES',
26    'DEFINES_MODULE' => 'YES',
27  }
28
29  s.subspec "Core" do |ss|
30    ss.source_files = "Exponent/**/*.{h,m,mm,cpp,swift}", "../template-files/keys.json"
31    ss.preserve_paths = "Exponent/**/*.{h,m,mm,cpp,swift}"
32    ss.exclude_files = "Exponent/Supporting/**", "Exponent/Versioned/Optional/**/*.{h,m,swift}"
33
34    ss.dependency 'Amplitude', '~> 6.0.0'
35    ss.dependency 'CocoaLumberjack', '~> 3.5.3'
36    ss.dependency 'GoogleMaps', '~> 3.3'
37    ss.dependency 'Google-Maps-iOS-Utils', '~> 2.1.0'
38    ss.dependency 'lottie-ios', '~> 3.2.3'
39    ss.dependency 'JKBigInteger', '0.0.6'
40    ss.dependency 'MBProgressHUD', '~> 1.2.0'
41    ss.dependency 'React-Core' # explicit dependency required for CocoaPods >= 1.5.0
42    ss.dependency 'ReactCommon' # needed for react-native-reanimated, see https://github.com/expo/expo/pull/11096#how
43
44    # Universal modules required by ExpoKit so the code compiles
45    ss.dependency 'ExpoModulesCore'
46  end
47
48  s.subspec "FaceDetector" do |ss|
49    ss.dependency "EXFaceDetector"
50  end
51end
52