找不到Xamarin Xcode

zu0ti5jz  于 2022-12-16  发布在  其他
关注(0)|答案(1)|浏览(140)

我刚刚更新了我的MacOS到12.4,并安装了Xcode 13.1,但当我尝试使用VS2022从我的PC连接时,我什么都没有得到。在Xamarin输出窗口中,我得到了这个消息Xcode找不到,所以我不知道我需要做什么才能让它运行?

Broker 17.2.0.175 started successfully
Successfully connected to Local Broker
Starting IDB Local Agent...
Checking IDB.Local 17.2.0.175 installation...
Starting IDB.Local 17.2.0.175 in port 51028...
IDB.Local 17.2.0.175 started successfully
Successfully started IDB Local Agent
iTunes has not been found. Please ensure to have a valid iTunes installation in order to communicate with Apple devices in Windows
Checking host configuration for connecting to 'User Support - MacBook Pro'...
Checking SSH configuration...
Current SSH Key File: C:\Users\mcdevitt\AppData\Local\Xamarin\MonoTouch\id_rsa.pub
Initializing environment...
Checking available disk space...
Checking Mono installation...
Checking Xamarin iOS installation...
Checking host configuration for connecting to 'User Support - MacBook Pro'...
Host 'User Support - MacBook Pro' is configured correctly
Starting connection to 'User Support - MacBook Pro'...
Checking Broker 17.2.0.175 installation...
Installing Broker 17.2.0.175...
Uploading Broker.zip (160/1533 KB) 10%...
Uploading Broker.zip (320/1533 KB) 20%...
Uploading Broker.zip (464/1533 KB) 30%...
Uploading Broker.zip (624/1533 KB) 40%...
Uploading Broker.zip (768/1533 KB) 50%...
Uploading Broker.zip (928/1533 KB) 60%...
Uploading Broker.zip (1088/1533 KB) 70%...
Uploading Broker.zip (1232/1533 KB) 80%...
Uploading Broker.zip (1392/1533 KB) 90%...
Uploaded Broker.zip 100%
Starting Broker 17.2.0.175 in port 59780...
Broker 17.2.0.175 started successfully
Starting connection to 'User Support - MacBook Pro'...
SSH connection to 'User Support - MacBook Pro' has been established...
Starting registered Agents: IDB 17.2.0.175...
Starting IDB 17.2.0.175...
Checking IDB 17.2.0.175 installation...
Installing IDB 17.2.0.175...
Uploading IDB.zip (1552/15404 KB) 10%...
Uploading IDB.zip (3088/15404 KB) 20%...
Uploading IDB.zip (4624/15404 KB) 30%...
Uploading IDB.zip (6176/15404 KB) 40%...
Uploading IDB.zip (7712/15404 KB) 50%...
Uploading IDB.zip (9248/15404 KB) 60%...
Uploading IDB.zip (10784/15404 KB) 70%...
Uploading IDB.zip (12336/15404 KB) 80%...
Uploading IDB.zip (13872/15404 KB) 90%...
Uploaded IDB.zip 100%
Starting IDB 17.2.0.175 in port 59780...
A remote error occurred in the connected Mac
Xcode couldn't be found at /Applications/Xcode.app. Please specify the right location in Visual Studio under 'Tools > Options > Xamarin > iOS Settings' or ensure that it is installed properly at the default location ('/Applications/Xcode.app')
djmepvbi

djmepvbi1#

我刚刚遇到了同样的错误--对我来说,解决办法是打开Xcode-〉Preferences,在Locations选项卡上,“Command Line Tools”字段为空。只需要点击Command Line Tools下拉菜单并选择一个Xcode版本。重新启动Visual Studio并重新连接,能够成功连接。

相关问题