When I generate Xcode for my very simple first Lua program, I get the error
UI API called from background thread.
Not a real expert on Xcode (nor Lua btw). Is there a tutorial on how to avoid this error?
Thank you for any help.
When I generate Xcode for my very simple first Lua program, I get the error
UI API called from background thread.
Not a real expert on Xcode (nor Lua btw). Is there a tutorial on how to avoid this error?
Thank you for any help.
It was my mistake. I had the line:
displayMode(FULLSCREEN_NO_BUTTONS)
outside of the setup() function. Which works fine in Codea but the export to Xcode gave that error at compilation. Now it is in and all works great.
@Jose I think there may be some other places where we have that issue in the Codea runtime. It doesn’t stop your app from working, but Xcode may invoke the debugger when running in debug mode or print out a warning