tsvilela
tsvilela

Reputation: 53

No architectures to compile for (archs= valid_archs=armv7 armv7s): OS 10.8.3 ios 6.1.3

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

Upvotes: 1

Views: 3431

Answers (1)

George Stocker
George Stocker

Reputation: 57907

(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.

Upvotes: 1

Related Questions