我想在我的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的新手,不知道该怎么做。已经有了Apple开发者账号,并创建了证书和配置文件。手机已经添加到设备列表中,也创建了一个标识符。
有人能帮助我吗?