While uploading IPA to App Store Connect got this error: "*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil (-1010)"

Mac: 13.2.1 Fastlane: 2.212.2

I upload my project using the command "fastlane ios upload_build." I managed to deliver IPA to App Store Connect several times. Still, after couple more times, I got this error: "Exception caught. *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil (-1010) The call to the altool completed with non-zero exit status: 1. This indicates a failure."

Don't you know what could be the reason for this error?

Also, what version of Xcode are you using?

The reason of this error is the exceed the border of versioning.

@yuriikratser what do you mean by "exceed the border of versioning"

I ran into this issue when building with React Native and Expo Build (which uses fastlane), and I had specified a Build Number that was a string that included letters, numbers, and hyphens. Seems like the Build Number has to match a specific format, though there is some discrepancy about how strictly that format is enforced.

I found some relevant conversations about Build Numbers in this thread: https://stackoverflow.com/questions/19726988/what-values-should-i-use-for-cfbundleversion-and-cfbundleshortversionstring

Exactly, this was also the reason for my upload to fail Reported as https://github.com/fastlane/fastlane/issues/22182

While uploading IPA to App Store Connect got this error: "*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil (-1010)"
 
 
Q