'Getting error line 132: ARCHS[@]: unbound variable
I have Xcode 13.2, App Deployment target 12.0, Swift version 4
Getting line 132: ARCHS[@]: unbound variable error while running in the real device. In the simulator, it is running fine.
I have also tried -
- added arm64 in excluded architecture.
- Build active architecture to Yes/No (no impact)
Solution 1:[1]
I added $(ARCHS_STANDARD) to the "build settings > user defined > VALID_ARCHS" setting in the project file and it was fixed. I hope it will solve your problem.
Solution 2:[2]
Remove arm64 from the Excluded Architectures.
-Build Settings
-Architectures
-Excluded Architectures
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Y?ld?z Uysal |
Solution 2 | alicanbatur |