Simulator is not working with upgrading xcode 10?

纵饮孤独 提交于 2019-12-08 18:36:21

问题


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

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.

ScreenShot for Xcode10 error :

And showing Multiple command produced in logs.

I have tried following approaches :

  • Delete derived data

  • Restart xcode

  • Create simulator manually from Xcode>Device/Simulator

Not one works for me. Please guide me.


回答1:


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.

Into the Shared Project Settings choose Legacy build system to the build system.




回答2:


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



来源:https://stackoverflow.com/questions/52551706/simulator-is-not-working-with-upgrading-xcode-10

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!