ecency-mobile/ios/Podfile

77 lines
3.6 KiB
Plaintext
Raw Normal View History

2021-07-31 10:29:44 +03:00
require_relative '../node_modules/react-native/scripts/react_native_pods'
2019-09-11 22:42:49 +03:00
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
2021-07-31 10:29:44 +03:00
platform :ios, '10.0'
2020-07-17 14:22:06 +03:00
target 'Ecency' do
2021-07-31 10:29:44 +03:00
config = use_native_modules!
2019-10-09 15:02:13 +03:00
2020-07-17 14:22:06 +03:00
# Pods for Ecency
2021-07-31 10:29:44 +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"
# pod 'React', :path => '../node_modules/react-native/'
# 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/'
# 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-Core/RCTWebSocket', :path => '../node_modules/react-native/'
#
# 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'
# pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
# pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
# pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
#
# 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'
# pod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob'
2021-07-31 11:21:59 +03:00
use_react_native!(:path => config["reactNativePath"])
2019-12-17 05:26:06 +03:00
2020-07-17 14:22:06 +03:00
target 'EcencyTests' do
2021-07-29 13:40:20 +03:00
inherit! :complete
# Pods for testing
end
2021-07-30 11:21:48 +03:00
2021-07-31 11:21:59 +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
2021-02-04 15:51:57 +03:00
2021-07-31 11:21:59 +03:00
end
2020-07-17 14:22:06 +03:00
target 'Ecency-tvOS' do
# Pods for Ecency-tvOS
2020-07-17 14:22:06 +03:00
target 'Ecency-tvOSTests' do
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