Files
react-native-video/example/ios/Podfile
2025-01-18 23:14:20 +01:00

15 lines
436 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'
ENV["USE_HERMES"] = '1'
Pod::UI.puts "Building with RCT_NEW_ARCH_ENABLED = #{ENV['RCT_NEW_ARCH_ENABLED']}..."
workspace 'VideoExample.xcworkspace'
use_test_app!