Hi,
I am having trouble to properly codesign Kivy application on Mac. I built my application using buildozer, which uses Kivy. It doesn't use GStreamer or other additional SDL2 dependencies, so I removed those from the Kivy.app for buildozer. The application built fine and produces the .dmg correctly. Then I have to mount and copy out the .app and sign it using the following command:
$ codesign -s "<my certificate>" /path/to/
my.appHowever when I verify the resulting application it shows the following message (command included):
$ codesign --verify -vvvv -R='anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.1] exists and (certificate leaf[field.1.2.840.113635.100.6.1.2] exists or certificate leaf[field.1.2.840.113635.100.6.1.4] exists)'
critter.app--prepared:/Users/xiyueden/Projects/critter/Source/bin/
critter.app/Contents/Frameworks/SDL2.framework/Versions/Current/.
--validated:/Users/xiyueden/Projects/critter/Source/bin/
critter.app/Contents/Frameworks/SDL2.framework/Versions/Current/.
critter.app: valid on disk
critter.app: satisfies its Designated Requirement
test-requirement: code failed to satisfy specified code requirement(s)
spctl also reports similar issue:
$ spctl -a -vvvv
critter.appcritter.app: a sealed resource is missing or invalid
Before signing the .app, running it will prompt that the app is from an unidentified developer and fails to run by default. After signing it will report that this .app is broken and suggest to move it to trash.
I'm not sure what can be wrong here. Anyone with experience on Mac can shed some lights on me? If you need more information let me know.
Thank you.