# generated from template-files/ios/ExpoKit.podspec folly_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1' folly_compiler_flags = folly_flags + ' ' + '-Wno-comma -Wno-shorten-64-to-32' boost_compiler_flags = '-Wno-documentation' Pod::Spec.new do |s| s.name = "ExpoKit" s.version = "${IOS_EXPONENT_CLIENT_VERSION}" s.summary = 'ExpoKit' s.description = 'ExpoKit allows native projects to integrate with the Expo SDK.' s.homepage = 'http://docs.expo.io' s.license = 'MIT' s.author = "650 Industries, Inc." s.requires_arc = true s.platform = :ios, "13.0" s.swift_version = '5.4' s.default_subspec = "Core" s.source = { :git => "http://github.com/expo/expo.git" } s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags s.pod_target_xcconfig = { 'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17', 'USE_HEADERMAP' => 'YES', 'DEFINES_MODULE' => 'YES', } s.subspec "Core" do |ss| ss.source_files = "Exponent/**/*.{h,m,mm,cpp,swift}", "../template-files/keys.json" ss.preserve_paths = "Exponent/**/*.{h,m,mm,cpp,swift}" ss.exclude_files = "Exponent/Supporting/**", "Exponent/Versioned/Optional/**/*.{h,m,swift}" ${IOS_EXPOKIT_DEPS} ss.dependency 'React-Core' # explicit dependency required for CocoaPods >= 1.5.0 ss.dependency 'ReactCommon' # needed for react-native-reanimated, see https://github.com/expo/expo/pull/11096#how # Universal modules required by ExpoKit so the code compiles ss.dependency 'ExpoModulesCore' end s.subspec "FaceDetector" do |ss| ss.dependency "EXFaceDetector" end end