File tree Expand file tree Collapse file tree 2 files changed +4
-22
lines changed
Expand file tree Collapse file tree 2 files changed +4
-22
lines changed Original file line number Diff line number Diff line change 1515target 'OnnxruntimeModuleExample' do
1616 config = use_native_modules!
1717
18- ] # Check both symbol and string keys with default value
19- use_react_native! (
20- :path => config [ :reactNativePath ] ,
21- # Hermes is now enabled by default. Disable by setting this flag to false.
22- # Upcoming versions of React Native may rely on get_default_flags(), but
23- # we make it explicit here to aid in the React Native upgrade process.
24- :hermes_enabled => false
25- )
18+ use_react_native! ( :path => config [ "reactNativePath" ] )
2619
2720 use_frameworks!
2821
@@ -40,9 +33,6 @@ post_install do |installer|
4033 project . targets . each do |target |
4134 target . build_configurations . each do |config |
4235 config . build_settings [ 'IPHONEOS_DEPLOYMENT_TARGET' ] = '15.1'
43-
44- # TODO: remove this once we migrate the Pipelines to use arm64 MacOS
45- config . build_settings [ 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' ] = "arm64"
4636 end
4737 end
4838 end
Original file line number Diff line number Diff line change 1515def shared
1616 config = use_native_modules!
1717
18- # Check both symbol and string keys with default value
19- use_react_native! (
20- :path => config [ :reactNativePath ] ,
21- # Hermes is now enabled by default. Disable by setting this flag to false.
22- # Upcoming versions of React Native may rely on get_default_flags(), but
23- # we make it explicit here to aid in the React Native upgrade process.
24- :hermes_enabled => false
25- )
18+ use_react_native! ( :path => config [ "reactNativePath" ] )
19+
2620 # Comment the next line if you don't want to use dynamic frameworks
2721 use_frameworks!
2822
@@ -50,9 +44,7 @@ post_install do |installer|
5044 project . targets . each do |target |
5145 target . build_configurations . each do |config |
5246 config . build_settings [ 'IPHONEOS_DEPLOYMENT_TARGET' ] = '15.1'
53- # TODO: remove this once we migrate the Pipelines to use arm64 MacOS
54- config . build_settings [ 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' ] = "arm64"
5547 end
5648 end
5749 end
58- end
50+ end
You can’t perform that action at this time.
0 commit comments