> because Apple did not want Flash to eat into their app store profits
Here's a fun fact nobody remembers anymore. Way back when (2010?) Adobe built a Flash feature that let you publish iOS apps. The feature went through an open beta and lots of flash devs made iOS apps, they worked fine, Apple accepted them into the app store, fun times.
Then riiight as the tech left beta, Apple changed the iOS terms to nonsensically restrict what language apps are "originally written" in - the source language had to be one Xcode supported, and apps converted from other languages were disallowed. Apple then removed the flash-based apps from their store, Adobe had to discontinue the feature, and a bit later Apple quietly removed the restriction.
(Working from memory here, details are approximate.)