1

I have an app using cocos2d-x and it is working with iOS 6.1 Simulator. However I cannot test it in my device because of the following error:

"no architectures to compile for (archs= valid_archs=armv7 armv7s)".

I tried the sugestions of:

iPhone Compiler Fails: No architectures to compile for

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s)

an error "No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s)."?

None of this has worked.

Info: Mac: OS 10.8.3 / Iphone 4: iOS 6.1.3 / Xcode: 4.6.3

Community
  • 1
  • 1
tsvilela
  • 53
  • 1
  • 6

1 Answers1

1

(Solution from the OP):

The problems was that the Architectures on Build Settings of a specific Target of Cocos2d was set as $(ARCHS_STANDARD), different from Standard (armv7 armv7s) set on Project Build Settings. I just set the Architectures on Target Build Settings equal to the Project Build Settings ( Standard (armv7 armv7s) ) and the problem was fixed.

George Stocker
  • 57,289
  • 29
  • 176
  • 237