ARCHS[@]: unbound variable in Xcode 12
You may try below steps:
- In Main Project(Not TARGETS), Go to build settings and add
Simulator-iOS 14.0 SDK
with valuearm64
insideExcluded Architecture
and repeat the same for thePod
project too. - Delete
VALID_ARCHS
from your Main project and Pod project both.(You may open the project file in editor to delete this) [You already did this ✅ ] - Upgrade all Pods to the latest version available.
Last, Clean Project and Re-Build.
For Xcode 12.3, when there is no VALID_ARCHS property, follow below steps:
- Build Settings -> Build Active Architecture Only -> Debug -> Yes
- Add "arm64" in "Excluded Architectures" in build settings of both project and pods project, to run the app in simulator. Remove it while making build on device or archiving the app.