[SOLVED] Latest 3706 Solar2D Simulator BROKEN on my M1Pro Mac

It works fine with 3705. But on build 3706, it gives me this:

Program starting as '"/Applications/Corona-3706/Corona Simulator.app/Contents/MacOS/Corona Simulator" -no-console YES "/Volumes/2020/Dropbox/Projects/playWord/main.lua"'.
Program 'Corona Simulator' started in '/Volumes/2020/Dropbox/Projects/playWord' (pid: 43338).
2024-03-24 16:09:33.150 Corona Simulator[43338:3924238] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.

Copyright (C) 2009-2024  C o r o n a   L a b s   I n c .
	Version: 3.0.0
	Build: 2024.3706
WARNING: issue found in /Volumes/2020/Dropbox/Projects/playWord/build.settings: 
WARNING: unrecognized key: settings.osx.budleResourcesDirectory (string)
WARNING: unrecognized key: settings.osx.plist.UILaunchStoryboardName (string)
WARNING: unrecognized key: settings.iphone.plist.FirebaseAppDelegateProxyEnabled (boolean)
WARNING: deprecated key: settings.iphone.plist.UIAppFonts[] (string)
WARNING: unrecognized key: settings.orientation.content (string)
WARNING: unrecognized key: settings.window.resizeable (boolean)

Copyright (C) 2009-2024  C o r o n a   L a b s   I n c .
	Version: 3.0.0
	Build: 2024.3706
Loading project from:   /Volumes/2020/Dropbox/Projects/playWord
Project sandbox folder: ~/Library/Application Support/Corona Simulator/playWord-72F2BE3582D05D11E163CE2B50AAECC9
PANIC: fatal Lua error: attempt to index a nil value
Program completed in 0.88 seconds (pid: 43338).

For contrast, here is what the console output is with the last build 3705, which works fine…

Program starting as '"/Applications/Corona-3705/Corona Simulator.app/Contents/MacOS/Corona Simulator" -no-console YES "/Volumes/2020/Dropbox/Projects/playWord/main.lua"'.
Program 'Corona Simulator' started in '/Volumes/2020/Dropbox/Projects/playWord' (pid: 44211).
2024-03-24 16:18:42.798 Corona Simulator[44211:3934785] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
WARNING: issue found in /Volumes/2020/Dropbox/Projects/playWord/build.settings: 
WARNING: unrecognized key: settings.osx.budleResourcesDirectory (string)
WARNING: unrecognized key: settings.osx.plist.UILaunchStoryboardName (string)
WARNING: unrecognized key: settings.iphone.plist.FirebaseAppDelegateProxyEnabled (boolean)
WARNING: deprecated key: settings.iphone.plist.UIAppFonts[] (string)
WARNING: unrecognized key: settings.orientation.content (string)
WARNING: unrecognized key: settings.window.resizeable (boolean)

Copyright (C) 2009-2024  C o r o n a   L a b s   I n c .
	Version: 3.0.0
	Build: 2024.3705
Loading project from:   /Volumes/2020/Dropbox/Projects/playWord
Project sandbox folder: ~/Library/Application Support/Corona Simulator/playWord-72F2BE3582D05D11E163CE2B50AAECC9
Platform: 1290x2796 / x86_64 / 14.4.0 / Apple M1 Pro / 2.1 Metal - 88 / 2024.3705 / en-US | US | en_US | en
WARNING: disabling the idle timer can reduce battery life on the device
WARNING: The 'plugin.facebook.v4a' library is not available in the Corona Simulator

Maybe we’ll have to wait for runner to officially support macos 14 before Simulator can support macos 14 and Xcode 15.3 packaging.
You can follow Apple: Xcode 15.3 · Issue #684 · coronalabs/corona · GitHub.
Thank you.

I’m not sure I understand what ‘runner’ has to do with it. The previous version build 3705 of Solar2D works fine. What’s different about 3706?

There should be no difference between the Apple part of the 3705 and 3706 other than the image runner (that is, the compilation environment, see 3705 build log and 3706 build log) in which it is built.
I didn’t reproduce, I can only say maybe, if you are experiencing issues with macOS 14.4 or Xcode 15.3, I think you should wait for the above issues to be resolved.

I’m sorry I couldn’t help. There are many reasons for PANIC at build time, I’m just saying my guess.

I think providing demo or build.settings will help Solar2D solve the problem faster, thanks.

1 Like

I’ve seen this occur with builds other than 3706, and I think it’s intermittent. I couldn’t isolate the behaviour that triggered it. It might be to do with something in the sandbox - try clearing it out or moving to a new folder and starting the project again.

2 Likes

Hi clang, thank you for trying to help me. I read the ‘runner’ info but, perhaps I’m not technical enough, seems it would be something Vlad would work on if that’s the issue. I’m not using Native Solar2D. Again, thank you :slight_smile:

@solares you’re a genius. That worked! :slight_smile: I cleared the Project Sandbox and the problem disappeared :slight_smile:

3 Likes