Quantcast
Viewing latest article 15
Browse Latest Browse All 20

Fix “No architectures to compile” error

if you ever face the below error while trying to build a iOS project
“No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=i386, VALID_ARCHS=armv6 armv7).”

Then try this:

Project Build Settings:

Architectures: Standard (armv6 armv7)
Base SDK: Latest iOS Build Active
Architectures Only: Checked Valid
Architectures: armv6 armv7

Make sure you delete an sub settings in the Architecture build setting.

Target Build Settings:

Same at project settings.

Clean all targets and try building the project again


Viewing latest article 15
Browse Latest Browse All 20

Trending Articles