Xcode crashes when i'm validating/distributing my archived app

Xcode crashes when i'm validating/distributing my archived app for testflight testing purposes.

I have previously submitted two versions of the same app, and didn't have this problem. The only changes are the source code (which successfully builds and runs on the ios simulator or different android machines), and the Version (which is currently 0.0.8, while the previous were 0.0.6, 0.0.7)

Whenever I press the button for validate app/distribute app, the process crashes. I recorded the screen and found that it crashes on validating "Runner.app".

I have tried doing the steps below, and none of them are working. Any hints of solving this issue would help a lot.

  • checked that my apple developer account has agreed to all terms of use
  • updated macOS, xcode, cocoapods to the latest version
  • deleted all developer/xcode cache files and rearchived the source code and revalidated the app
  • uninstalled and reinstalled xcode
  • tried increasing the application version/build version in xcode
  • checked my version number consists of three integers (0.0.8, 0.0.9, etc)
  • the xcode build ios/device is selected identical to the one installed on my mac m1 (iphone 15 pro max, ios 17.2)

FYI This is the report i got after xcode crashed.


Translated Report (Full Report Below)


Process: Xcode [33912]

Path: /Applications/Xcode.app/Contents/MacOS/Xcode

Identifier: com.apple.dt.Xcode

Version: 15.3 (22618)

Build Info: IDEApplication-22618000000000000~2 (15E204a)

App Item ID: 497***

App External ID: 863***

Code Type: ARM-64 (Native)

Parent Process: launchd [1]

User ID: 5**

Date/Time: 2024-03-16 00:55:26.7732 +0900

OS Version: macOS 14.4 (23E214)

Report Version: 12

...

System Integrity Protection: enabled

Crashed Thread: 7 Dispatch queue: com.apple.root.default-qos

Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6

Terminating Process: Xcode [33912]

Application Specific Information:

abort() called

Application Specific Signatures:

success

====================================

Any type of help or advice is welcome. Thanks.

got an email from apple after uploading this forum. I didn't get any help when sending this to Support > Contact Us, so if anyone is having trouble i recommend uploading it on the forum.

I am facing the same issue.

Were you able to find a solution to your issue?

Xcode crashes when i'm validating/distributing my archived app
 
 
Q