简体   繁体   中英

How to get logs on why an IPA won't install on an iPad/iPhone

A Xamarin Forms app for iOS built using VS 2k19, with apparently everything (certs, app-ids, provisioning profile) done by the book will not install on the corresponding iPhone and iPad.

There is just a darkened icon, and a message ".... app cannot install. Please try again later." or something to that effect.

This previously worked with a wildcard profile, but I had to change this to a specific profile for App Domain Associations entitlement. I do believe I have the bundle id and everything correct. Still, despite various attempts , the app will not install.

I don't have the devices so I have to do this in a convoluted effort of trial and error. Is there some way of asking the testers to get some detailed logs on why iTunes will not install the app, or the app cannot launch?

添加您的设备UDID并通过选择所有设备再次生成配置文件。

To get logs I installed iTools and used the Console Logs feature while the install was happening. This is because my device was only being used to install the ipa, while builds were using macincloud.

The actual issue was interesting. In the entitlement.plist I had app domain association and push notifications set. The same in app Dev center. However, if the app Dev center does not have push entitlement fully configured, with push cert, the entitlement is ignored and the lists fail to match. Removing push temporarily fixed the install. The error manifests in install logs as a signing verification failure.

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