xref: /expo/ios/ExpoKit.podspec (revision edbc5ac6)
1
2# generated from template-files/ios/ExpoKit.podspec
3
4Pod::Spec.new do |s|
5  s.name = "ExpoKit"
6  s.version = "47.0.0"
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, "13.0"
14  s.swift_version  = '5.4'
15  s.default_subspec = "Core"
16  s.source = { :git => "http://github.com/expo/expo.git" }
17  s.xcconfig = {
18    'CLANG_CXX_LANGUAGE_STANDARD' => 'gnu++14',
19    'SYSTEM_HEADER_SEARCH_PATHS' => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/Headers/Private/React-Core\"",
20    'OTHER_CPLUSPLUSFLAGS' => [
21      "$(OTHER_CFLAGS)",
22      "-DFOLLY_NO_CONFIG",
23      "-DFOLLY_MOBILE=1",
24      "-DFOLLY_USE_LIBCPP=1"
25    ]
26  }
27
28  s.pod_target_xcconfig = {
29    'USE_HEADERMAP' => 'YES',
30    'DEFINES_MODULE' => 'YES',
31  }
32
33  s.subspec "Core" do |ss|
34    ss.source_files = "Exponent/**/*.{h,m,mm,cpp,swift}", "../template-files/keys.json"
35    ss.preserve_paths = "Exponent/**/*.{h,m,mm,cpp,swift}"
36    ss.exclude_files = "Exponent/Supporting/**", "Exponent/Versioned/Optional/**/*.{h,m,swift}"
37
38    ss.dependency 'Amplitude', '~> 6.0.0'
39    ss.dependency 'CocoaLumberjack', '~> 3.5.3'
40    ss.dependency 'GoogleMaps', '~> 3.3'
41    ss.dependency 'Google-Maps-iOS-Utils', '~> 2.1.0'
42    ss.dependency 'lottie-ios', '~> 3.2.3'
43    ss.dependency 'JKBigInteger', '0.0.6'
44    ss.dependency 'MBProgressHUD', '~> 1.2.0'
45    ss.dependency 'React-Core' # explicit dependency required for CocoaPods >= 1.5.0
46    ss.dependency 'ReactCommon' # needed for react-native-reanimated, see https://github.com/expo/expo/pull/11096#how
47
48    # Universal modules required by ExpoKit so the code compiles
49    ss.dependency 'ExpoModulesCore'
50  end
51
52  s.subspec "FaceDetector" do |ss|
53    ss.dependency "EXFaceDetector"
54  end
55end
56