Skip to content

Commit 887daae

Browse files
committed
update post_install
1 parent c0b3fc8 commit 887daae

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

js/react_native/ios/Podfile

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,7 @@ def shared
3636
end
3737

3838
inherit! :search_paths
39-
post_install do |installer|
40-
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
41-
react_native_post_install(
42-
installer,
43-
config[:reactNativePath],
44-
:mac_catalyst_enabled => false,
45-
)
46-
__apply_Xcode_12_5_M1_post_install_workaround(installer)
47-
end
39+
4840
end
4941

5042
target 'OnnxruntimeModule' do
@@ -55,3 +47,12 @@ target 'OnnxruntimeModuleTest' do
5547
shared
5648
end
5749

50+
post_install do |installer|
51+
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
52+
react_native_post_install(
53+
installer,
54+
config[:reactNativePath],
55+
:mac_catalyst_enabled => false,
56+
)
57+
__apply_Xcode_12_5_M1_post_install_workaround(installer)
58+
end

0 commit comments

Comments
 (0)