Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error ITMS-4236 when uploading build to iTunes because of build version

I was trying to upload a pre-release build to iTunes to use it with the new iTunes TestFlight integration.

The way I have my continuous integration builds setup is that each release gets tagged with the git commit short hash.

Example:

Version: 1.7.6

Build Version: 1.7.6.4ABD89A

I keep getting the following error with submitting:

ERROR ITMS-4236: "Invalid value '1.7.6 (4ABD89A)' for bundle_version at SoftwareAssets

I have tried different formats like: 1.7.6.4ABD89A, 1.7.6 (4ABD89A) and 1.7.6 [4ABD89A]

I was wondering if anyone had this issue before and what formats are acceptable if those are not?

like image 594
xemacobra Avatar asked Nov 05 '14 17:11

xemacobra


2 Answers

iTunesConnect doesn't allow letters in the version numbers. I don't know if this is new with the TestFlight integration or if it's been like that for a while.

We used to use letters in our version numbers to denote internal builds. Guess we aren't anymore.

like image 179
Mark Suman Avatar answered Nov 14 '22 09:11

Mark Suman


Unfortunately it's still the case. I used to have:

buildNumber=$(git rev-list HEAD | wc -l | tr -d ' ')<br>
buildHash=$(git rev-parse HEAD | cut -c1-4)`

But only buildNumber can be used now. :(

like image 4
superarts.org Avatar answered Nov 14 '22 07:11

superarts.org