user3840260
user3840260

Reputation:

No architectures to compile for iPhone 5s

I am trying to compile a project to my iPhone 5s, and receive the error

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7).

The current build architecture is $(ARCHS_STANDARD)

Upvotes: 0

Views: 151

Answers (2)

Kalpit Gajera
Kalpit Gajera

Reputation: 2525

just set below setting in your project's Build setting

ONLY_ACTIVE_ARCH=NO

Upvotes: 1

hoya21
hoya21

Reputation: 893

Did you add arm64 to Valid Architectures of your target in build settings?

Upvotes: 0

Related Questions