简体   繁体   中英

Why doesn't my iphone install seem to finish?

I have an iPhone app that compiles and works fine in the simulator. However when I try to sideload it as an Ad Hoc application, the install seems to fail silently.

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. 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

Digging in further... by looking at the Console for my iPhone in Xcode

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.

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.

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