Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.05 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.05 KB

国密智能密码钥匙工具

依赖

打包 dmg

利用系统工具打包出包含所有依赖库的 dmg 程序。

macdeployqt skftool.app -dmg -verbose=3

若发生运行时找不到动态库的错误,查看 skftool 依赖库并确认 LC_RPATH 路径。

otool -L skftool.app/Contents/MacOS/skftool
otool -l skftool.app/Contents/MacOS/skftool | grep LC_RPATH -A2

再手动更改到正确的路径下,重新打包。

cd skftool.app/Contents/MacOS
install_name_tool -change libgm3000.1.0.dylib @executable_path/../Frameworks/libgm3000.1.0.dylib  skftool

个人测试使用

image image image