Search code examples
iosxcodexcode10

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. 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 :

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

Not one works for me. Please guide me.


Solution

  • 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.

    enter image description here