after updating Xcode and swift 5, after launching the simulator on iOS 12.2 my application crash on launch. But in earlier versions of ios (like 12.0) the application works
The error you mention is very related :)
objc[39432]: Swift class extensions and categories on Swift classes are not allowed to have +load methods
I can't find the reason why it occurs, but the problem seems to be that you, or some dependency you are using is using a static load
method, which is no longer allowed.
There are a couple of things you can try
load
functionsThis thread on twitter can also be used to pinpoint where the problem might be. As it is suggested, try adding OBJC_PRINT_LOAD_METHODS=YES
when you launch the app, as this should give you some more clues.
Hope that helps.