Unable to boot device due to insufficient system resources

iOS模拟器当启动的模拟器数量过多时,会提示:

该问题是模拟器的内存超出最大限额,可以通过修改内存大小来启动更多的模拟器

sudo launchctl limit maxfiles 2000 unlimited
https://help.apple.com/simulator/mac/9.0/index.html#/dev8a5f2aa4e