Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

ios

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

like image 465
samir Avatar asked Mar 17 '14 14:03

samir


1 Answers

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

like image 171
malex Avatar answered Nov 12 '22 10:11

malex