I have a large Desktop app that runs great in Debug and Build OK (macOS, Windows and Linux). Now that I have added a Worker to this app, it still runs great in Debug, I can even see the Worker (I know its a thread, not console in Debug) running as it should.
My problem is that when I go to Build the app (macOS, Windows or Linux), it seems to compile fine until it goes to add the Worker, then the Xojo IDE goes entirely black, freezes, doesn’t finish compiling, and needs to be force quit.
I can run the half-compiled app, but it fails as it says the Worker component is missing.
How can I build my application, or find out where the problem exists?
In which version of Xojo do you have this issue? How long did you wait? I saw a very long compilation time for workers in an early “beta” of version 2020. But till 2021 the build time is very short again.
I tried to find the cause of the failure to Build with my Worker by adding my Classes and Modules to a Console application. While most of my code was console-safe, I use GraffitiSuite and other classes that would need lots of work to make console-safe.