No architecture to compile for ...

Monkey Targets Forums/iOS/No architecture to compile for ...

dragon(Posted 2014) [#1]
I build already a archive for App Store and uploaded it...
Now i changed my game code and want to build it in monkey again...

i get this error:


SDKROOT=iphonesimulator7.1
...
Check dependencies
No architecture to compile for (ARCHS=i386 x86_64, VALID_ARCHS=arm64 armv7 armv7s)


tips from here do not helped me...
http://stackoverflow.com/questions/22328882/xcode-5-1-no-architectures-to-compile-for-only-active-arch-yes-active-arch-x

the only way to build was to copy old project file, build in monkey and copy backup project file...



monkey 78g


dragon(Posted 2014) [#2]
i compared project files...

and this is the difference
ARCHS = "$(ARCHS_STANDARD)";
ONLY_ACTIVE_ARCH = YES;
VALID_ARCHS = "armv7 armv7s";

with this lines, compiling fails...
i think, deleting this lines, should "fix" it...


dragon(Posted 2014) [#3]
this works!!!
simple to solve:

in Build settings / Architecture...
you see some "bold" elements...
this means: user defined (and saved in project file)
select each element and hit delete key...
now, it should not drawed "bold"

close and rebuild in monkey....


dawlane(Posted 2014) [#4]
Did you try Edit->Validate Settings first? It should fix most Xcode project problems.