After updating XCode to version 9.2 I get error messages while compiling PureBasic programs:
"nextEventMatchingMask should only be called from the Main Thread!" for example in a line with ResizeGadget()...
What is going on?
After update XCode: "nextEventMatchingMask should only..."
Re: After update XCode: "nextEventMatchingMask should only..
I thing you must update your PB-Version
Please specify the MacOS and PB version
Link: viewtopic.php?f=28&t=66778&hilit=nextEventMatchingMask
Link 2: viewtopic.php?f=12&t=47588&hilit=nextEv ... 05#p496485
Please specify the MacOS and PB version
Link: viewtopic.php?f=28&t=66778&hilit=nextEventMatchingMask
Link 2: viewtopic.php?f=12&t=47588&hilit=nextEv ... 05#p496485
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: After update XCode: "nextEventMatchingMask should only..
I use the current version.
PureBasic 5.70 LTS (MacOS X - x64)
macOS Sierra 10.12.6
XCode 9.2
(XCode 9.3 requires macOS 10.13.x)
PureBasic 5.70 LTS (MacOS X - x64)
macOS Sierra 10.12.6
XCode 9.2
(XCode 9.3 requires macOS 10.13.x)
Re: After update XCode: "nextEventMatchingMask should only..
All codes the same fault?
Have you an example code.
I am working with Mojave and my virtual machine with High Sierra is at time not ready.
Have you an example code.
I am working with Mojave and my virtual machine with High Sierra is at time not ready.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: After update XCode: "nextEventMatchingMask should only..
If you can post a small code demonstrating the issue, it could help. Do you use WaitWindowEvent() in a thread ?
Re: After update XCode: "nextEventMatchingMask should only..
I think I have it. I had some ResizeGadget() commands inside a thread. It seems that causes that error messages... no problem for the old XCode, but for the new
Re: After update XCode: "nextEventMatchingMask should only..
Always change gadgets from MainScrope... Never from threads.
Your this i have the module ThreadToGUI. Show signature...
Your this i have the module ThreadToGUI. Show signature...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive