I am getting following issue:
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386)
.
Can anyone suggest what error it is and how to resolve it?
I am getting following issue:
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386)
.
Can anyone suggest what error it is and how to resolve it?
You can set the "Build Active Architecture Only" and "Archs" values from command line itself. We set ARCHS="i386" ONLY_ACTIVE_ARCH=NO.
Eg
/usr/bin/xcodebuild ARCHS="i386" ONLY_ACTIVE_ARCH=NO -workspace -scheme ......
This will free you from manually changing the values in your project settings.
You can also refer the apple discussions! :) https://devforums.apple.com/message/376732#376732
Xcode 5.1 - No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386)
you may solve this proble in build settings
-->
"Valid Architectures"
by add "arm64"