Just because a code is open does not make it FOSS. There is a spirit to it.
Its the same argument that will make a country democratic just because people vote.
Apple is knows for its notorious tricks against developers and consumers, does everything that is against core FOSS values. So no it’s not FOSS.