This process was working using Xcode 12, and now fails with xcodebuild after installing Xcode 13.
I am using the xcodebuild -exportArchive command to package the .ipa, however it now reports the following:
2021-10-04 07:54:28.248 xcodebuild[53863:11183390] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/7t/1fh0fld97rd093qglq2ky9s40000gp/T/Memorizor_2021-10-04_07-54-28.248.xcdistributionlogs".
2021-10-04 07:54:28.563 xcodebuild[53863:11183477] CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called
error: exportArchive: The operation couldn’t be completed. (IDEFoundation.DistributionAppRecordError error 3.)
IDEFoundation.DistributionAppRecordError.buildNumberRequestFailed(DVTAppStoreConnect.BuildsService.Error.responseErrors(ResponseErrors (1): Error status: 400, code: PARAMETER_ERROR.INVALID, title: 'A parameter has an invalid value', detail: ''' is not a valid filter', id: e455eb89-d23a-4d9b-8d85-23842232b757))
I have also captured the HTTP request, which looks like this:
https://appstoreconnect.apple.com/iris/provider/69a6de95-aa2f-47e3-e053-5b8c7c11a4d1/v1/builds?fields[builds]=version&filter[app]=1303293864&filter[preReleaseVersion.platform]=IOS&filter[preReleaseVersion.version]=&limit=100&sort=-version
Which explains the missing filter, since filter[preReleaseVersion.version] has no value
I'm assuming it is related to the manageAppVersionAndBuildNumber option in the exportOptions.plist, however I have this set to false.
Any clues as to what is missing in order to make this work?
Selecting any option will automatically load the page