Skip to content

Instantly share code, notes, and snippets.

@SC-One
Last active July 9, 2024 12:57
Show Gist options
  • Save SC-One/5c485412a0238b93072414f3e26f822d to your computer and use it in GitHub Desktop.
Save SC-One/5c485412a0238b93072414f3e26f822d to your computer and use it in GitHub Desktop.
Common Terminal Utilities

common utilities for terminal deploy and develope applications


  • finding files that is depend on LibraryA in mac in otool (recursive in a rootFolder)

    find rootFolder -type f -perm +111 -exec sh -c 'otool -L "$1" | grep -q LibraryA && echo "$1"' _ {} \;

  • signing an application (completely) after releasing

    codesign --deep --force --verify --verbose --sign "Developer ID Application: Fname LName (KeyChainID)" application.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment