Files
react-native-video/example/ios/Podfile
T
2025-01-16 09:13:12 +01:00

14 lines
412 B
Ruby

ws_dir = Pathname.new(__dir__)
ws_dir = ws_dir.parent until
File.exist?("#{ws_dir}/node_modules/react-native-test-app/test_app.rb") ||
ws_dir.expand_path.to_s == '/'
require "#{ws_dir}/node_modules/react-native-test-app/test_app.rb"
ENV['RCT_NEW_ARCH_ENABLED'] = '1'
Pod::UI.puts "Building with RCT_NEW_ARCH_ENABLED = #{ENV['RCT_NEW_ARCH_ENABLED']}..."
workspace 'VideoExample.xcworkspace'
use_test_app!