【发布时间】:2017-08-11 22:19:30
【问题描述】:
我想在我的 iPhone 上测试我创建的 iOS 应用。构建成功,但是当 xamarin studio 尝试通过 USB 将文件传输到我的 iPhone 时,我收到以下错误:
VerifyingApplication: 70%
PercentComplete: 40
Status: VerifyingApplication
ApplicationVerificationFailed: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.yNZx88/extracted/<APPName>.app : 0xe8008016 (The executable was signed with invalid entitlements.)
error MT1006: Could not install the application '/Users/<NAME>/Projects/<APPName>/<APPName>/bin/iPhone/Debug/device-builds/iphone8.2-10.2.1/<APPNamr>.app' on the device '<DEVICEName>': Your code signing/provisioning profiles are not correctly configured. Probably you have an entitlement not supported by your current provisioning profile, or your device is not part of the current provisioning profile. Please check the iOS Device Log for details (error: 0xe8008016).
--- inner exception
Xamarin.Installation.FailedInstallException: Your code signing/provisioning profiles are not correctly configured. Probably you have an entitlement not supported by your current provisioning profile, or your device is not part of the current provisioning profile. Please check the iOS Device Log for details (error: 0xe8008016)
[...]
Application could not be uploaded to the device.
我是 xamarin 的新手,不知道该怎么做。一个苹果开发者帐户可用,并且创建了证书和配置文件。手机被添加到设备列表中并创建了一个标识符。
谁能帮帮我?
【问题讨论】:
-
您是否将设备添加到配置文件中? (我觉得应该可以了,好久没碰了)
-
您是否按照建议检查了 iOS 设备日志?
-
@Yitschak 是的,该设备已添加到配置文件中......
-
@Jason 我在哪里可以查看设备的日志?
-
使用XCode查看日志
标签: ios iphone xamarin.ios provisioning-profile entitlements