Return the name, version, and file size of the IPA file.
The plugin first locates the IPA file within the scanned directory. It then extracts the IPA to an "unzipped" folder and navigates into the "Payload" directory to find the .app
folder. Inside the .app
folder, it reads the Info.plist
file, which contains essential application details. Finally, it retrieves the file size of the original IPA file. All this information (app name, version, and file size) is then saved to a app-metadata.json
file within the scan directory.
The name is determined in the following order of preference:
CFBundleDisplayName
CFBundleName
The appMetadata
plugin stores its computed data in a file namedapp-metadata.json
within the scan directory. To retrieve this data, the plugin simply reads and parses the JSON content of this file.
{ "name": "ExampleApp", "version": "1.0.0", "fileSize": 12345678 }