Comments (18)
I just got this after
brew tap majd/repo
brew install ipatool
==> Downloading https://github.com/majd/ipatool/releases/download/v1.0.8/ipatool-v1.0.8.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/369755856/5776dd8f-9e35-4ea6-a7d8-516dfc6080b3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-A
######################################################################## 100.0%
==> Installing Cask ipatool
==> Linking Binary 'ipatool' to '/usr/local/bin/ipatool'
๐บ ipatool was successfully installed!
ipatool --version masterโ7|โ47โฆ
dyld: Library not loaded: @rpath/libswift_Concurrency.dylib
Referenced from: /usr/local/bin/ipatool
Reason: image not found
[1] 30068 abort ipatool --version
On a 2019 Intel Core i7 MBP running Big Sur.
from ipatool.
@suyashbansal That's unfortunate. Do you by any chance have the latest Swift runtime installed on your Mac? I believe it ships with Xcode. You can verify that by running
ls /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.5/macosx
If you see libswift_Concurrency.dylib
, please try running
export DYLD_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.5/macosx
before starting the ipatool
binary above and let me know the outcome.
from ipatool.
@majd still getting the same error
suyash@Suyashs-MacBook-Air Downloads % chmod +x ./ipatool
suyash@Suyashs-MacBook-Air Downloads % ./ipatool
dyld: lazy symbol binding failed: can't resolve symbol _swift_task_create in /Users/suyash/Downloads/./ipatool because dependent dylib @rpath/libswift_Concurrency.dylib could not be loaded
dyld: can't resolve symbol _swift_task_create in /Users/suyash/Downloads/./ipatool because dependent dylib @rpath/libswift_Concurrency.dylib could not be loaded
zsh: abort ./ipatool
from ipatool.
Is there a way to bundle this part of app binary? i thought builds from xcode13.2 should have included this concurrency changes similar to swift runtime, packaged along with binary(to support old versions). Though i had xcode13 installed and running BigSur 11.4 I had the same error.
Initially, I had also assumed that Xcode 13.2 would statically link the Concurrency library with the compiled binary - it sadly does only seem to weakly link it. Perhaps this is currently not supported with Swift packages.
Also if possible support installing old version via homebrew, i wanted to go back to old version which did not have this concurrency change but
brew install [email protected]
didn't work. Wondering if this requires additional steps from your end.
I believe Homebrew does not support installing older versions of formulas. To grab older releases, you can either retrieve it from the releases history in this repository or grab the older formula from the commits history on majd/homebrew-repo and pass it to Homebrew.
from ipatool.
Try install this: https://download.swift.org/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2021-12-06-a/swift-DEVELOPMENT-SNAPSHOT-2021-12-06-a-osx.pkg
Then set export DYLD_LIBRARY_PATH=/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2021-12-06-a.xctoolchain/usr/lib/swift/macosx
from ipatool.
What version of macOS are you running? Did you compile ipatool yourself or did you install the Homebrew distribution?
from ipatool.
I got the same error as @gms8994 on a new brew install running Big Sur 11.6.4
from ipatool.
same error on Big Sur 11.4 / intel i7
from ipatool.
On a 2018 Intel Core i7 running Monterey, the install runs successfully.
from ipatool.
Can you try this binary and see if it fixes the issue?
from ipatool.
Still not working on M1 Air Big Sur 11.6.3
suyash@Suyashs-MacBook-Air Downloads % ipatool
dyld: Library not loaded: @rpath/libswift_Concurrency.dylib
Referenced from: /opt/homebrew/bin/ipatool
Reason: image not found
zsh: abort ipatool
from ipatool.
Still not working on M1 Air Big Sur 11.6.3
suyash@Suyashs-MacBook-Air Downloads % ipatool dyld: Library not loaded: @rpath/libswift_Concurrency.dylib Referenced from: /opt/homebrew/bin/ipatool Reason: image not found zsh: abort ipatool
@suyashbansal I believe you are using the wrong binary given the output says that the library is referenced from /opt/homebrew/bin/ipatool
. Maybe you meant to execute the new binary with ./ipatool
instead of ipatool
?
from ipatool.
Maybe you meant to execute the new binary with
./ipatool
instead ofipatool
?
You are right! I did run the new binary and still getting the similar error:
suyash@Suyashs-MacBook-Air Downloads % ./ipatool
dyld: lazy symbol binding failed: can't resolve symbol _swift_task_create in /Users/suyash/Downloads/./ipatool because dependent dylib @rpath/libswift_Concurrency.dylib could not be loaded
dyld: can't resolve symbol _swift_task_create in /Users/suyash/Downloads/./ipatool because dependent dylib @rpath/libswift_Concurrency.dylib could not be loaded
zsh: abort ./ipatool
suyash@Suyashs-MacBook-Air Downloads %
Update - getting the same error on MacBook Pro 16 (2019, Core i9)
from ipatool.
@suyashbansal Could you try this one? It's built using Xcode 13.3 and the latest Swift toolchain, which I think resolves this issue.
from ipatool.
Thanks @majd
The method is useful to me. ๐
from ipatool.
@majd I don't have the full Xcode installed but I added the latest stable Swift runtime as mentioned by @lnguyen234 above.
suyash@Suyashs-MacBook-Air ~ % export DYLD_LIBRARY_PATH=/Library/Developer/Toolchains/swift-5.5.3-release.xctoolchain/usr/lib/swift/macosx
suyash@Suyashs-MacBook-Air ~ % cd Downloads
suyash@Suyashs-MacBook-Air Downloads % ./ipatool
OVERVIEW: A cli tool for interacting with Apple's ipa files.
USAGE: ipatool <subcommand>
OPTIONS:
--version Show the version.
-h, --help Show help information.
SUBCOMMANDS:
download Download (encrypted) iOS app packages from the App
Store.
search Search for iOS apps available on the App Store.
See 'ipatool help <subcommand>' for detailed help.
suyash@Suyashs-MacBook-Air Downloads %
It works now!!
from ipatool.
Thanks for confirming. It seems like you need to install the Swift 5.5 toolchain or Xcode 13 (which contains the Swift 5.5 toolchain). Since macOS Catalina does not support Xcode 13, you need to install the official Swift toolchain package (thanks @lnguyen234). I've added this information to the wiki.
from ipatool.
Is there a way to bundle this part of app binary? i thought builds from xcode13.2 should have included this concurrency changes similar to swift runtime, packaged along with binary(to support old versions). Though i had xcode13 installed and running BigSur 11.4 I had the same error.
Also if possible support installing old version via homebrew, i wanted to go back to old version which did not have this concurrency change but brew install [email protected]
didn't work. Wondering if this requires additional steps from your end.
Thank you
from ipatool.
Related Issues (20)
- Expose cobra command functions HOT 2
- ERR error="license is required" success=false HOT 1
- error download ipatool HOT 1
- (HELP) I am to dumb to get it working HOT 9
- (ERROR) this software couldnt run on your device HOT 1
- I cannot type a passphrase HOT 1
- log something when purchasing an app
- Cannot use -purchase command HOT 4
- Purchase succeeds, download fails HOT 2
- --device-family flag removed ? HOT 1
- I use windows HOT 3
- errors everywhere HOT 1
- How to run ipatool in crontab / cronjob?
- Search doesnt find specific app HOT 2
- Every command will get keychain error on Ubuntu 22.04 HOT 3
- visionOS support
- Cannot create an item in a locked collection
- Resume interrupted download
- Where is tutorial for Windows user about how to use it?
- Download older version of the apps HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipatool.