Set ONLY_ACTIVE_ARCH project setting to NO.