Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting cannot load any of the following libraries: ["libplist-2.0.3.dylib", "libplist-2.0.4.dylib"] #62

Open
ishan28mkip opened this issue Jul 24, 2024 · 3 comments

Comments

@ishan28mkip
Copy link

I am getting this error when trying to run ./sideloader-cli-arm64-apple-macos on my m1 mac.

./sideloader-cli-arm64-apple-macos 
                     app INFO  2024-07-24T17:25:35.575 Provisioning device...
            cli_frontend ERROR 2024-07-24T17:25:37.164 dynamicloader.LibraryLoadingException at ../../../.dub/packages/dynamic-loader/65a8b8b8a6d44d47e63bddc985268592ecf47764/dynamic-loader/source/dynamicloader.d:35: Cannot load any of the following libraries: ["libplist-2.0.3.dylib", "libplist-2.0.4.dylib"]

I have libplist installed using brew.
ls -l /opt/homebrew/Cellar/libplist/2.6.0/lib

-r--r--r--  1 work  admin   97376 Jul 24 15:31 libplist++-2.0.4.dylib
-r--r--r--  1 work  admin   93720 May 13 23:13 libplist++-2.0.a
lrwxr-xr-x  1 work  admin      22 May 13 23:13 libplist++-2.0.dylib -> libplist++-2.0.4.dylib
lrwxr-xr-x  1 work  admin      20 Jul 24 15:56 libplist-2.0.3.dylib -> libplist-2.0.4.dylib
-rw-r--r--  1 work  admin  148816 Jul 24 15:31 libplist-2.0.4.dylib
-r--r--r--  1 work  admin  143232 May 13 23:13 libplist-2.0.a
lrwxr-xr-x  1 work  admin      20 May 13 23:13 libplist-2.0.dylib -> libplist-2.0.4.dylib
drwxr-xr-x  4 work  admin     128 Jul 24 15:31 pkgconfig
@Dadoum
Copy link
Owner

Dadoum commented Jul 24, 2024

try to run export DYLD_FALLBACK_LIBRARY_PATH=/opt/homebrew/Cellar/libplist/2.6.0/lib/ before calling the CLI.

@ishan28mkip
Copy link
Author

sideloader -h
Usage: sideloader [-d] [--thread-count THREADCOUNT] [-h] <command> [<args>]

Available commands:
  app-id         Manage App IDs.
  cert           Manage certificates.
  install        Install an application on the device (renames the app, register
                 the identifier, sign and install automatically).
  sign           Sign an application bundle.
  team           Manage teams.
  tool           Run Sideloader's tools.
  version        Print the version.

Optional arguments:
  -d, --debug    Enable debug logging
  --thread-count THREADCOUNT
                 Numbers of threads to be used for signing the application
                 bundle
  -h, --help     Show this help message and exit

the binary works but getting this error now,
zsh: bus error sideloader install SideStore.ipa -i

@Dadoum
Copy link
Owner

Dadoum commented Jul 24, 2024

hmm, does it says anything else? Try to use --singlethread too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants