Could anyone please tell me why I am getting this error message while sending application to apple store. I have made sure that Application target settings have valid architectures armv6 and armv7!
ARCHS = $(ARCHS_STANDARD_32_BIT)
SDKROOT = iphoneos
ONLY_ACTIVE_ARCH = YES
SUPPORTED_PLATFORMS = iphoneos
VALID_ARCHS = armv6 armv7
Thanks.
I see that your
ONLY_ACTIVE_ARCHis set toYES, which means that product includes only code for the native architecture as set inNATIVE_ARCH(“Valid Architectures” setting).Please try changing “Build Active Architecture Only” to
NOin “Build Settings” of your target. This wayONLY_ACTIVE_ARCHisNO, so XCode can build all the valid architectures which are specified inARCHS(“Valid Architectures” setting).For more details about build settings, check out Apple’s doc Xcode Build Setting Reference.
If you’re not using preview/beta version of Xcode, this should do the trick. Note: I never tried to make a distribution build on beta version and I have no idea how it can result in the error you describe.