简体   繁体   English

模拟器无法升级xcode 10?

[英]Simulator is not working with upgrading xcode 10?

After updating the Xcode 9.4.1 to Xcode 10, no one simulator is working to build the iOS application. 在将Xcode 9.4.1更新为Xcode 10后,没有一个模拟器正在构建iOS应用程序。 My iOS Application was building and running perfectly on Xcode 9.4.1 我的iOS应用程序在Xcode 9.4.1上构建并运行完美

I have multiple warnings like this: 我有多个这样的警告:

warning: The iOS Simulator deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.0. 警告:iOS Simulator部署目标设置为7.0,但此平台支持的部署目标版本范围为8.0到12.0。

ScreenShot for Xcode10 error : ScreenShot for Xcode10错误:

在此输入图像描述

And showing Multiple command produced in logs. 并显示日志中生成的多个命令。

I have tried following approaches : 我尝试了以下方法:

  • Delete derived data 删除派生数据

  • Restart xcode 重启xcode

  • Create simulator manually from Xcode>Device/Simulator 从Xcode> Device / Simulator手动创建模拟器

Not one works for me. 没有人适合我。 Please guide me. 请指导我。

The simple way is to come back to the legacy build system, it seems to be a problem of the new build system. 简单的方法是回到遗留构建系统,这似乎是新构建系统的问题。

Open XCode, then click on File -> Project Settings. 打开XCode,然后单击文件 - >项目设置。

Into the Shared Project Settings choose Legacy build system to the build system. 进入Shared Project Settings选择Legacy build system到构建系统。

在此输入图像描述

在xcode 10中:文件 - > workspaceSetting - > build System

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

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