英文:
Xamarin.ios not running in visual studio on mac
问题
error MT0026: 无法解析命令行参数 '-sdk':版本字符串部分太短或太长。
参数名称:input
我已安装最新的Xcode,并且看到此错误。
英文:
When trying to run the ios version of the app on the built in Generic simulator i get the following error and program stops
error MT0026: Could not parse the command line argument '-sdk': Version string portion
was too short or too long.
Parameter name: input
I have xcode latest installed and i see this error
答案1
得分: 1
请注意,尚未发布支持XCode 14.3
的版本,建议您使用Xcode 14.2
。如果您已经更新到最新的Xcode 14.3
,并希望返回到以前的版本Xcode 14.2
,您可以从下载页面在苹果开发者门户网站上下载Xcode 14.2
。
成功安装Xcode 14.2
后,您可以打开Xcode,然后转到Xcode -> Preferences -> Location -> Command Line Tools,选择XCode 14.2
。然后重新启动Visual Studio for Mac,以查看它是否正常工作。
有关更多详细信息,您可以参考Xcode 14.3 Support for Xamarin, .NET 6/7 and MAUI #17561。
英文:
Please be informed that XCode 14.3
support hasn't been released yet and it is suggested that you use Xcode 14.2
. If you have updated to the latest Xcode 14.3
and want to go back to the previous version: Xcode 14.2
,you can download Xcode 14.2
from the downloads page in the Apple Developer Portal.
After successfully installing Xcode 14.2
. You may open Xcode and go to Xcode->Preferences->Location->Command Line Tools to XCode 14.2
. And then restart the Visual Studio for mac to see it works.
For more details, you can refer to Xcode 14.3 Support for Xamarin, .NET 6/7 and MAUI #17561.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论