I am new to development. I am developing a react native app which is in older version 0.66.5. My MAc specification is Macbook m3. And i am using Xcode and Node version V16. previously used v18. Due to this error i tried to use the before node version. But in both the version i am getting the error like “archs[@]: unbound variable command phasescriptexecution failed with a nonzero exit code”.
When i clone my project and run ios code i got around 18 issues. And the major issue is like “Linker command failed with exit code 1”.
To resolve this issue i have many link. and found a medium for this issue.
In that they have added arm64 and *86 in the excluded architecture in build setting. and pod deintergrate and etc. I have done all this .And my linker problem was resolved.
But i found one issue like “archs[@]: unbound variable command phasescriptexecution failed with a nonzero exit code”. This issue was not found before adding excluded architecture. After that i am getting only this error and it was making me mad. Because i tried all the posssible solution available in stack overflow to overcome this issue. But i Cant. I have a understanding like this issue is related to some version . But i didnt find the path to resolve it. Please can anybodu help me on this.
Thanks ,
I tried adding ARCH Standard, Valid archs , excluded archs , changing node version. etc