2021-02-19 08:07:53 -07:00
|
|
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
|
2021-02-19 08:59:39 -07:00
|
|
|
platform :ios, '11.0'
|
2021-02-19 08:07:53 -07:00
|
|
|
|
|
|
|
target 'VisionCameraExample' do
|
|
|
|
config = use_native_modules!
|
|
|
|
|
2021-03-19 08:53:19 -06:00
|
|
|
use_react_native!(
|
|
|
|
:path => config["reactNativePath"],
|
|
|
|
:hermes_enabled => true
|
|
|
|
)
|
2021-02-19 08:07:53 -07:00
|
|
|
|
2021-03-19 08:53:19 -06:00
|
|
|
pod 'react-native-vision-camera', :path => '../..'
|
2021-02-19 08:53:21 -07:00
|
|
|
|
2021-02-19 08:07:53 -07:00
|
|
|
# Enables Flipper.
|
|
|
|
#
|
|
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
|
|
# you should disable these next few lines.
|
2021-03-19 08:53:19 -06:00
|
|
|
use_flipper!()
|
2021-02-19 08:07:53 -07:00
|
|
|
post_install do |installer|
|
2021-03-19 08:53:19 -06:00
|
|
|
react_native_post_install(installer)
|
2021-02-19 08:07:53 -07:00
|
|
|
end
|
|
|
|
end
|