问题
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