2018-12-05 17:08:57 +03:00
|
|
|
platform :ios, '9.0'
|
2019-09-11 22:42:49 +03:00
|
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
2018-11-19 12:44:58 +03:00
|
|
|
|
2019-09-11 22:42:49 +03:00
|
|
|
target 'eSteem' do
|
2018-11-19 21:54:44 +03:00
|
|
|
# Pods for eSteem
|
2019-09-11 22:42:49 +03:00
|
|
|
pod 'React', :path => '../node_modules/react-native/'
|
|
|
|
pod 'React-Core', :path => '../node_modules/react-native/React'
|
|
|
|
pod 'React-DevSupport', :path => '../node_modules/react-native/React'
|
|
|
|
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
|
|
|
|
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
|
|
|
|
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
|
|
|
|
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
|
|
|
|
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
|
|
|
|
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
|
|
|
|
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
|
|
|
|
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
|
|
|
|
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
|
|
|
|
pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'
|
|
|
|
|
|
|
|
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
|
|
|
|
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
|
|
|
|
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
|
|
|
|
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
|
2018-11-28 10:38:54 +03:00
|
|
|
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
|
2018-12-05 12:29:49 +03:00
|
|
|
|
|
|
|
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
|
|
|
|
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
|
|
|
|
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
|
2018-11-19 12:44:58 +03:00
|
|
|
|
2018-11-19 21:54:44 +03:00
|
|
|
target 'eSteemTests' do
|
2018-11-19 12:44:58 +03:00
|
|
|
inherit! :search_paths
|
|
|
|
# Pods for testing
|
|
|
|
end
|
|
|
|
|
2019-09-11 22:42:49 +03:00
|
|
|
use_native_modules!
|
2018-11-19 12:44:58 +03:00
|
|
|
end
|
2018-12-05 17:08:57 +03:00
|
|
|
|
2018-11-19 21:54:44 +03:00
|
|
|
target 'eSteem-tvOS' do
|
|
|
|
# Pods for eSteem-tvOS
|
2018-11-19 12:44:58 +03:00
|
|
|
|
2018-11-19 21:54:44 +03:00
|
|
|
target 'eSteem-tvOSTests' do
|
2018-11-19 12:44:58 +03:00
|
|
|
inherit! :search_paths
|
|
|
|
# Pods for testing
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
2019-09-11 22:42:49 +03:00
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
installer.pods_project.targets.each do |target|
|
|
|
|
if target.name == 'react-native-config'
|
|
|
|
phase = target.project.new(Xcodeproj::Project::Object::PBXShellScriptBuildPhase)
|
|
|
|
phase.shell_script = "cd ../../"\
|
|
|
|
" && RNC_ROOT=./node_modules/react-native-config/"\
|
|
|
|
" && export SYMROOT=$RNC_ROOT/ios/ReactNativeConfig"\
|
|
|
|
" && ruby $RNC_ROOT/ios/ReactNativeConfig/BuildDotenvConfig.ruby"
|
|
|
|
|
|
|
|
target.build_phases << phase
|
|
|
|
target.build_phases.move(phase,0)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|