Hi Allan,
I have reverted TextMate to defaults, and I still have the error.
The command I'm trying to execute is “Show Scope (HTML)”, which is in the Bundle Development bundle. There are two issues, but the first one I already fixed:
/Users/me/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/bin/ruby18: line 43: /Users/me/Library/Application Support/TextMate/Ruby/1.8.7/bin/ruby: Bad CPU type in executable
/Users/me/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/bin/ruby18: line 43: /Users/me/Library/Application Support/TextMate/Ruby/1.8.7/bin/ruby: Undefined error: 0
I solve this problem by downloading the source code for ruby-1.8.7-p374 and compiling locally for Apple Silicon. (I'm planning to write up a post to describe this process in case it's helpful for you to be able to distribute an ARM version with TextMate.)
/Users/me/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/osx/plist.bundle: dlopen(/Users/me/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/osx/plist.bundle, 0x0009): tried: '/Users/me/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/osx/plist.bundle' (fat file, but missing compatible architecture (have 'unknown,i386,x86_64', need 'arm64e')), '/usr/local/lib/plist.bundle' (no such file), '/usr/lib/plist.bundle' (no such file) - /Users/me/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/osx/plist.bundle (LoadError)
from /Users/me/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/textmate.rb:5
from /Users/me/Library/Application Support/TextMate/Managed/Bundles/TextMate.tmbundle/Support/lib/doctohtml.rb:4:in `require'
from /Users/me/Library/Application Support/TextMate/Managed/Bundles/TextMate.tmbundle/Support/lib/doctohtml.rb:4
from Show Scope (HTML):3:in `require'
from Show Scope (HTML):3
The relevant part is that the plist.bundle
file is “missing compatible architecture (have 'unknown,i386,x86_64', need 'arm64e')”.
That's what I was referring to in my previous post that “plist.bundle does not support arm64”.
I'm on macOS 12.2 and running TextMate 2.0.23 which “is the latest version available” according to the Check for Test Build command.
Can anyone else confirm this command works or not on Apple Silicon?
Regards,
Quinn