For the future - I tried following the advice of trigger.io - Can't create ipa-file anymore to downgrade to a lower version of forge. That didn't work.
But completely reinstalling XCode did! So if you run into this problem, as a last resort you could always try that!