samir
samir

Reputation: 4551

Running an iOS application in a device with iOS 5.1.1, using Xcode 5

I am trying to install an iOS application in my iPad running in iOS 5.1.1. When i launch it with Xcode with the development profile, i am getting the following errors :

Xcode cannot install or launch applications supporting the 64-bit architecture on devices running iOS versions prior to 6.0. This configuration is supported for distribution through the iOS App Store, but cannot be used during development with Xcode. To continue, edit the Run scheme action and select a build configuration that does not include the 64-bit architecture.

I have tried to change the building architecture by removing the arm64 but i have the same error.

I have tried to install it with testflight by building an ipa with an adhoc provision profile but the same error repeats.

How i can test my application in real device running iOS 5.1.1, building with Xcode 5

Valid architectures

Upvotes: 6

Views: 3163

Answers (2)

arlomedia
arlomedia

Reputation: 9051

Changing the Build Active Architecture Only to Yes for the Debug scheme fixed this for me. This is shown in the screen shot of the accepted answer and it's possible that is the real solution, rather than what the accepted answer describes.

Upvotes: 1

malex
malex

Reputation: 10096

You need to make a test target that has no arm64 within valid architectures.

See screenshot, check that you don't have arm64.

enter image description here

Upvotes: 6

Related Questions