【发布时间】:2018-05-01 20:02:42
【问题描述】:
使用 Xcode 和 Visual Studio for Mac:
- 在 Xcode 中,我可以在我配置的 iPad 上制作、部署和运行开箱即用的 HelloWorld 应用程序。
- 同样在 Xcode 中,我可以将 iCloud 添加到同一个应用程序(通过权利),它可以在我的 iPad 上部署和运行。
- 在 VS for Mac 中,我可以制作和部署一个空白的 Xamarin Forms HelloWorld 应用程序,它可以在我的 iPad 上运行。
- 但是,如果我将 iCloud 添加到 Xamarin 表单应用程序的 entitlements.plist,它将不会部署到我的 iPad。
#4 我得到以下信息:
ApplicationVerificationFailed:无法验证 /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.tlZMLz/extracted/HelloWorldV.iOS.app 的代码签名:0xe8008016(可执行文件已签名具有无效的权利。) 错误 MT1006:无法在设备“Denny 的 iPad”上安装应用程序“/Users/Huber/Projects/HelloWorldV/iOS/bin/iPhone/Debug/device-builds/ipad5.3-11.1.1/HelloWorldV.iOS.app” ':您的代码签名/配置文件配置不正确。可能您的当前配置文件不支持您的权利,或者您的设备不是当前配置文件的一部分。详情请查看 iOS 设备日志(错误:0xe8008016)。
应用程序无法上传到设备。
Xamarin 生成的 entitlements.plist 文件是:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.com.DennyHuber.HelloWorldV</string>
</array>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
<key>com.apple.developer.icloud-services</key>
<array>
<string>CloudDocuments</string>
</array>
</dict>
</plist>
我已经检查了键值存储和 iCloud 文档。
谁能帮忙?
谢谢, 丹尼·胡贝尔
【问题讨论】:
标签: visual-studio xamarin