Truth be told, I'm not even sure you are able to install any external app on iphone, isnt the system so tight that it doesn't allow anything besides the app from the app store?
macOS is another matter, it's just like any other ssystem where you can freely execute and run any compatible software