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)
2
Answers
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.
Remove arm64 from the Excluded Architectures.