Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/102.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios fo.plist,然后将其更改为authentications.plist 再次编译项目并对其进行测试_Ios_Iphone_Xamarin.ios_Provisioning Profile_Entitlements - Fatal编程技术网

Ios fo.plist,然后将其更改为authentications.plist 再次编译项目并对其进行测试

Ios fo.plist,然后将其更改为authentications.plist 再次编译项目并对其进行测试,ios,iphone,xamarin.ios,provisioning-profile,entitlements,Ios,Iphone,Xamarin.ios,Provisioning Profile,Entitlements,如果在添加和设置“应享权利.plist”(例如Icloud)之前,您的条款已经生效,那么: 您需要从配置中删除“authentications.plist” 项目选项>IOS捆绑签名>自定义权限(保留为空)。我在尝试注册IOS远程通知时遇到此问题。我在Xamarin.iOS项目的我的authentications.plist中设置了推送通知功能,但系统性地出现以下错误: ApplicationVerificationFailed:未能验证/private/var/installd/Library

如果在添加和设置“应享权利.plist”(例如Icloud)之前,您的条款已经生效,那么:

您需要从配置中删除“authentications.plist”


项目选项>IOS捆绑签名>自定义权限(保留为空)。

我在尝试注册IOS远程通知时遇到此问题。我在Xamarin.iOS项目的我的authentications.plist中设置了推送通知功能,但系统性地出现以下错误:

ApplicationVerificationFailed:未能验证/private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.vvvwk7/extracted/company.MyApp.Ios.app的代码签名:0xe8008016(该可执行文件使用无效权限签名)。

我的权利设置正确,但问题是我使用的是wilcard dev配置文件,它在Apple developer portal中没有推送通知功能。
我不得不改为开发资源调配配置文件,我在apple developer portal中设置了推送通知功能,这解决了我的问题。

您是否将该设备添加到资源调配配置文件中?(我认为应该这样做,我很久没有碰过它)你是否按照建议检查iOS设备日志?@Yitschak是的,设备已添加到配置文件中。@Jason我在哪里可以从设备检查日志?使用XCode查看logsNice tipps!下次我会试试的。我通过创建一个新项目并添加所有旧文件来修复它。在那之后,它工作得很好。我不知道为什么…非常感谢Pad/设备日志提示真的很有帮助:)好的,这解决了我的问题。谢谢分享。你说的“启用的服务”在哪里?我找到了编辑按钮,启用了推送通知,但应用程序仍然无法运行。我花了几个小时试图找出答案,这很有帮助。我想知道为什么当我显然从列表中选择了authorights.plist,并且文件就在那里,表明它已经被使用时,它不能作为一个值使用。我也有同样的问题,安装应用程序时出错,浪费了很多时间;这个解决方案是正确的,非常感谢!!我不明白Info.plist是怎么进来的。。。
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.