50 lines
1.4 KiB
Ruby
50 lines
1.4 KiB
Ruby
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
target 'zeus' do
|
|
config = use_native_modules!
|
|
|
|
|
|
use_react_native!(
|
|
:path => config[:reactNativePath],
|
|
# Enables Flipper.
|
|
#
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
# you should disable the next line.
|
|
:flipper_configuration => FlipperConfiguration.disabled,
|
|
# An absolute path to your application root.
|
|
:app_path => "#{Pod::Config.instance.installation_root}/.."
|
|
)
|
|
|
|
# proto
|
|
pod 'SwiftProtobuf', '~> 1.0'
|
|
|
|
# use_unimodules!(modules_paths: ['../node_modules'])
|
|
|
|
pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
|
|
|
|
pod 'react-native-blob-util', :path => '../node_modules/react-native-blob-util'
|
|
|
|
target 'zeusTests' do
|
|
inherit! :complete
|
|
# Pods for testing
|
|
end
|
|
|
|
# Enables Flipper.
|
|
#
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
# you should disable the next line.
|
|
# use_flipper!()
|
|
|
|
post_install do |installer|
|
|
react_native_post_install(installer)
|
|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
# Disable arm64 builds for the simulator
|
|
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
|
|
end
|
|
end
|
|
end
|
|
end
|