I have been facing the same issue for the past 3 hours, tried many things suggested all over.
Finally the approach in This Link worked for me and now I've uploaded the build to App Store.
Also adding the workaround here just in case if you don't want to check the above link,
Here's a workaround:
Organizer -> Distribute App -> App Store Connect -> Export -> NOW DISABLE WIFI / INTERNET (else will fail) -> Exported .ipa
Now use Transporter App -> Login to same account -> Add .ipa -> Upload works !
Transporter can be downloaded here: Transporter App
Post
Replies
Boosts
Views
Activity
Check for multiple app entry point.
I had the same issue because I didn't change the default ViewController.swift which will be the initialViewController while creating the new project. Unfortunately I had another ViewController in the storyboard with the same class name ViewController.swift.
In AppDelegate.swift I used to check for the Login status and change the rootViewController.
And while doing this while setting Login.swift as rootViewController in parallel ViewController.swift got executed and so the app crashed and this happens only if Screen Speak is turned ON under accessibility settings. Also if Switch Control is turned ON but many users unlikely to turn this ON.
Hope this helps.