gpt4 book ai didi

c# - Visual Studio 2017无法连接macOS虚拟机安装visual studio for mac和xcode

转载 作者:可可西里 更新时间:2023-11-01 03:55:34 25 4
gpt4 key购买 nike

将 visual studio 连接到我的 macOS 时出现以下错误。我正在 Win OS 上的 Visual Studio 中构建一个 iphone 应用程序。当尝试运行应用程序时,它显示此错误:

The Xcode License status couldn't be verified because the 'xcodebuild' tool has not been found on the connected MAC. Having Xcode installed and functional is necessary in order to build and run iOS apps, so please check that xcode is correctly installed and that the path specified under iOS Settings is correct.

查看错误截图:

enter image description here日志:

Xamarin.Messaging.Ssh.MessagingService|Information|0|Agent IDB 4.9.0.752 is runningSystem.Net.Mqtt.Sdk.MqttClientImpl|Information|0|Client vs6604UmerF - An application message for topic xma/agent-status was receivedXamarin.Messaging.Integration.State.ServerStateContext|Information|0|IDB 4.9.0.752 startedXamarin.Messaging.Integration.State.ServerStateContext|Information|0|Starting registered Agents: ...Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Server State transition from AgentsStartingState to AgentsStartedState on 192.168.106.128 (192.168.106.128)Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|The Agents have been started successfullyXamarin.Messaging.Integration.State.ServerStateContext|Information|0|Server State transition from AgentsStartedState to ValidatingState on 192.168.106.128 (192.168.106.128)Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Performing server validations against '192.168.106.128'...Xamarin.Messaging.Integration.State.ServerStateContext|Information|0|Validating Mac operating system version compatibility...System.Net.Mqtt.Sdk.ClientPacketListener|Information|0|Client vs6604UmerF - Dispatching SubscribeAck message to flow ClientSubscribeFlowSystem.Net.Mqtt.Sdk.ClientPacketListener|Information|0|Client vs6604UmerF - Dispatching Publish message to flow PublishReceiverFlow and topic xma/message-statusSystem.Net.Mqtt.Sdk.MqttClientImpl|Information|0|Client vs6604UmerF - An application message for topic xma/message-status was receivedSystem.Net.Mqtt.Sdk.ClientPacketListener|Information|0|Client vs6604UmerF - Dispatching Publish message to flow PublishReceiverFlow and topic vs6604UmerF/response/xma/get-env-infoSystem.Net.Mqtt.Sdk.MqttClientImpl|Information|0|Client vs6604UmerF - An application message for topic vs6604UmerF/response/xma/get-env-info was receivedXamarin.Messaging.Integration.State.ServerStateContext|Information|0|Validating Xcode license state...System.Net.Mqtt.Sdk.ClientPacketListener|Information|0|Client vs6604UmerF - Dispatching Publish message to flow PublishReceiverFlow and topic xma/message-statusSystem.Net.Mqtt.Sdk.MqttClientImpl|Information|0|Client vs6604UmerF - An application message for topic xma/message-status was receivedSystem.Net.Mqtt.Sdk.ClientPacketListener|Information|0|Client vs6604UmerF - Dispatching SubscribeAck message to flow ClientSubscribeFlowSystem.Net.Mqtt.Sdk.ClientPacketListener|Information|0|Client vs6604UmerF - Dispatching Publish message to flow PublishReceiverFlow and topic xma/message-statusSystem.Net.Mqtt.Sdk.MqttClientImpl|Information|0|Client vs6604UmerF - An application message for topic xma/message-status was receivedSystem.Net.Mqtt.Sdk.ClientPacketListener|Information|0|Client vs6604UmerF - Dispatching Publish message to flow PublishReceiverFlow and topic vs6604UmerF/response/xvs/idb/4.9.0.752/get-xcode-locationSystem.Net.Mqtt.Sdk.MqttClientImpl|Information|0|Client vs6604UmerF - An application message for topic vs6604UmerF/response/xvs/idb/4.9.0.752/get-xcode-location was receivedSystem.Net.Mqtt.Sdk.ClientPacketListener|Information|0|Client vs6604UmerF - Dispatching Publish message to flow PublishReceiverFlow and topic xma/message-statusSystem.Net.Mqtt.Sdk.MqttClientImpl|Information|0|Client vs6604UmerF - An application message for topic xma/message-status was receivedXamarin.Messaging.Ssh.SshCommandRunner|Warning|0|Failed to execute '/bin/bash -c 'find "/Applications/Xcode.app/Contents/Developer/usr/bin" -type f | grep xcodebuild'': ExitStatus = 1Xamarin.Messaging.Ssh.SshCommandRunner|Warning|0|find: /Applications/Xcode.app/Contents/Developer/usr/bin: No such file or directory

最佳答案

在我的例子中,终端命令“xcode-select -print-path”告诉我 XCode 应用程序安装在文件夹中:“/Library/Developer/CommandLineTools”,但将其添加到“Tools | Options | Xamarin | iOS 设置无效。

我终于通过添加 Xcode 路径解决了这个问题:/Applications/Xcode.app Pair to mac XCode path

关于c# - Visual Studio 2017无法连接macOS虚拟机安装visual studio for mac和xcode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49605060/

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