Closed jihoobyeon closed 8 months ago
@jihoobyeon, yes, it should be removed. I had a similar issue, and based on the macOS Podfile in the local-cli directory, it appears that we should remove __apply_Xcode_12_5_M1_post_install_workaround(installer)
. (it's not fixed on the latest stable release yet)
Hi, this method is indeed obsolete, I didn't realize it was still in our template. Please remove it from your apps, and we'll remove it from the template in the latest stable
Hi, this method is indeed obsolete, I didn't realize it was still in our template. Please remove it from your apps, and we'll remove it from the template in the latest stable
Okay, so it is obsolete now. @Saadnajmi, You may close this issue when fixed stable version comes out. Thanks!
0.73.4
should have the fix.
Environment
Steps to reproduce the bug
I made a new React Native project, ver. 0.73.1(latest), and added macOS support(ver 0.73.2), as always I do. But it throws this error:
So I opened
Podfile
and commentated line__apply_Xcode_12_5_M1_post_install_workaround(installer)
, and now the error disappeared. but My Mac mini is using Apple Silicon, so I wondered it would work without that line.Then I tested by running
npx react-native run-macos
and it worked! And I also tested by openingmyproject.xcworkspace
with Xcode and press run button and it also worked!Thus I assume
__apply_Xcode_12_5_M1_post_install_workaround(installer)
is not required from ver 0.73... am I right? I'm confused, since that line is still included in default generated Podfile.Expected Behavior
npx pod-install macos
works without editing Podfile.Actual Behavior
npx pod-install macos
works if I remove line__apply_Xcode_12_5_M1_post_install_workaround(installer)
from Podfile.Reproducible Demo
No response
Additional context
No response