install-ffmpeg-ios.sh: Add arm64 simulator support


This script was hardcoded to two ABIs, arm64 iphoneOS and x86_64
simulator. We need to support both arm64 and x86 simulators.

This patch reworks the scripts logic, to instead iterate over a list
of target platforms. We add arm64 simulator to that list.

An .xcframework can only hold one framework per platform, so the
arm64 and x86_64 simulator binaries are now lipoed together into a
single universal framework. The device and simulator binaries are
still kept as separate frameworks inside the .xcframework.

Pick-to: 6.12 6.12.0
Change-Id: Id5dad1d8fd2fcc8dbedcc9bdf314eb521bcd897a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
commit53c0ff7b21fd0691f39846f3686baec9a616a290
parentd1e924d5924d24dbc7f01c6f8133135a39c59c26
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeWed, 30 Sep 2026 04:21:09 +0000