Error when launching IDLDE on MacOS: Display must be created on main thread due to Cocoa restrictions
IDLDE on MacOS fails to launch with the following error message appearing:
***WARNING: Display must be created on main thread due to Cocoa restrictions. Use vmarg -XstartOnFirstThread
This error is caused by a corruption to your IDL Workspace. The corruption may be related to mixing and matching IDL versions or could stem from an improper closure of IDL (crash or otherwise).
The fix for this error is to refresh your IDL Workspace. This can be done by renaming this folder, which is the default IDL Workspace on MacOS: /Users/YourUsername/IDLWorkspace. Upon renaming that folder, a fresh and uncorrupted IDL Workspace will be generated the next time you launch IDLDE and it should load properly. You may then need to import any user files from your old workspace to the new one (if applicable).
Created by BC-NA (4/12/22), Reviewed by XX (4/5/22)