-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa334a4
commit 662c1e4
Showing
3 changed files
with
45 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
require_relative '../node_modules/react-native-test-app/test_app' | ||
require_relative '../node_modules/react-native-permissions/scripts/setup' | ||
|
||
workspace 'BRNPlayground.xcworkspace' | ||
|
||
use_test_app! | ||
options = { | ||
:bridgeless_enabled => false, | ||
:fabric_enabled => false, | ||
:hermes_enabled => false, | ||
# Fixes linking issue when using CMake > 3.24 | ||
:app_build_settings => { | ||
'LIBRARY_SEARCH_PATHS' => '$(inherited) "$(PODS_ROOT)/../../../../Modules/@babylonjs/Build/iOS/build/"/**', | ||
} | ||
} | ||
|
||
# react-native-permissions | ||
setup_permissions(['Camera']) | ||
|
||
use_test_app! options | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
Apps/BRNPlayground/patches/react-native-test-app+3.7.2.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/node_modules/react-native-test-app/ios/test_app.rb b/node_modules/react-native-test-app/ios/test_app.rb | ||
index c6662e8..61a0e88 100644 | ||
--- a/node_modules/react-native-test-app/ios/test_app.rb | ||
+++ b/node_modules/react-native-test-app/ios/test_app.rb | ||
@@ -235,6 +235,10 @@ def make_project!(xcodeproj, project_root, target_platform, options) | ||
tests_build_settings = {} | ||
uitests_build_settings = {} | ||
|
||
+ options[:app_build_settings]&.each do |setting, value| | ||
+ build_settings[setting] ||= value | ||
+ end | ||
+ | ||
code_sign_entitlements = platform_config('codeSignEntitlements', project_root, target_platform) | ||
if code_sign_entitlements.is_a? String | ||
package_root = File.dirname(find_file('app.json', project_root)) |