majd / ipatool

Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store
MIT License
5.37k stars 470 forks source link

ipatool does not exist in brew package manager #127

Closed mutairibassam closed 1 year ago

mutairibassam commented 1 year ago

What happened?

I am not able to find ipatool in brew package manager.

Version

n/a

Relevant log output

No response

majd commented 1 year ago

Are you referring to Homebrew running on a specific operating system? I currently only distribute the tool for macOS using Homebrew.

You can install it by following the instructions in the readme. https://github.com/majd/ipatool#package-manager-macos

mutairibassam commented 1 year ago

I tried to search for ipatool package but didn't find it. Please refer to the below screenshot.

Screen Shot 1444-05-20 at 8 13 17 PM

A follow up question, can I install any ipa file or only what I am authenticated to?

majd commented 1 year ago

I tried to search for ipatool package but didn't find it. Please refer to the below screenshot.

You can't find it on the homebrew website because it's not part of the default tap. That's why you need to add the tap majd/repo before installing the tool.

$ brew tap majd/repo
$ brew install ipatool

A follow up question, can I install any ipa file or only what I am authenticated to?

You can install the ipa file as long as its signature is still valid - but you won't be able to launch it unless if the device can authenticate with the Apple ID that downloaded the app.

mutairibassam commented 1 year ago

I faced difficulties when I was trying to find an id identifier for an application which already exist in app store. So, I believe some people have faced it.

I'd recommend to put the way of extracting id identifier in project readme to let everyone knows the way.


  1. First navigate to the app that you want to install and check its url.

image

  1. Extract app id and country code from the above url and replace them with the below variables.
    `https://itunes.apple.com/lookup?id=${id}&country=${country}`

    Example: https://itunes.apple.com/lookup?id=304158842&country=us

This will prompt you to download a text file which will have a bunch of values. The one you should be interested in is bundleid.

image

Credit goes to: (https://mrvirk.com/) - https://mrvirk.com/how-to-find-app-bundle-id-ios.html

mutairibassam commented 1 year ago

Issue: I was able to point to a valid app id in different stores but all result to the same error.

Screen Shot 1444-05-22 at 1 22 27 PM

Concerns:

For example: my account is from china and I am installing app from US store. Is this valid scenario?


Update: I was able to install an ipa from SA store. Does the tool only applicable for SA store?


Update: I checked the code and noticed you actually support all stores, and specify the store with login. I simply revoked the account and logged in again and it worked perfectly.

Also, appreciated if you can answer the above concerns to clear the doubts and for future reference as well.

Thanks a lot for this amazing tool.

majd commented 1 year ago

What is the need of the authentication part?

You need to be authenticated in order to download and purchase apps from your App Store account. I think that's self explanatory.

Does the country should be similar?

I'm not sure what you exactly mean by this but the tool uses the country code based on the account that you authenticated with.

Does the tool support macOS and iPad?

The tool is for downloading iOS apps (including iPadOS) but not macOS.

FYI, you can also just use the ipatool search ... command to get the bundle identifier of the app.

github-actions[bot] commented 1 year ago

This issue has been automatically closed because there has been no response from the original author.