gpt4 book ai didi

c# - 无法从 Visual Studio 连接到 Mac 上的 Xamarin

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:01:27 24 4
gpt4 key购买 nike

我在 Visual Studio 2015 和装有 OS X 10.11.4 的 MacBook Pro 上都安装了 Xamarin。问题是,当我尝试从 VS 连接到 OS X 时,它说由于某种原因它无法启动 Designer 代理。

据我从日志中看到的主要问题在于:

Xamarin.VisualStudio.IOS.MacServer Error: 0 : [2016-04-03 21:21:44.1336] An error occured starting the Designer 4.0.3.214 agent: Xamarin.Messaging.Client.AgentConsoleRunner Information: 0 : ==== :: Xamarin :: 4.0.3.214-cycle6-c6sr3+0dd817c ====
Xamarin.Messaging.Client.AgentConsoleRunner Information: 0 : Starting Designer 4.0.3.214...
Failed-Native type size mismatch between Xamarin.Mac.dll and the executing architecture. Xamarin.Mac.dll was built for 32-bit, while the current process is 64-bit.

有什么办法可以解决吗?顺便说一句,这是完整的日志 http://pastebin.com/iB6X0XWe

最佳答案

我在该日志中看到了很多问题。引起我注意的一个是它无法下载配置文件。确保 XCode 已安装(并且是最新的)并且您可以运行它。您可能还需要登录 Apple 开发门户并接受许可协议(protocol) - 如果存在未决协议(protocol),有时该门户会阻止某些操作。

此外,您在 OSX 上安装的 Xamarin 看起来可能略有不同(或者可能在不同的 channel 上):

There is a mismatch between the installed Xamarin.iOS (version 9.6.1.9) on the Mac MacBook-Pro-Andrey.local (192.168.0.3) and the local Xamarin.iOS 9.6.1.8. While this may not be an issue, it might cause unexpected behaviors. When applying updates, make sure to keep both the Mac and Windows in sync.

我会先解决这个问题,然后再做其他事情。

关于c# - 无法从 Visual Studio 连接到 Mac 上的 Xamarin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36389353/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com