简体   繁体   中英

Testing app on iPad 1 (iOS 5.1.1) using Xcode 6.2

When I launch my app using Xcode 6.2 on an iPad 1 running iOS 5.1.1, I get the following error:

不支持的运行配置:Xcode无法在运行6.0之前的iOS版本的设备上安装或启动支持64位体系结构的应用程序

I couldn't find any documentation on how to exclude this architecture. Any ideas? My app's deployment target is set to 5.1.1.

The problem was in arm64 architecture in VALID_ARCHS.

Removing arm64 from VALID_ARCHS solves the issue. In my case I had to create a separate branch for testing on iOS 5 devices.

在此处输入图片说明

then try to run app.

Set this Setting your Xcode

  1. ARCHS = armv7 armv7s
  2. VALID_ARCHS = armv7 armv7s arm64
  3. In this case, binary will be built for armv7 armv7s arm64 architectures. But the same binary will run on ONLY ARCHS = armv7 armv7s .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM