ios,swift2023. 6. 22. 14:05

[ios] com.apple.main-thread 이슈해결방법

 

DispatchQueue.main.async(execute: {
     // your code
})

 

[참조] https://stackoverflow.com/questions/30855608/how-to-find-root-cause-crashed-com-apple-main-thread-in-production-app

 

How to find root cause Crashed: com.apple.main-thread in production app?

i have such a report from Crashlytics: Thread : Crashed: com.apple.main-thread 0 libobjc.A.dylib 0x000000019503fbd0 objc_msgSend + 16 1 CoreFoundation 0x0000000183...

stackoverflow.com

 

Posted by thdeodls85