Open ryandesign opened 10 months ago
but then crashes with a metal shader problem
This was because default.metallib did not end up in my compiled app's Contents/Resources. After copying that from your binary, the app is working. So the question is just why the .nibs and the default.metallib didn't get built and copied into the app.
I would like to build the latest Clock Signal from source but I'm having some difficulty. Although it compiled, it quits immediately after it launches. This is in Xcode's output pane when that happens:
I'm using Xcode 13.2.1 on macOS 12.6.8.
I noticed that in my compiled app, in Contents/Resources/Base.lproj, it contains MainMenu.xib (and other .xib files), while in the working binary of 2023-09-10 you published on the GitHub releases, that directory contains MainMenu.nib (and other .nib files). If I copy all the .nib files from your binary to my compiled app, it launches ok, but then crashes with a metal shader problem:
crash log
``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: Clock Signal [75374] Path: /Users/USER/Library/Developer/Xcode/DerivedData/Clock_Signal-dxvpmuuocdkkqteflildxennfrbe/Build/Products/Debug/Clock Signal.app/Contents/MacOS/Clock Signal Identifier: TH.Clock-Signal Version: 23.09.10 (23.09.10) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2023-10-16 23:30:53.7965 -0500 OS Version: macOS 12.6.8 (21G725) Report Version: 12 Anonymous UUID: FBC688DA-CA71-E41D-0E8C-E06F8E00D142 Sleep/Wake UUID: F84B0C0F-66F3-4361-87D4-F5373E09EF33 Time Awake Since Boot: 610000 seconds Time Since Wake: 38872 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff8077f9ffe __pthread_kill + 10 1 libsystem_pthread.dylib 0x7ff8078301ff pthread_kill + 263 2 libsystem_c.dylib 0x7ff80777bd24 abort + 123 3 libsystem_c.dylib 0x7ff80777b0cb __assert_rtn + 314 4 Metal 0x11be84244 MTLReportFailure.cold.1 + 43 5 Metal 0x11be6e705 MTLReportFailure + 529 6 Metal 0x11be66e78 _MTLMessageContextEnd + 1278 7 Metal 0x11be6c3a8 validateWithDevice(id