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