123456789101112131415161718192021222324252627282930313233343536 |
- platform :ios, '12.0'
- source 'https://github.com/CocoaPods/Specs.git'
- # 导入我们自定义的脚本
- require_relative './Podfile_ReactNative'
- # 执行我们编写的RN环境检测代码
- installReactNativeSdk()
- # 设置RN配置 依赖,这里需要注意,不要使用 ../node_modules/,而是../RNCode/node_modules/
- require_relative './RNCode/node_modules/react-native/scripts/react_native_pods'
- require_relative './RNCode/node_modules/@react-native-community/cli-platform-ios/native_modules'
- target 'Demo' do
- pod 'TensorFlowLite'
- pod 'LenzCameraNativeModuleForRN', :path => './SDK/LenzCameraNativeModuleForRN'
- # use_react_native!(
- # :path => config[:reactNativePath],
- # # Hermes is now enabled by default. Disable by setting this flag to false.
- # # Upcoming versions of React Native may rely on get_default_flags(), but
- # # we make it explicit here to aid in the React Native upgrade process.
- # :hermes_enabled => false,
- # # :hermes_enabled => flags[:hermes_enabled],
- # :fabric_enabled => flags[:fabric_enabled],
- # # Enables Flipper.
- # #
- # # Note that if you have use_frameworks! enabled, Flipper will not work and
- # # you should disable the next line.
- # :flipper_configuration => flipper_config,
- # # An absolute path to your application root.
- # :app_path => "#{Pod::Config.instance.installation_root}/.."
- # )
-
- end
|