skip to Main Content

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 –

  1. added arm64 in excluded architecture.
  2. Build active architecture to Yes/No (no impact)

Xcode Snap

2

Answers


  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.

    Login or Signup to reply.
  2. Remove arm64 from the Excluded Architectures.

    -Build Settings
      -Architectures
        -Excluded Architectures
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search