Closed PawelWitan closed 1 month ago
Working from Pawel's report I came up with the following series of commands that allowed me to code-sign Aperture on Big Sur. Once that was done, I was able to authorize HoudahGeo to automate Aperture.
cd /Applications/Aperture.app/Contents/Frameworks/AppKit.framework
sudo mkdir Versions/C/Resources/
cd Versions/
sudo ln -s C Current
cd ..
sudo ln -s Versions/Current/Resources Resources
sudo ln -s Versions/Current/AppKit AppKit
sudo /usr/libexec/PlistBuddy -c "Add :CFBundleExecutable string" /Applications/Aperture.app/Contents/Frameworks/AppKit.framework/Versions/C/Resources/Info.plist
sudo /usr/libexec/PlistBuddy -c "Set :CFBundleExecutable AppKit" /Applications/Aperture.app/Contents/Frameworks/AppKit.framework/Versions/C/Resources/Info.plist
codesign -vvv -fs - /Applications/Aperture.app
I did not have a problem with iLifeAssetManagement.framework. I thus omitted the step of cleaning the extended attributes.
Retroactive has been discontinued, and does not support macOS Sequoia or later. You should transition from Retroactive to a wide range of supported apps, many of which are built into macOS or free to download. Learn how to transition from Retroactive to supported apps.
"tell Aperture" in Apple Scripts was not working with Aperture after making it work via Retroactive in Catalina.
I was able to circumvent that with code singing using additional plist file made with:
/usr/libexec/PlistBuddy -c "Add :com.apple.security.automation.apple-events bool true" Entitlements.plist
Then the code signing was performed with that file:sudo codesign -fs - --entitlements Entitlements.plist /Applications/Aperture.app --deep
And now it is workingDon't know if it was a problem in my setup, but after Retroactive, Aperture was working properly, but was not signed:
Also I had to deal with two problems with codesign:
With
sudo xattr -rc /Applications/Aperture.app/Contents/Frameworks/iLifeAssetManagement.framework/
Andwith restructuring the framework directory and faking
Info.plist
Hope this helps making this great software better