简体   繁体   English

为什么我的iPhone安装似乎没有完成?

[英]Why doesn't my iphone install seem to finish?

I have an iPhone app that compiles and works fine in the simulator. 我有一个iPhone应用程序,可以在模拟器中编译并正常工作。 However when I try to sideload it as an Ad Hoc application, the install seems to fail silently. 但是,当我尝试将其作为Ad Hoc应用程序侧载时,安装似乎无提示地失败。

Initially when it's trying to sync to the phone, it gets the grey icon (as expected), and I get a install sweep / radar over lay on it. 最初,当它尝试与手机同步时,它会显示灰色图标(如预期的那样),然后我得到一个安装扫描/雷达,覆盖在它上面。

It gets to about 80% (10 o'clock) and then disappears. 到达约80%(10点),然后消失。 The icon remains grey and the title says "Waiting". 图标保持灰色,标题显示“正在等待”。 If I later try to run the application the title changes to "Installing..." 如果以后尝试运行该应用程序,则标题将更改为“正在安装...”

iOS: 8.4 Xcode: 6.4 Embarcadero/FireMonkey: XE8 iOS:8.4 Xcode:6.4 Embarcadero / FireMonkey:XE8

Digging in further... by looking at the Console for my iPhone in Xcode 通过在Xcode中查看我的iPhone的控制台来进一步挖掘...

Window -> Devices -> (phone) -> little triangle button on the bottom left of the Device Information panel. 窗口->设备->(电话)->设备信息面板左下角的小三角按钮。

The listed error has now scrolled past the end of the buffer so I can't post an example; 列出的错误现在已经滚动到缓冲区的末尾,因此我无法发布示例。 but as I recall it was this one that clued me in to what happened: 但我记得那是这一个是避让我发生了什么事:

profile not valid: <hex_identifier>

I was able to determine that it was indeed the provisioning profile that was the problem. 我能够确定确实是问题所在。

Back in the Embarcadero/FireMonkey side of the equation, the Mobile Provision and Developer Certificate settings were missing/reverted to defaults. 回到等式的Embarcadero / FireMonkey一侧,“移动设备供应”和“开发人员证书”设置丢失/恢复为默认设置。

Project -> Options -> Provisioning 项目->选项->设置

Near as I can tell, because I have a couple different sets of certificates on my Mac, the ones that are set as the default are broken/missing devices and I needed to explicitly specify the good one. 据我所知,由于我的Mac上有几套不同的证书,因此设置为默认证书的证书是损坏/丢失的设备,我需要明确指定好证书。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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