简体   繁体   English

Xcode更新后iOS模拟器未启动

[英]iOS Simulator not launching after xcode update

Hi my IOS simulator was working fine with Visual Studio 2017 until recent XCode update and License agreement. 嗨,我的IOS模拟器在Visual Studio 2017上运行良好,直到最近更新XCode和达成许可协议为止。 I started to run my xamarin app from Visual studio 2017, it showed me error - "xcode license must be accepted in order to be connected". 我从Visual Studio 2017开始运行我的xamarin应用程序,它向我显示错误-“必须接受xcode许可证才能进行连接”。 I started my xcode and accepted my licence. 我启动了xcode并接受了我的许可证。 iOS simulator 10.3 version got updated to iOS 11. When i try to run my application, IOS simulator starts but doesn't launch fully. iOS模拟器10.3版本已更新至iOS11。当我尝试运行我的应用程序时,IOS模拟器已启动但无法完全启动。

I am running my app from Windows machine VS2017- connected mac server agent. 我正在从Windows机器VS2017连接的Mac服务器代理运行我的应用程序。 Do i need to do any more update? 我是否需要做更多更新?

Try this: 尝试这个:

  • Go to Xcode -> Preferences -> Location 转到Xcode->首选项->位置
  • Check if "Command Line Tool" set 检查是否设置了“命令行工具”
  • Run sudo xcodebuild -license in terminal 在终端中运行sudo xcodebuild -license
  • Follow the instructions to accept the license. 按照说明接受许可证。
  • Reopen Visual Studio and you should be able to connect to your Mac without anymore issues! 重新打开Visual Studio,您应该可以连接到Mac,而不会遇到任何问题!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM