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

旧巷老猫 提交于 2020-01-11 17:15:08

问题


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?


回答1:


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.




回答2:


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




回答3:


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.



来源:https://stackoverflow.com/questions/26763222/error-itms-4236-when-uploading-build-to-itunes-because-of-build-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!