Error compiling project "No architectures to compile for" Follow
I'm using AppCode for few weeks now, and recently I got the following error when compiling:
Building target 'Newsfeed' with configuration 'Debug' for architecture 'i386' using 'Simulator - iOS 4.3' sdk
No architectures to compile for (ARCHS=i386, VALID_ARCHS=armv6 armv7).
Build Finished with Error: 1
When compiling using the XCode everything is fine.
This means I can't compile anymore, which is a blocker for me (back to the xcode).
Please sign in to leave a comment.
Please watch http://youtrack.jetbrains.net/issue/OC-740.
Thanks for reporting.
I'm not sure what it meant "cannot build project if selected architecture for iphonesimulator is not specified in the target, configured for iphoneos."
Is there a workaround the problem?
Yes, you can temporarily add 'i386' to a list of valid architectures in your bould configuration in Xcode.
"temporarily" means I can remove it after building once? or only after the bug is fixed?
After the bug is fixed. Hopefully by the next eap this week.
It is working with the workaround,