How do you know that the app published on the App Store is the same one you have the source code for? Can't I can just give you some source code then release something else entirely?
or download from a source you trust and compare hash from another trustworthy source. just like anything you download. unless you run gentoo, but then how do you trust your sources, etc
and if you have a closed source phone os that only allows to install from their store... well you have to learn to crawl before you walk.
B) hash checksums for everything, including the resulting binaries
You probably can't do this on iOS, but on Android you can have a third party app monitoring the changes, or simply disabling the automatic updates altogether.
or download from a source you trust and compare hash from another trustworthy source. just like anything you download. unless you run gentoo, but then how do you trust your sources, etc
and if you have a closed source phone os that only allows to install from their store... well you have to learn to crawl before you walk.