Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Cloud Build Not Setting Version Codes Anymore

Discussion in 'Unity Build Automation' started by jknight-nc, May 19, 2017.

  1. jknight-nc

    jknight-nc

    Joined:
    Jun 10, 2014
    Posts:
    52
    I have the version codes set to 0 for Android and iOS in my Unity Project settings because I want Unity Cloud Build to set those automatically when it builds. It used to work. Now it doesn't. When I try to upload the .ipa now, I get this:

    ERROR ITMS-90188: "Invalid Pre-Release Build. The CFBundleVersion key in the app’s Info.plist file contains a build number (0) that’s lower than the latest build number (19) that’s been submitted for the app version '1.0'."

    Everything is set to "Use Latest" in my Unity Cloud Build Config. I'm force to try to use a Pre-Export method to resolve this problem, but the documentation and support for the Pre Export system has errors.
     
  2. SophiaC

    SophiaC

    Joined:
    Sep 6, 2016
    Posts:
    238
    Which version of Unity are you using?

    - Sophia
     
  3. jknight-nc

    jknight-nc

    Joined:
    Jun 10, 2014
    Posts:
    52
    Happens on "Always Use Latest" and on 5.6.0f3, which is what I'm using locally.