Hello, I wrote a plugin that works fine on my M2 Mac, but installing it on my Intel Mac doesn’t work – it simply doesn’t show up.
Any clues? Thanks!
Hello, I wrote a plugin that works fine on my M2 Mac, but installing it on my Intel Mac doesn’t work – it simply doesn’t show up.
Any clues? Thanks!
I assume it is a Python plugin? Did you use the latest plugin
file that goes in the MacOS folder of the plugin?
What do you mean by “using” the latest plugin
file?
I mean the file located at
YOUR_PLUGIN_NAME.glyphsPlugin/Contents/MacOS/plugin
You did not create this file yourself and instead got it from somewhere else and are thus using it. Make sure you are using an up-to-date version of this file. Although, this should mostly help with getting the plugin to run on M1/M2, not the other way around.
Otherwise, have a look at the Console app when running Glyphs on Intel and see if there is a log message from Glyphs about your plugin.
Thanks, I’ll check that.
How did you move the plugin to the other Mac?
I have it in a Github repo.
Did you download the repo as a zip or did you check it out with git?
I cloned it with git. Is this a problem?
Cloning should be fine.
If you download it as a Zip and unpack it, macOS will put the plugin in a special mode named quarantine, making it unable to run. Double-clicking to install it in Glyphs moves it out of quarantine, but if you move the file manually into the Plugins folder, it will not be able to run.
Well, I cloned the repo, didn’t download it, but thanks for the explanation nonetheless!
Can you run Glyphs from the Terminal like this:
/Applications/Glyphs\ 3.2.app/Contents/MacOS/Glyphs\ 3
That is the easiest way to get the log output. The Console app shows too much stuff.
I get the following:
2023-07-17 22:51:39.330 Glyphs 3[53557:19351989] [AppCenter] ERROR: +[MSACDBStorage executeNonSelectionQuery:inOpenedDatabase:withValues:]_block_invoke/338 Could not execute the statement, result=5
database is locked
2023-07-17 22:51:39.331 Glyphs 3[53557:19351989] [AppCenter] ERROR: +[MSACDBStorage executeQuery:inOpenedDatabase:withValues:usingBlock:]/362 Failed to finalize SQLite statement, result=5
database is locked
2023-07-17 22:51:39.874 Glyphs 3[53557:19351979] CFSocketSetAddress bind failure: 48
2023-07-17 22:51:39.874 Glyphs 3[53557:19351979] HTTPServer error: Error Domain=HTTPServerError Code=0 "Unable to bind socket to address." UserInfo={NSLocalizedDescription=Unable to bind socket to address.}
2023-07-17 22:51:43.631 Glyphs 3[53557:19351979] Could not listen on port com.GeorgSeifert.Glyphs3
2023-07-17 22:51:43.631 Glyphs 3[53557:19351979] Could not listen on port com.GeorgSeifert.Glyphs3.3207
2023-07-17 22:51:43.838 Glyphs 3[53557:19351979] CFSocketSetAddress bind failure: 48
2023-07-17 22:51:43.938 Glyphs 3[53557:19351979] CoreText note: Client requested name ".LucidaGrandeUI", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2023-07-17 22:51:43.938 Glyphs 3[53557:19351979] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
objc[53557]: __weak variable at 0x6000022e2df0 holds 0xf2625b072df0 instead of 0x600003a12440. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug.
objc[53557]: __weak variable at 0x6000022e3730 holds 0xf2625b073730 instead of 0x600003a12440. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug.
2023-07-17 22:51:44.917 Glyphs 3[53557:19351979] CFSocketSetAddress bind failure: 48
2023-07-17 22:51:44.917 Glyphs 3[53557:19351979] HTTPServer error: Error Domain=HTTPServerError Code=0 "Unable to bind socket to address." UserInfo={NSLocalizedDescription=Unable to bind socket to address.}
2023-07-17 22:51:45.630 Glyphs 3[53557:19351979] CFSocketSetAddress bind failure: 48
2023-07-17 22:51:45.631 Glyphs 3[53557:19351979] HTTPServer error: Error Domain=HTTPServerError Code=0 "Unable to bind socket to address." UserInfo={NSLocalizedDescription=Unable to bind socket to address.}