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 = "${IOS_EXPONENT_CLIENT_VERSION}" 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${IOS_EXPOKIT_DEPS} 35 ss.dependency 'React-Core' # explicit dependency required for CocoaPods >= 1.5.0 36 ss.dependency 'ReactCommon' # needed for react-native-reanimated, see https://github.com/expo/expo/pull/11096#how 37 38 # Universal modules required by ExpoKit so the code compiles 39 ss.dependency 'ExpoModulesCore' 40 end 41 42 s.subspec "FaceDetector" do |ss| 43 ss.dependency "EXFaceDetector" 44 end 45end 46