You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build fails in terminal with error before the app is opened on the device
Logs
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/doris/Library/Developer/Xcode/DerivedData/MyApp-dbyuhsmbemopkbfmujohxtmsgxgv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-5F4C70EF7D90A5A5BDAEB404279F232A.sh (in target 'FBReactNativeSpec' from project 'Pods')
(1 failure)
comment out lines 26-29 in PodFile (because that produces a different error) then run pod install/ pod update again:
# post_install do |installer|
# react_native_post_install(installer)
# __apply_Xcode_12_5_M1_post_install_workaround(installer)
# end
yarn ios
Extra Notes
I've scoured the internet for a solution and it seems everyone with a M1 chip set there nvm (nvm unalias default) and then magically there problem is solved.
The text was updated successfully, but these errors were encountered:
loekTheDreamer
changed the title
react native v0.67.2 does not work with intel mac
Brand new react native v0.67.2 project produces build errors
Feb 15, 2022
My folder structure was documents/royal protocol/react native/ and I had to remove all spaces in all parent folders to resolve this issue. thanks to https://stackoverflow.com/a/67289307/1524165
Expected results
App should open in ios simulator
Observed results
Build fails in terminal with error before the app is opened on the device
Logs
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/doris/Library/Developer/Xcode/DerivedData/MyApp-dbyuhsmbemopkbfmujohxtmsgxgv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-5F4C70EF7D90A5A5BDAEB404279F232A.sh (in target 'FBReactNativeSpec' from project 'Pods')
(1 failure)
Steps to reproduce
Extra Notes
I've scoured the internet for a solution and it seems everyone with a M1 chip set there nvm (nvm unalias default) and then magically there problem is solved.
The text was updated successfully, but these errors were encountered: