Xcode 9 Server: Unable to boot device due to insufficient system resources Xcode 9 Server: Unable to boot device due to insufficient system resources xcode xcode

Xcode 9 Server: Unable to boot device due to insufficient system resources


Increase the maximum number of processes until the next restart:

sudo launchctl limit maxproc 2000 2500

Increase the maximum number of open files until the next restart:

sudo launchctl limit maxfiles 2000 unlimited

For me it was the maximum number of processes that had to be increased. You might need even bigger numbers, those are just examples. Please refer to the documentation for more details.

Source: https://help.apple.com/simulator/mac/9.0/index.html#/dev8a5f2aa4e