为什么 xamarin 突然不让我部署到 iOS 设备 [英] why does xamarin suddenly not let me deploy to iOS devices

查看:31
本文介绍了为什么 xamarin 突然不让我部署到 iOS 设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我收到来自 xcode 的同意新条款和条件的消息后,今天才开始发生这种情况.

This just started happening today after I got a message from xcode to agree to new t&c's.

我无法在设备上和我的任何计算机上放置任何东西.

I can't put anything on the device, on any of my computers.

不适用于我的 macbook,不适用于我的 mac mini,不适用于直到昨天都运行良好的现有项目,甚至不适用于全新的项目.我不断收到消息:

Doesn't work on my macbook, doesn't work on my mac mini, doens't work with existing projects that worked fine until yesterday, doesn't even work with completely new projects. I constantly get the message:

writeDictToFile:1241 打开失败/Users/georgecook/Desktop/test/iOS/obj/iPhone/Debug/mtouch-cache/install-shadow-directory/339bee33bc83c8e05fbd004dcc732c0b/20715d40747e047ba8a4ce4c1d2672efCachep90: 没有这样的文件或目录 MDMCacheDirectoryManifest:1315writeDictToFile 无法写入/Users/georgecook/Desktop/test/iOS/obj/iPhone/Debug/mtouch-cache/install-shadow-directory/339bee33bc83c8e05fbd004dcc732c0b/20715d40747e047ba8a4ce4c1d2672efCachep90: No such file or directory 错误 MT1006: 无法安装应用'/Users/georgecook/Desktop/test/iOS/bin/iPhone/Debug/test.iOS.app'设备 Gandalf the white:你的应用程序代码签名失败检查.检查您的证书、配置文件和捆绑包身份证.可能您的设备不是所选配置的一部分配置文件(错误:0xe8008015).

writeDictToFile:1241 open failed for /Users/georgecook/Desktop/test/iOS/obj/iPhone/Debug/mtouch-cache/install-shadow-directory/339bee33bc83c8e05fbd004dcc732c0b/20715d40747e047ba8a4ce4c1d2672ef90161df5/ManifestCache.plist : No such file or directory MDMCacheDirectoryManifest:1315 writeDictToFile failed to write to /Users/georgecook/Desktop/test/iOS/obj/iPhone/Debug/mtouch-cache/install-shadow-directory/339bee33bc83c8e05fbd004dcc732c0b/20715d40747e047ba8a4ce4c1d2672ef90161df5/ManifestCache.plist : No such file or directory error MT1006: Could not install the application '/Users/georgecook/Desktop/test/iOS/bin/iPhone/Debug/test.iOS.app' on the device Gandalf the white: Your application failed code-signing checks. Check your certificates, provisioning profiles, and bundle ids. Probably your device is not part of the selected provisioning profile (error: 0xe8008015).

不知道为什么会突然发生 - 这真的不好 - 如何解决这个问题?

No idea why this is suddenly happening - this is really not good - how to resolve this?

推荐答案

我最近也被这个问题绊倒了.

I tripped over this one recently too.

关键是消息的这一部分:

The key is this part of the message:

您的应用程序未通过代码签名检查.检查您的证书、配置文件和捆绑包 ID.可能您的设备不是所选配置文件的一部分

Your application failed code-signing checks. Check your certificates, provisioning profiles, and bundle ids. Probably your device is not part of the selected provisioning profile

很可能,您的配置文件已过期.解决这个问题的最简单方法是启动 Xcode,创建一个空项目,然后点击运行.这将查看一系列对话框,让您修复您的配置文件,直到它部署.发生这种情况后,您可以切换回 Visual Studio/Xamarin Studio 并进行部署.

Likely, your provisioning profile has expired. The easiest way to solve this is to launch Xcode, create an empty project, and hit Run. This will go over a series of dialog boxes offering you to fix your provisioning profile until it deploys. Once this happens, you can switch back to Visual Studio/Xamarin Studio and deploy.

这篇关于为什么 xamarin 突然不让我部署到 iOS 设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆