![已解决】Xcode9编译项目出错:Terminating app due to uncaught exception NSInternalInconsistencyException reason Only run on the main thread – 在路上 已解决】Xcode9编译项目出错:Terminating app due to uncaught exception NSInternalInconsistencyException reason Only run on the main thread – 在路上](https://www.crifan.com/files/pic/uploads/2018/07/e718a8e2da0a8551c63e19a62f36baa4.png)
已解决】Xcode9编译项目出错:Terminating app due to uncaught exception NSInternalInconsistencyException reason Only run on the main thread – 在路上
![runtime: UI API called from background thread: -[UIApplication applicationState] must be used from main thread only - Stack Overflow runtime: UI API called from background thread: -[UIApplication applicationState] must be used from main thread only - Stack Overflow](https://i.stack.imgur.com/fB8FR.png)
runtime: UI API called from background thread: -[UIApplication applicationState] must be used from main thread only - Stack Overflow
![iOS] main thread problem: Remind Main Thread Checker: UI API called on a background thread - Programmer Sought iOS] main thread problem: Remind Main Thread Checker: UI API called on a background thread - Programmer Sought](https://www.programmersought.com/thumbs/650/429f2f2297fe769bcb175385b4571f6a.png)
iOS] main thread problem: Remind Main Thread Checker: UI API called on a background thread - Programmer Sought
![🍏 Thread 8: -[UIImagePickerController init] must be used from main thread only · Issue #1301 · react-native-image-picker/react-native-image-picker · GitHub 🍏 Thread 8: -[UIImagePickerController init] must be used from main thread only · Issue #1301 · react-native-image-picker/react-native-image-picker · GitHub](https://user-images.githubusercontent.com/20848327/75134724-6c20b500-56df-11ea-8c91-e83f3198ff91.png)
🍏 Thread 8: -[UIImagePickerController init] must be used from main thread only · Issue #1301 · react-native-image-picker/react-native-image-picker · GitHub
![Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] - Stack Overflow Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] - Stack Overflow](https://i.stack.imgur.com/lazOo.png)
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] - Stack Overflow
![Xcode 9 的Main Thread Checker. 開發iOS App 時,有些事情,我們一定得在main thread… | by 彼得潘的iOS App Neverland | 彼得潘的Swift iOS App 開發問題解答集 Xcode 9 的Main Thread Checker. 開發iOS App 時,有些事情,我們一定得在main thread… | by 彼得潘的iOS App Neverland | 彼得潘的Swift iOS App 開發問題解答集](https://miro.medium.com/max/3544/1*YGRpSH_CvFTsklBUvxgOtg.jpeg)
Xcode 9 的Main Thread Checker. 開發iOS App 時,有些事情,我們一定得在main thread… | by 彼得潘的iOS App Neverland | 彼得潘的Swift iOS App 開發問題解答集
![Rendering a card on a background thread triggers the Main Thread Checker · Issue #2181 · microsoft/AdaptiveCards · GitHub Rendering a card on a background thread triggers the Main Thread Checker · Issue #2181 · microsoft/AdaptiveCards · GitHub](https://user-images.githubusercontent.com/13140302/48740410-61968680-ec25-11e8-8d55-443841c2f7b9.png)
Rendering a card on a background thread triggers the Main Thread Checker · Issue #2181 · microsoft/AdaptiveCards · GitHub
![已解决】Xcode9编译项目出错:Terminating app due to uncaught exception NSInternalInconsistencyException reason Only run on the main thread – 在路上 已解决】Xcode9编译项目出错:Terminating app due to uncaught exception NSInternalInconsistencyException reason Only run on the main thread – 在路上](https://www.crifan.com/files/pic/uploads/2018/07/ce5bcaf9782cdd3f5162e281835e8e14.png)
已解决】Xcode9编译项目出错:Terminating app due to uncaught exception NSInternalInconsistencyException reason Only run on the main thread – 在路上
![Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] - Stack Overflow Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] - Stack Overflow](https://i.stack.imgur.com/veO49.png)
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] - Stack Overflow
![Cocoa Fundamentals Guide by 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 - issuu Cocoa Fundamentals Guide by 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 - issuu](https://image.isu.pub/090527150320-2fd242764aed4a7fb85f85d82044b837/jpg/page_1.jpg)