I am using Mac M1, and when I am trying to do npm run ios
but getting the below error. No solutions found on the internet solved my issue :( please help
The following build commands failed:
Ld /Users/fullmad/Library/Developer/Xcode/DerivedData/SagaReserve-hdvaajmlsndpidftnfyqfuxydjqw/Build/Products/Debug-iphonesimulator/SagaReserve.app/SagaReserve normal (in target 'SagaReserve' from project 'SagaReserve')
(1 failure)
This is what is everything in the console:
SECOND: Set XCode to use Rosetta
- Go to the
Applications
folder in Finder - Find XCode
- Open application menu and select
Get info
- Select
Open using Rosetta
Hope it helps you too. Best of luck!