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

Failed to apply patches #89

Closed
lennier1 opened this issue Jun 20, 2022 · 0 comments · Fixed by #94
Closed

Failed to apply patches #89

lennier1 opened this issue Jun 20, 2022 · 0 comments · Fixed by #94
Labels
bug Something isn't working

Comments

@lennier1
Copy link

What happened?

Occasionally, I run into an app where ipatool says "Failed to apply patches. The ipa file will be left incomplete." The resulting .ipa file can't be installed correctly. It is possible to install these apps successfully going through the App Store on my device, so they aren't unobtainable in general. I tested this on my US account. I've seen two examples so far:

com.grovemenus.WhatToEatDaily (https://apps.apple.com/us/app/what-to-eat-daily/id897669251?uo=4)
com.mmstudio.TV-GUIDEN-Free (https://apps.apple.com/us/app/tv-guiden-free/id639177792?uo=4)

Version

1.1.2

Relevant log output

ipatool download -b com.grovemenus.WhatToEatDaily -c us --purchase --log-level debug

objc[4261]: Class SwiftNativeNSObject is implemented in both /usr/lib/swift/libswiftCore.dylib (0x7ff8427ce098) and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.5/macosx/libswift_Concurrency.dylib (0x10d18d760). One of the two will be used. Which one is undefined.

==> ℹ️	[Info] Authenticated as '[redacted]'.

==> 🛠	[Debug] Creating HTTP client...

==> 🛠	[Debug] Creating iTunes client...

==> ℹ️	[Info] Querying the iTunes Store for 'com.grovemenus.WhatToEatDaily' in country 'us'...

==> 🛠	[Debug] Found app: What To Eat Daily (1.0.1).

==> 🛠	[Debug] Creating HTTP client...

==> 🛠	[Debug] Creating App Store client...

==> ℹ️	[Info] Requesting a signed copy of '897669251' from the App Store...

==> 🛠	[Debug] Received a response of the signed copy: ec8c6edae6423815c71839001b8b851d.

==> 🛠	[Debug] Output path: /Users/[redacted]/com.grovemenus.WhatToEatDaily_897669251_v1.0.1_790.ipa.

==> 🛠	[Debug] Creating download client...

==> ℹ️	[Info] Downloading app package... [100%]

==> ℹ️	[Info] Saved app package to com.grovemenus.WhatToEatDaily_897669251_v1.0.1_790.ipa.

==> 🛠	[Debug] Creating signature client...

==> ℹ️	[Info] Applying patches...

==> 🛠	[Debug] fileNotFound(".app/SC_Info/Manifest.plist")

==> ❌	[Error] Failed to apply patches. The ipa file will be left incomplete.
@lennier1 lennier1 added the bug Something isn't working label Jun 20, 2022
@majd majd linked a pull request Jul 3, 2022 that will close this issue
@majd majd closed this as completed in #94 Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant