在我收到来自 xcode 的同意新条款和条件的消息后,今天才开始发生这种情况。
我不能把任何东西放在设备上,在我的任何电脑上。
不适用于我的 macbook,不适用于我的 mac mini,不适用于直到昨天都运行良好的现有项目,甚至不适用于全新的项目。
我不断收到消息:
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).
不知道为什么会突然发生 - 这真的不好 - 如何解决这个问题?
最佳答案
我最近也被这个绊倒了。
关键是消息的这一部分:
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 并进行部署。
关于xamarin.ios - 为什么 xamarin 突然不让我部署到 iOS 设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29319401/