-
Notifications
You must be signed in to change notification settings - Fork 276
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
Support iPadOS (iPad) & iOS (iPhone) apps #321
Comments
The is a great idea for a new feature. I had to send my DTK back, but while I had it I only installed iOS app through Xcode. Can you install them from the Mac App Store? |
One thing that will need to change to support this is to change how the search and lookup commands work. Today they use the iTunes search web API and that has a filter for only macOS. Once we know the app identifier it may "just work". One thing you could try is to copy the URL for an iOS app from the store and look for the numeric identifier at the end (remove any letters). Then try |
You're right, you can get the ID from the App Store website URL.
Clicking "Cancel" (rather obviously) returns:
Just to be sure, I double checked, and it installs from the App Store fine. |
Would be so excited if this would be fixed!!! |
Me too! |
Is this being worked on or nay? |
Pinging here to show support as well. |
+1 to hoping this gets support |
I doubt this will be worked on until summer 2025, when the M4 Mac Studios are expected to be released. Until then, I'm stuck on Intel. It can be done sooner if someone else wants to work on it, or if someone wants to give me a free Apple Silicon Mac :). |
Fwiw, I'm using majd/ipatool for downloading IPA app packages for iOS. Not sure if the mechanism is the same as for Mac apps and/or if there's potential for reuse/collaboration between the projects. |
Notes
It appears that the data structure in
CKSoftwareMap
(from CommerceKit, a macOS private framework) that lists the apps installed from the Mac App Store (which is used by mas) doesn't include installed iOS or iPadOS apps.Spotlight contains some info about installed iOS & iPadOS along with installed macOS apps, but it does not seem to include the app IDs for iOS or iPadOS apps.
We can look for other data sources that contain iOS & iPadOS along with their app IDs (investigating private frameworks depends on #565).
Assuming that there are no other useful data sources, and that the known data sources behave as I suspect from the info I've seen, mas can:
Find installed apps via Spotlight instead of via
CKSoftwareMap
CKSoftwareMap
, except it doesn't contain app names; it contains some data that might be similar to app names, but it can be off.The above is ridiculous, but it is the only currently known generic workaround.
Investigate for better sources of installed app data:
pkgutil --pkg-info-plist <bundle-id>
/Applications/<app-dir-name>.app/Contents/_MASReceipt/receipt
See:
Original Issue
Your Environment
mas Install Method
brew install mas
(homebrew-core)Describe the Bug
mas list
,mas search
,mas outdated
do not show iOS apps that can be installed via the App Store on M1 macs.To Reproduce
Steps to reproduce the behavior:
mas list
Expected Behavior
The installed iOS app should be among the apps listed.
Actual Behavior
The iOS app is not among the apps listed.
The text was updated successfully, but these errors were encountered: