application executable is missing a required architecture armv6

前端 未结 8 1722
轻奢々
轻奢々 2020-12-02 08:00

I am using xCode 4.2 and trying to deploy my application. I am failing the validation with the following error message:

application executable is missing a          


        
8条回答
  •  一生所求
    2020-12-02 08:21

    Easy way to do it:

    1) Left-click project icon (blue icon, under "Run" button).

    2) Next to the project icon (to the right of it), left-click on project name under "PROJECT" (White background).

    3) Select tab "Build Settings" and look for submenu "Architectures" (First one). Left-click on "Standard (armv7) $(ARCH_STANDARD_32_BIT)" and select "Other..."

    4) Click on the "-" icon to remove original value ("$(ARCH_STANDARD_32_BIT)"). Click the "+" icon and write "armv6" (without double-quotes). Click the "+" icon again and add "armv7" (also without double-quotes). Click "Done".

    5) Make sure that "Build Active Architecture Only" is set to "No" (it should be)

    6) Next to the project icon (to the right of it), left-click on project name under "TARGETS" and repeat steps 3, 4 and 5.

    7) Press cmd + I on your keyboard (or Product -> Profile on Xcode menu) and check to see if everything is ok.

提交回复
热议问题