[iOS Error] Terminating app due to uncaught exception 'NSInternalInconsistencyException'
문제 카메라 기능 작업중, 사용자가 카메라 접근권한을 허용하지 않을시 alert창을 띄워져야하는데 콘솔에 아래와 같은 에러가 뜨면서 앱이 꺼져버렸다. *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.' 에러내용을 보면 layout 엔진은 main thread에서 접근이 되었다면 background thread에서 수행되어서는 안된다. 위 내용을 바탕으로 에러가 났..
iOS/Error
2021. 10. 17. 17:12
[Xcode] 앱 빌드가 느려졌을때 (app launch slow on device)
새 프로젝트를 만들면서 수많은 빌드, Run 을 하다가 보니 어느 순간 앱 시작후 Launch Screen부분에서 메인화면으로 넘어가기까지 최소 1 ~ 2분이 걸렸던 것 같다. 해결 1. Xcode 상단 메뉴바 > Product > Scheme > Edit Scheme || 단축키 ( Cmd + (Info) 탭 > (체크해제) Debug executable 3. Xcode 완전히 종료 (Cmd + Q) 후 재실행 > Clean Build (Cmd + Shift + K ) > Build ( Cmd + B )
iOS
2021. 10. 4. 23:26
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Swift final
- Swift joined
- swift function
- RIBs tutorial
- 원티드 프리온보딩
- Swift 프로그래머스
- Swift inout
- CS 네트워크
- Swift while
- 호텔리어 개발자
- Swift init
- Swift ModernRIBs
- swift property
- swift protocol
- 2023년 회고
- Swift 내림차순
- Swift joined()
- Class
- Swift RIBs
- swift 고차함수
- iOS error
- Combine: Asynchronous Programming with Swift
- Uber Architecture
- Swift Leetcode
- Swift
- Swift Error Handling
- ios
- iOS GCD
- swift reduce
- Swift 프로퍼티
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함