Error ITMS-4236 when uploading build to iTunes bec

2019-03-10 16:35发布

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?

3条回答
小情绪 Triste *
2楼-- · 2019-03-10 16:46

Just a quick note, I faced this issue in archive when the SVN version number merge with the build version number. In my case I had 1.0(6771M) and the "M" which means SVN Modifications are there in the project, gave me an error when uploading the build.

So make sure you commit everything and prepare the archive.

查看更多
趁早两清
3楼-- · 2019-03-10 17:06

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.

查看更多
Bombasti
4楼-- · 2019-03-10 17:09

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. :(

查看更多
登录 后发表回答