模拟器无法升级 xcode 10?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/52551706/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:49:27  来源:igfitidea点击:

Simulator is not working with upgrading xcode 10?

iosxcodexcode10

提问by Aashish1aug

After updating the Xcode 9.4.1 to Xcode 10, no one simulator is working to build the iOS application. My iOS Application was building and running perfectly on Xcode 9.4.1

将 Xcode 9.4.1 更新到 Xcode 10 后,没有一个模拟器正在构建 iOS 应用程序。我的 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 模拟器部署目标设置为 7.0,但此平台支持的部署目标版本范围为 8.0 到 12.0。

ScreenShot for Xcode10 error :

Xcode10 错误的屏幕截图:

enter image description here

在此处输入图片说明

And showing Multiple command produced in logs.

并显示日志中生成的多个命令。

I have tried following approaches :

我尝试了以下方法:

  • Delete derived data

  • Restart xcode

  • Create simulator manually from Xcode>Device/Simulator

  • 删除派生数据

  • 重启xcode

  • 从 Xcode>Device/Simulator 手动创建模拟器

Not one works for me. Please guide me.

没有一个适合我。请指导我。

回答by Kerberos

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,然后点击 File -> Project Settings。

Into the Shared Project Settingschoose Legacy build systemto the build system.

进入Shared Project Settings选择Legacy build system构建系统。

enter image description here

在此处输入图片说明

回答by Ryan110

in xcode 10 : File -> workspaceSetting -> build System

在 xcode 10 中:文件 -> 工作空间设置 -> 构建系统