XIB Storyboard 뷰 화면이 업데이트가 안될때 ("An internal error occurred. Editing functionality may be limited.") - kirseia/study GitHub Wiki

 "An internal error occurred. Editing functionality may be limited." 

갑자기 개발하다가 저게 보였는데 이걸 어떻게 해결하지 하고 몇 시간을 삽질했던 것 정리

아래는 시도 했던 방법들

  1. clean build -> fail
  2. derived directory 삭제 후 xcode 재실행 -> fail

// https://gomasatan.hatenablog.com/entry/2018/05/06/165801

에러 로그 살펴보니 simulator boot 실패였음

  1. 시뮬레이터들 삭제 후 재설치 -> fail
  2. 재부팅 -> fail

// https://stackoverflow.com/questions/52778170/xcode-10-0-simulator-unable-to-boot

에러 로그 다시 보니

Encountered an error communicating with IBAgent-iOS. (Failure reason: IBAgent-iOS failed to launch): Failed to boot device iPhone 8 (4B73F38D-855E-4944-8AE7-EF250B12A861, iOS 13.3, Shutdown) for context <IBCocoaTouchToolLaunchContext: 0x7fc1a92b7c90> toolName = IBAgent-iOS, description = <IBCocoaTouchPlatformToolDescription: 0x7fc1a8227a20> System content for IBCocoaTouchFramework-ThirteenAndLater <IBSimulatorDeviceTypeDescription: 0x7fc1a71623f0> deviceType=com.apple.CoreSimulator.SimDeviceType.iPhone-8 (Failure reason: Failed to boot iPhone 8 (4B73F38D-855E-4944-8AE7-EF250B12A861, iOS 13.3, Shutdown)): The folder “disabled.plist” doesn’t exist. (Failure reason: The folder doesn’t exist.): The operation couldn’t be completed. No such file or directory (Failure reason: No such file or directory)

“disabled.plist” doesn’t exist.

이게 눈에 띔, 이거 뭔가 해서 찾아보니 temp 파일 권한 관련 문제 인 듯

  1. /private/tmp 접근권한 수정 -> success

// https://forums.developer.apple.com/thread/66665

후기

회사 재택 근무 때문에 보안 프로그램 설치 관련해서 뭔가 권한이 바뀐게 아닌가 추측만 함. 아무튼 이렇게 삽질해서 해결까지 2시간이 걸림 -_-

아 허무하네