1bef625a4SBen Roth 2335453f7SBen Roth# generated from template-files/ios/ExpoKit.podspec 3335453f7SBen Roth 4*79294b5eSKudo Chienfolly_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1' 5*79294b5eSKudo Chienfolly_compiler_flags = folly_flags + ' ' + '-Wno-comma -Wno-shorten-64-to-32' 6*79294b5eSKudo Chienboost_compiler_flags = '-Wno-documentation' 7*79294b5eSKudo Chien 8bef625a4SBen RothPod::Spec.new do |s| 9bef625a4SBen Roth s.name = "ExpoKit" 10bef625a4SBen Roth s.version = "${IOS_EXPONENT_CLIENT_VERSION}" 11bef625a4SBen Roth s.summary = 'ExpoKit' 12bef625a4SBen Roth s.description = 'ExpoKit allows native projects to integrate with the Expo SDK.' 13bef625a4SBen Roth s.homepage = 'http://docs.expo.io' 1403408c75SJames Ide s.license = 'MIT' 15bef625a4SBen Roth s.author = "650 Industries, Inc." 16bef625a4SBen Roth s.requires_arc = true 17c88b85cfSTomasz Sapeta s.platform = :ios, "13.0" 18c65a9e6cSTomasz Sapeta s.swift_version = '5.4' 19335453f7SBen Roth s.default_subspec = "Core" 20335453f7SBen Roth s.source = { :git => "http://github.com/expo/expo.git" } 21*79294b5eSKudo Chien s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags 22bef625a4SBen Roth 23c65a9e6cSTomasz Sapeta s.pod_target_xcconfig = { 24*79294b5eSKudo Chien 'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17', 25c65a9e6cSTomasz Sapeta 'USE_HEADERMAP' => 'YES', 26c65a9e6cSTomasz Sapeta 'DEFINES_MODULE' => 'YES', 27c65a9e6cSTomasz Sapeta } 28c65a9e6cSTomasz Sapeta 29335453f7SBen Roth s.subspec "Core" do |ss| 30c65a9e6cSTomasz Sapeta ss.source_files = "Exponent/**/*.{h,m,mm,cpp,swift}", "../template-files/keys.json" 31c65a9e6cSTomasz Sapeta ss.preserve_paths = "Exponent/**/*.{h,m,mm,cpp,swift}" 32c65a9e6cSTomasz Sapeta ss.exclude_files = "Exponent/Supporting/**", "Exponent/Versioned/Optional/**/*.{h,m,swift}" 33335453f7SBen Roth 34335453f7SBen Roth${IOS_EXPOKIT_DEPS} 3525be6b63SBartłomiej Bukowski ss.dependency 'React-Core' # explicit dependency required for CocoaPods >= 1.5.0 3649aaa82bSStanisław Chmiela ss.dependency 'ReactCommon' # needed for react-native-reanimated, see https://github.com/expo/expo/pull/11096#how 37a5a9f97fSStanisław Chmiela 38a5a9f97fSStanisław Chmiela # Universal modules required by ExpoKit so the code compiles 3910c060fdSTomasz Sapeta ss.dependency 'ExpoModulesCore' 40335453f7SBen Roth end 41e2c7f60cSJames Ide 422dec7ac3SStanisław Chmiela s.subspec "FaceDetector" do |ss| 43a5a9f97fSStanisław Chmiela ss.dependency "EXFaceDetector" 442dec7ac3SStanisław Chmiela end 45bef625a4SBen Rothend 46