2020-09-18 11:21:12 +03:00
|
|
|
platform :ios, '10.0'
|
2021-07-29 13:40:20 +03:00
|
|
|
require_relative '../node_modules/react-native/scripts/autolink-ios'
|
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
|
|
|
|
2020-07-17 14:22:06 +03:00
|
|
|
target 'Ecency' do
|
2019-10-09 15:02:13 +03:00
|
|
|
|
2020-07-17 14:22:06 +03:00
|
|
|
# Pods for Ecency
|
2019-10-09 18:26:38 +03:00
|
|
|
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
|
|
|
|
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
|
|
|
|
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
|
|
|
|
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
|
2019-09-11 22:42:49 +03:00
|
|
|
pod 'React', :path => '../node_modules/react-native/'
|
2019-10-09 18:26:38 +03:00
|
|
|
pod 'React-Core', :path => '../node_modules/react-native/'
|
|
|
|
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
|
|
|
|
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
|
2019-09-11 22:42:49 +03:00
|
|
|
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'
|
2019-10-09 18:26:38 +03:00
|
|
|
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
|
2019-09-11 22:42:49 +03:00
|
|
|
|
|
|
|
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'
|
2021-07-29 13:40:20 +03:00
|
|
|
pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
|
2019-10-09 18:26:38 +03:00
|
|
|
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
|
2021-07-29 13:40:20 +03:00
|
|
|
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
|
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'
|
2019-12-17 05:26:06 +03:00
|
|
|
pod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob'
|
|
|
|
|
2020-07-17 14:22:06 +03:00
|
|
|
target 'EcencyTests' do
|
2021-07-29 13:40:20 +03:00
|
|
|
inherit! :complete
|
2018-11-19 12:44:58 +03:00
|
|
|
# Pods for testing
|
|
|
|
end
|
2021-07-30 11:21:48 +03:00
|
|
|
|
2021-02-04 15:51:57 +03:00
|
|
|
post_install do |installer|
|
|
|
|
find_and_replace("../node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m",
|
|
|
|
"_currentFrame.CGImage;","_currentFrame.CGImage ;} else { [super displayLayer:layer];")
|
|
|
|
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
|
|
|
|
2020-07-17 14:22:06 +03:00
|
|
|
target 'Ecency-tvOS' do
|
|
|
|
# Pods for Ecency-tvOS
|
2018-11-19 12:44:58 +03:00
|
|
|
|
2020-07-17 14:22:06 +03:00
|
|
|
target 'Ecency-tvOSTests' do
|
2018-11-19 12:44:58 +03:00
|
|
|
inherit! :search_paths
|
|
|
|
# Pods for testing
|
|
|
|
end
|
|
|
|
|
2021-02-04 15:51:57 +03:00
|
|
|
end
|
|
|
|
|
|
|
|
def find_and_replace(dir, findstr, replacestr)
|
|
|
|
Dir[dir].each do |name|
|
|
|
|
text = File.read(name)
|
|
|
|
replace = text.gsub(findstr,replacestr)
|
|
|
|
if text != replace
|
|
|
|
puts "Fix: " + name
|
|
|
|
File.open(name, "w") { |file| file.puts replace }
|
|
|
|
STDOUT.flush
|
|
|
|
end
|
|
|
|
end
|
|
|
|
Dir[dir + '*/'].each(&method(:find_and_replace))
|
2019-10-10 16:14:42 +03:00
|
|
|
end
|