xcodebuild segmentation fault

I am getting a segmentation fault with xcodebuild:

2024-06-17 17:08:52.749 xcodebuild[26052:114044] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/m0/fb9pgvx50vngfz_tcpgyxzhw0000gn/T/macnbagent_2024-06-17_17-08-52.747.xcdistributionlogs".
zsh: segmentation fault  /usr/bin/xcodebuild -exportArchive -archivePath  -exportOptionsPlist   

Version:

xcodebuild -version 
Xcode 15.4
Build version 15F31d

Is there any know segmentation fault bug with xcodebuild?

I started to get this yesterday as well, it's been about a month since I had to do the last build.

I'm on Xcode 15.4. I would have been on 15.3 last time I did a release, so I'm downloading that version to test.

I have the same issue. It works without a problem on Xcode 15.3, but fails with "Segmentation fault: 11" on Xcode 15.4.

Here is an example project that reproduces the issue: https://github.com/darrarski/ios-app-export-unsigned-ipa-example

I'm also running into the same issue on macOS Sonoma 14.3 and Xcode 15.4.

Installing the previous Xcode 15.3 fixed the issue.

xcodebuild -version 
Xcode 15.4
Build version 15F31d
xcodebuild segmentation fault
 
 
Q