Error ITMS-90062: The value for key CFBundleShortVersionString must contain a higher version than that of the previously approved version

前端 未结 6 681
梦谈多话
梦谈多话 2020-12-18 00:11

I am trying to update my app for the first time and ran into this issue. I searched a lot but none of the solutions worked for me.

App Store

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-18 01:09

    I ran into this issue when going from version 1.141 to version 1.15. Apple does not treat the version as a decimal number - they treat it as multiple integers separated by periods. Thus in my case Apple considered 1.141 to be Major version 1, Minor version 141 and then my new version was Major version 1, Minor version 15. Since 141 > 15 it fails.

    Two options to deal with this:

    1. Use Apple's interpretation of version numbers, so you always increment the minor version by 1: 1.1, 1.2, ... 1.9, 1.10, 1.11.
    2. If you wish to use "hundreds" or "thousands" places (I do, as I try to encode the scope of the build in the precision - I use the thousands place for minor bug fix releases), then always pad them out with zeros: 1.10, 1.11, 1.20, 1.30

    So in my case I went from 1.141 to 1.150 and I was able to upload.

提交回复
热议问题