Skip to content

zhxiaogg/dylib-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dylib-pack

A MacOS/iOS app dev tool that collects *.dylib deps(recursively) and pack them into installer.

caution

Use it for caution.

usage

Given a xcode MacOS app build artifact MyDemoApp.app. It may relies on some .dylibs which some of themself may also relies on another set of .dylibs.

Say we want to collect all the .dylibs transcendently into the result MyDemoApp.app, eg. /tmp/MyDemoApp.app/Contents/libs. The following command will help us do it:

dylib-pack /tmp/MyDemoApp.app/Contents/MacOS/MyDemoApp \
  /tmp/MyDemoApp.app/Contents/libs \
  @executable_path/../libs/

build

since dylib-pack is written using rust, you can build it with following command and find it in ~/.cargo/bin directory.

cargo build --release

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages