crazyCoder crazyCoder - 1 year ago 60
iOS Question

Architecture Build Settings Won't Change in Xcode 5.1

I strongly feel like I'm missing something simple but I can't seem to find what the issue is. I am working on this iOS tutorial and recently updated xcode to 5.1. After opening xcode I noticed that I was receiving warnings that I wasn't getting before.

After some research I've found that it's caused from the fact that xcode changed some of my default build settings... namely my Architecture setting in build settings.

I am now trying to change that setting to not include arm64 (and only armv7 and armv7s) but for some reason I cannot change it. The option is not click-editable nor is there any other options in the drop down menu... any ideas?

enter image description here
enter image description here

Answer Source

Your Architectures value will currently be set to $(ARCHS_STANDARD), which as of Xcode 5.1 includes arm64. You should certainly be able to edit the value - just double click it like you would any other value in the Build Settings.

To remove arm64, you can change the value to $(ARCHS_STANDARD_32_BIT), which just includes armv7 and armv7s. You may also need to edit Valid Architectures to remove arm64 from there.

However, if possible, you should try and ensure you support arm64 within your app.