Skip to content

Commit f142392

Browse files
committed
rolling back ios changes
1 parent f8d1e9b commit f142392

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

js/react_native/e2e/ios/Podfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,7 @@ end
1515
target '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

js/react_native/ios/Podfile

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,8 @@ end
1515
def 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

0 commit comments

Comments
 (0)