-
Notifications
You must be signed in to change notification settings - Fork 287
[MAUI] Enable iOS ipa file size measurement #2295
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
[MAUI] Enable iOS ipa file size measurement #2295
Conversation
…ir name included.
src/scenarios/helloios/pre.py
Outdated
| exit(-1) | ||
|
|
||
| appFolderPath = os.path.join(baseDir, appFolder[0]) | ||
| for subfile in os.listdir(appFolderPath): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we moving the extracted files after unzipping rather than just measuring the size where we unpack them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main reason was because the structure of the unzipped ipa is folder.app/{interesting files}. I can play around with it a little bit more to and see if I can get the dirs argument to set the directory to parse to work instead though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I double checked some assumptions I made about the ipa file structure and they were incorrect so I removed the moving section to match measuring the whole zip file.
… levels in IPA files.
DrewScoggins
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
The failing sections are failing in main, merging. |
Adds support for measuring ipa files to the Maui and iOS pre.py files. This also includes the addition of passing in the name of the folder/file you want to use in testing. This is a sibling commit to dotnet/runtime#66358.