该应用程序是为 armv7 架构构建的。我仔细检查了二进制标头,它包含 12 个 CPU 类型和 9 个 CPU 子类型。
该应用程序在 iPhone 5 上运行良好,但在 iPhone 4S 或 iPad Mini 上失败。两者都安装了 iOS 7.0.3。Xcode 5.0 版。plist 中没有特定的处理器要求。
请参阅下面的设备控制台日志。有任何想法吗?
Nov 14 13:09:42 iPhone-4S installd[62] <Error>: 0x25d000 file_matches_my_arch: Can't map input file: /var/tmp/install_staging.7IZ38C/xxxx.app/xxxx
Nov 14 13:09:42 iPhone-4S installd[62] <Error>: 0x25d000 do_preflight_verification: Incorrect architecture at /var/tmp/install_staging.7IZ38C/xxxx.app
Nov 14 13:09:42 iPhone-4S mobile_installation_proxy[138] <Error>: 0x181000 MobileInstallationInstallForLaunchServices: failed with -1
Nov 14 13:09:42 iPhone-4S installd[62] <Error>: 0x25d000 install_application: Could not preflight application install
Nov 14 13:09:42 iPhone-4S mobile_installation_proxy[138] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Nov 14 13:09:42 iPhone-4S mobile_installation_proxy[138] <Error>: 0x181000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 "The operation couldn’t be completed. (LaunchServicesError error 0.)" UserInfo=0x15d3fc90 {Error=IncorrectArchitecture}
Nov 14 13:09:42 iPhone-4S installd[62] <Error>: 0x25d000 handle_install_for_ls: API failed