-
Notifications
You must be signed in to change notification settings - Fork 6
recommended flags
zx edited this page Sep 17, 2024
·
1 revision
i myself always use -uwsgq
on every ipa; depending on your needs, you should likely use most of these flags too. here's a rundown:
-
-u
removesUISupportedDevices
inside an ipa. this is mainly important for people who use AltStore/SideStore and Sideloadly, etc, since installing can fail on specific devices if not removed. -
-w
removes watch apps. unless you have your own dev account, you (most likely) wont even be able to use these anyway! you might not even have an apple watch! these can be really big in size sometimes, i've even seen a few around 20MB -
-s
fakesigns the app. this is really just for AppSync (and maybe trollstore?) users, so the apps dont crash on launch. if you're signing with your own developer account or a signing certificate, then you really don't need it. -
-g
removes all encrypted app extensions. if you're going to publicly distribute an IPA, you likely want this one. it's a waste of space, since nobody would be able to use the extension in the first place. for free developer account users, it wastes an app id, which they barely even have. -
-q
thins all binaries to the arm64 slice only. this doesn't make the app lose any functionality (as far as i know), but it has the potential to reduce the app size by 2x!
of course, cyan doesn't do anything to your input unless explicitly specified. however, these features are quite nice and i recommend you use them :)