mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-13 19:43:27 +00:00
15 lines
436 B
Ruby
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!
|