我有一个在iOS模拟器上工作正常的Titanium移动应用程序但是当我尝试在物理设备上安装相同的应用程序时,它会在中间停止安装进度。我可以在组织者控制台中看到一些错误跟踪。这是错误跟踪
Jun 15 01:53:41 unknown misagent[147] <Error>: profile not valid: 0xe8008011
Jun 15 01:53:41 unknown lockdownd[21] <Error>: 001ff000 copy_phonenumber: CTSettingCopyMyPhoneNumber() returned NULL
Jun 15 01:53:41 unknown lockdownd[21] <Error>: 001ff000 copy_iccid: invalid ICCID from CT/no ICCID available
Jun 15 01:53:41 unknown lockdownd[21] <Error>: libMobileGestalt copyMobileEquipmentIdentifier: No MEID in CT mobile equipment info dictionary - <CFBasicHash 0xd611fe0 [0x3f209630]>{type = mutable dict, count = 3,
entries =>
2 : <CFString 0xd611f90 [0x3f209630]>{contents = "kCTMobileEquipmentInfoCurrentMobileId"} = <CFString 0xd611fc0 [0x3f209630]>{contents = "012804009362089"}
4 : <CFString 0xd612010 [0x3f209630]>{contents = "kCTMobileEquipmentInfoICCID"} = <CFString 0x3f1fd9d0 [0x3f209630]>{contents = ""}
11 : <CFString 0xd612780 [0x3f209630]>{contents = "kCTMobileEquipmentInfoIMEI"} = <CFString 0xd611fc0 [0x3f209630]>{contents = "012804009362089"}
}
Jun 15 01:53:41 unknown lockdownd[21] <Error>: 001ff000 copy_meid: MobileGestalt failed to provide an MEID but returned no error (?)
Jun 15 01:53:45 unknown ReportCrash[156] <Notice>: Formulating crash report for process installd[135]
Jun 15 01:53:45 unknown com.apple.itunesstored[133] <Notice>: receive_message: failure running async function: 1
Jun 15 01:53:45 unknown com.apple.itunesstored[133] <Notice>: call_and_response: Could not receive response from proxy
Jun 15 01:53:45 unknown com.apple.itunesstored[133] <Notice>: MobileInstallationInstall: failed with -1
Jun 15 01:53:45 unknown com.apple.launchd[1] <Warning>: (com.apple.mobile.installd) Job appears to have crashed: Segmentation fault: 11
Jun 15 01:53:45 unknown com.apple.launchd[1] <Warning>: (com.apple.mobile.installd) Throttling respawn: Will start in 2 seconds
Jun 15 01:53:45 unknown ReportCrash[156] <Error>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/installd_2012-06-15-015345_EpocDev-iPad01.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
证书和配置文件很好,因为XCode构建总是成功的。我不知道发生了什么。这是我的第四款钛金属应用。我也把它发布在钛论坛上,但是很久没有得到任何回复。我现在非常沮丧。任何帮助都非常感谢。
以下是开发环境:
申请类型:移动
Titanium SDK :1。8。3(05/29/12 16:47 427f3c5)
平台&amp;版本:iOS 5.0
设备:物理iPad设备(iOS 5.0.1(9A405))
主机操作系统:OSX 10.6.8
Titanium Studio :2.0.1
XCode :4.2
请帮助:(
答案 0 :(得分:1)
如果我没记错的话,我还有一些无法解释的麻烦,包括Xcode版本和SDK的组合。您可能想要做的是以下场景之一:
(1)使用较旧的SDK版本,例如1.7.x
(2)升级到XCode 4.3和SDK 2.x - 但请注意,这会带来一些变化!! Xcode位于不同的文件夹中(/ Applications,您现在使用App Store for Mac下载它),因此需要进行一些重新配置。不记得我必须要做什么,但至少问题可以解决。我现在正在使用Ti SDK 2.0.2GA运行Xcode 4.3,并且在2天前没有编译问题。
这对你有用吗?