We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to submit a feature request to support the retrieval of app icons.
In file: FBSpringboardServicesClient.m add method getAppIcon:(NSString *)bundleId
FBSpringboardServicesClient.m
getAppIcon:(NSString *)bundleId
Command:
[self.connection sendAndReceiveMessage:@{@"command": @"getIconPNGData", @"bundleId": bundleId, @"formatVersion": @"2"} error:error];
This command should return the icon PNG data for the app with the specified bundle id.
In file: app.py add class AppIconCommand(ClientCommand) with name --app-icon, taking bundle-id as argument.
app.py
AppIconCommand(ClientCommand)
--app-icon
bundle-id
Extra: expand AppListCommand with argument --icons to retrieve icons for each app.
AppListCommand
--icons
I've tried adding this myself, but can't manage to get the companion project to compile.
The text was updated successfully, but these errors were encountered:
you can use following cmd get app location
xcrun simctl get_app_container${device_id} ${bundle_id} app
and find icon in the app container.
Sorry, something went wrong.
@answer-huang this only works for iOS simulators.
For iOS 17+ we now have devicectl, but the app icon command seems to be broken: https://developer.apple.com/forums/thread/738793
devicectl
@answer-huang this only works for iOS simulators. For iOS 17+ we now have devicectl, but the app icon command seems to be broken: https://developer.apple.com/forums/thread/738793
@JJdeGroot devicectl works fine in my computer with:
MacOS: 14.0 iPhone: 17.0.3 Xcode: 15.0
@answer-huang yeah devicectl works fine, just the app icon command was broken before macOS 14.x - but works now.
No branches or pull requests
Description
I would like to submit a feature request to support the retrieval of app icons.
Solution
In file:
FBSpringboardServicesClient.m
add methodgetAppIcon:(NSString *)bundleId
Command:
This command should return the icon PNG data for the app with the specified bundle id.
In file:
app.py
add classAppIconCommand(ClientCommand)
with name--app-icon
, takingbundle-id
as argument.Extra: expand
AppListCommand
with argument--icons
to retrieve icons for each app.I've tried adding this myself, but can't manage to get the companion project to compile.
The text was updated successfully, but these errors were encountered: