模拟器无法升级 xcode 10? [英] Simulator is not working with upgrading xcode 10?

查看:36
本文介绍了模拟器无法升级 xcode 10?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将 Xcode 9.4.1 更新到 Xcode 10 后,没有一个模拟器正在构建 iOS 应用程序.我的 iOS 应用程序在 Xcode 9.4.1 上构建并完美运行

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

我有多个这样的警告:

警告:iOS 模拟器部署目标设置为 7.0,但此平台支持的部署目标版本范围为 8.0到 12.0.

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.

Xcode10 错误的屏幕截图:

ScreenShot for Xcode10 error :

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

And showing Multiple command produced in logs.

我尝试了以下方法:

  • 删除派生数据

  • Delete derived data

重启 xcode

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

Create simulator manually from 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.

打开 XCode,然后点击 File -> Project Settings.

Open XCode, then click on File -> Project Settings.

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

这篇关于模拟器无法升级 xcode 10?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆