Podfile 1.4 KB

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