티스토리 뷰

728x90

 오류 내용 :

Unable to boot device due to insufficient system resources. Domain: NSPOSIXErrorDomain Code: 67 Failure Reason: The current system settings are not sufficient to allow booting additional simulators: maxFiles: 12288, openFiles: 10500, enforcedFilesBuffer: 1868 Recovery Suggestion: Please see Simulator Help for information on adjusting resource limits.

 

 원인 :

시뮬레이터를 실행할 때 활성 프로세스의 최대 값 또는 열린 파일의 최대 수를 초과해서 

 해결 방법 :

1. sudo launchctl limit 입력 

2. sudo launchctl limit maxproc 2000 2500 입력

3. sudo launchctl limit maxfiles 2000 unlimited 입력

4. exit 입력 또는 sudo launchctl limit 재입력 

 

 

 

 

 

 

 

 

 

참고 : https://mminky.tistory.com/56