NEW: Learn to build the incredible iOS 15 Weather app today! >>

App sometimes crashes on launch since Monterey

Forums > macOS

Hello, I've got a strange problem with a published app since Monterey came out that I've only noticed now. The app basically crashes right after launching but not quite all of the time, just most of the time; the icon doesn't even have time to fully appear when it does crash.

If the app hasn't been opened in a while it seems to launch correctly most of the time though. Additionally, as strange as it sounds, it is much more likely to launch correctly if you open the app from the Launchpad rather than the finder.

The error messages I get from Xcode when I launch from there is:

_TSGetMainThread_block_invoke:Main thread potentially initialized incorrectly, cf rdar://problem/67741850

Unable to load nib file: Main, exiting

Has anyone else seen anything like this? The app uses Core Data with CloudKit.

   

Hacking with Swift is sponsored by Essential Developer

SPONSORED Learn the most up-to-date techniques and strategies for testing new and legacy Swift code in this free practical course for iOS devs who want to become complete Senior iOS Developers.

Learn more

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.