Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simulator is not working with upgrading xcode 10?

Tags:

xcode

ios

xcode10

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.

like image 371
Aashish1aug Avatar asked Sep 28 '18 08:09

Aashish1aug


People also ask

How do I update iOS simulator?

If you require a different version of the iOS simulator than is provided by your Xcode installation, you can download additional simulators in Xcode. Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download.

Can we run iOS simulator without Xcode?

you can do it through XCode under XCode > Open Developer Tool > Simulator. to open it "without using xcode", see these answers. Find the . app file in Finder and drag it into your Simulator window. Wait for the app to install and launch it.

How do I change generic iOS device to simulator Xcode?

Open Xcode, Goto Preferences, Select Component. Click on Simulators of your choice then it will start the process of download & installing the simulators.

Does deeplink work in iOS simulator?

DeepLinkr comes with both a Mac and iOS app so you easily verify behavior against the iOS Simulator or your own device.


2 Answers

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

like image 93
Kerberos Avatar answered Oct 03 '22 21:10

Kerberos


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

like image 35
Ryan110 Avatar answered Oct 03 '22 23:10

Ryan110