简体   繁体   中英

Architecture compatibility issue: app made compatible with 64-bit stops working on iOS 6

Our app was recently upgraded to be compatible with 64-bit architectures (which required, besides changing Build Settings, upgrading several third-party libraries). However, it stopped working iOS 6 and I'm wondering if during the upgrade we unknowingly ditched the 32-bit compatibility.

I use Objective-C on Xcode 6.3 with the following Architecture Settings: 当前架构设置

The app now runs on iOS 7+ without a problem but not on iOS 6 (device or Simulator).

I'd appreciate your advice on where else to look to resolve this. I think (and hoping) it is probably a matter of a setting in Build Settings.

Thanks!

Edit:

I am using OSX 10.10.3.

When I run the app in Xcode (either 6.3 or 5.1.1) it says "iOS Simulator failed to install the application" immediately after Build is successful.

On iOS 6 device, the app crashes immediately and this is the message that shows on the screen:

Jul 18 12:07:57 UserX-iPhone com.apple.launchd
(UIKitApplication:com.theCompany.APPname[0x196d][1687]) <Notice>:
(UIKitApplication:com.theCompany.Appname[0x196d]) Job failed to exec(3)

for weird reason: 13

I hope this helps.

Edit 2:

Please see following screenshot from Xcode Device Console Log. Testing took place on iPhone 3, iOS 6.1.6.

在此处输入图片说明

my iOS simulator 6 behaves the same way as yours, but it happens, because OSX 10.10 does not support iOS 6, even if you add simulator manually. However, I am able to test apps on device with iOS 6. Your problem seems to be about rights. Try to restart machine and device and then try again. But do not try to run iOS 6 simulator on that machine, may be broken simulator causes the issue with device.

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