简体   繁体   中英

codesign plugins for mac app

Following this article , I'm running codesign for all frameworks. However, I'm still getting a codesign error with plugins.

/.../Applications/MyApp.app: code object is not signed at all
In subcomponent: /.../MyApp.app/Contents/PlugIns/Flash Player.plugin
Command /usr/bin/codesign failed with exit code 1

How should I add codesign command for plugins? Tried various directories/files, but didn't work:

codesign --verbose --force --sign "$IDENTITY" "$PLUGINS_LOCATION/Flash Player.plugin"

我们必须单独对插件进行代码签名:

codesign --deep --verbose --force --sign "Developer ID Application" Plugins/Flash\ Player.plugin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM