Xcode 15.0 crashes when uploading apps to App Store Connect

I'm trying to upload an app to AppStoreConnect but Xcode (15.0 release not beta) crashes while creating the IPA - I think it's at this step, as it happens very fast. The agreements are all accepted, I don't know what else should I do ??

Here's the log:

-------------------------------------

Process:               Xcode [2147]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               15.0 (22265)
Build Info:            IDEApplication-22265000000000000~3 (15A240d)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-09-24 11:08:28.8476 +0300
OS Version:            macOS 13.5.2 (22G91)
Report Version:        12
Anonymous UUID:        AC134C1E-4270-BC50-46BA-0FC5F300594C


Time Awake Since Boot: 590 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: archive info plist lock

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   Xcode [2147]

Application Specific Information:
abort() called
com.apple.main-thread


Application Specific Signatures:
NSInvalidArgumentException

Application Specific Backtrace 0:
0   CoreFoundation                      0x00000001a3543154 __exceptionPreprocess + 176
1   DVTFoundation                       0x0000000102713e30 DVTFailureHintExceptionPreprocessor + 388
2   libobjc.A.dylib                     0x00000001a30624d4 objc_exception_throw + 60
3   CoreFoundation                      0x00000001a362d9b8 -[__NSCFString characterAtIndex:].cold.1 + 0
4   CoreFoundation                      0x00000001a363ac10 -[__NSPlaceholderDictionary initWithCapacity:].cold.1 + 0
5   CoreFoundation                      0x00000001a3456ae0 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 320
6   CoreFoundation                      0x00000001a3456974 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 52
7   IDEFoundation                       0x0000000108a55ac8 -[IDEArchiveDistributionRecord dictionaryRepresentation] + 296
8   IDEFoundation                       0x0000000108a37180 __31-[IDEArchive setDistributions:]_block_invoke + 16
9   DVTFoundation                       0x000000010270bb2c -[NSArray(DVTFoundationClassAdditions) dvt_arrayByApplyingBlock:] + 224
10  IDEFoundation                       0x0000000108a37110 -[IDEArchive setDistributions:] + 84
11  Foundation                          0x00000001a440ad94 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 604
12  Foundation                          0x00000001a4434f00 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 64
13  Foundation                          0x00000001a444e42c _NSSetObjectValueAndNotify + 284
14  IDEFoundation                       0x0000000108a36f08 __36-[IDEArchive addDistribution:error:]_block_invoke + 156
15  libdispatch.dylib                   0x00000001a323c400 _dispatch_client_callout + 20
16  libdispatch.dylib                   0x00000001a324b97c _dispatch_lane_barrier_sync_invoke_and_complete + 56
17  DVTFoundation                       0x0000000102758014 DVTDispatchBarrierSync + 148
18  DVTFoundation                       0x00000001027342b4 -[DVTDispatchLock performLockedBlock:] + 60
19  IDEFoundation                       0x0000000108a36d30 -[IDEArchive addDistribution:error:] + 200
20  IDEFoundation                       0x00000001086dc2f0 __35-[IDEDistributionUploadStep upload]_block_invoke.115 + 116
21  DVTFoundation                       0x0000000102757330 __DVT_CALLING_CLIENT_BLOCK__ + 16
22  DVTFoundation                       0x0000000102757b08 __DVTSyncPerformBlock_block_invoke + 68
23  CoreFoundation                      0x00000001a34ca1d4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
24  CoreFoundation                      0x00000001a34ca0e8 __CFRunLoopDoBlocks + 364
25  CoreFoundation                      0x00000001a34c958c __CFRunLoopRun + 2432
26  CoreFoundation                      0x00000001a34c84b8 CFRunLoopRunSpecific + 612
27  HIToolbox                           0x00000001acd1adf0 RunCurrentEventLoopInMode + 292
28  HIToolbox                           0x00000001acd1ac2c ReceiveNextEventCommon + 648
29  HIToolbox                           0x00000001acd1a984 _BlockUntilNextEventMatchingListInModeWithFilter + 76
30  AppKit                              0x00000001a66ef97c _DPSNextEvent + 636
31  AppKit                              0x00000001a66eeb18 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
32  DVTKit                              0x0000000102fd8a9c -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 300
33  AppKit                              0x00000001a66e2f7c -[NSApplication run] + 464
34  DVTKit                              0x0000000102fd7cbc -[DVTApplication run] + 60
35  AppKit                              0x00000001a66ba3cc NSApplicationMain + 880
36  dyld                                0x00000001a3093f28 start + 2236
Application Specific Backtrace 1:
0   CoreFoundation                      0x00000001a3543154 __exceptionPreprocess + 176
1   DVTFoundation                       0x0000000102713e30 DVTFailureHintExceptionPreprocessor + 388
2   libobjc.A.dylib                     0x00000001a30624d4 objc_exception_throw + 60
3   CoreFoundation                      0x00000001a362d9b8 -[__NSCFString characterAtIndex:].cold.1 + 0
4   CoreFoundation                      0x00000001a363ac10 -[__NSPlaceholderDictionary initWithCapacity:].cold.1 + 0
5   CoreFoundation                      0x00000001a3456ae0 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 320
6   CoreFoundation                      0x00000001a3456974 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 52
7   IDEFoundation                       0x0000000108a55ac8 -[IDEArchiveDistributionRecord dictionaryRepresentation] + 296
8   IDEFoundation                       0x0000000108a37180 __31-[IDEArchive setDistributions:]_block_invoke + 16
9   DVTFoundation                       0x000000010270bb2c -[NSArray(DVTFoundationClassAdditions) dvt_arrayByApplyingBlock:] + 224
10  IDEFoundation                       0x0000000108a37110 -[IDEArchive setDistributions:] + 84
11  Foundation                          0x00000001a440ad94 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 604
12  Foundation                          0x00000001a4434f00 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 64
13  Foundation                          0x00000001a444e42c _NSSetObjectValueAndNotify + 284
14  IDEFoundation                       0x0000000108a36f08 __36-[IDEArchive 

I have also created the IPA manually and tried to upload it using Transporter app, but I got the following error. I did try to upload several times, and each time I get a different value in the error, so it looks like it's not because of the IPA itself.

The provided entity includes an attribute with an invalid value (409) n/a (ID: a6e0572b-f67d-4add-bfae-dc9bde052be6)

Hi!

I've had a similar issue the last few days and found that changes to the Developer License Agreement of our account had to be accepted. After accepting them, everything worked again. Hopefully this also solves your issue!

Cheers, Dom

I have the same problem, I haven't been able to solve it for a day now.

In my case the issue was in release version naming (1.5.0-de1) which could not be parsed to three dot separated integers.

Seems like xCode 15.0 can not handle any error while uploading.

My solution was to

  1. download xCode 14.3.1 from https://developer.apple.com/download/all/
  2. Extract it and replace xCode in Applications folder with the downloaded one
  3. Open xCode and retry my archive upload
  4. Read the error from the screen

  1. Fix the error and upload it again.

"Don't update to new major versions immediately" learnt the hard way.

Thanks, I forgot to mention that I accepted the agreement prior to having this error.

Same issue here with the version format. It has to be three integers separated by dots—otherwise, Xcode crashes.

As stated in another comment, the version string did the trick for me, going directly with numbers should fix the problem E.g. 1.7.9

As stated in another comment, and on the documentation the version string did the trick for me, going directly with numbers should fix the problem E.g. 1.7.9

Version Number(required)

The version number of the app you’re adding. This is the version number that will display on the App Store for customers. Numbering should follow typical software versioning conventions (for example, 1.0 , 1.0.1 , 1.1 ).

When you create a new app or platform the version number will always default to 1.0, but this can be changed before you submit the app for review.

Important: Make sure this App Store version number matches the version number set in the bundle. If these don’t match, upload errors for later updates might occur.

I can upload with 15.0.1, but I'm not able to send it to apple for checking as it is mentioned as beta...

How can it be? Perhaps Apple should check their own products...

Xcode 15.0 crashes when uploading apps to App Store Connect
 
 
Q