Upgrading to xcode 4 error No architectures to compile for

后端 未结 8 1314
野性不改
野性不改 2020-12-04 19:39

I am getting an error after upgrading to xcode 4, for all of the library projects that my application depends on.

[BEROR]No architectures to compile f

8条回答
  •  情深已故
    2020-12-04 20:05

    Very strange. I encountered the same error and both the Debug and Release "Valid Architectures" were set to armv6 and armv7. (The same code compiles fine in Xcode 3.2.) I ended up deleting both settings, then expressly setting them to $(ARCHS_STANDARD_32_BIT) ... which in turn translates to armv6 and armv7 again ... and it compiles just fine now. No i386 needed. Hmm ...

提交回复
热议问题