Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Feature Request Update fastlane on cloud build server

Discussion in 'Unity Build Automation' started by dawidk, Dec 7, 2021.

  1. dawidk

    dawidk

    Joined:
    Jul 27, 2012
    Posts:
    5
    Hey guys,

    Any chance you can update fastlane on cloud build server? When I try to use fastlane to upload to google play I am getting the error
    Code (JavaScript):
    1. Google Api Error: badRequest: Changes cannot be sent for review automatically. Please set the query parameter changesNotSentForReview to true. Once committed, the changes in this edit can be sent for review from the Google Play Console UI. - Changes cannot be sent for review automatically. Please set the query parameter changesNotSentForReview to true. Once committed, the changes in this edit can be sent for review from the Google Play Console UI.
    When I upload the the aab using exactly the same command using the exactly same param with fastlane
    2.198.1 its going through. The version on cloud build is 2.182.0

    My fastlane command is

    Code (CSharp):
    1. PACKAGE_NAME=$(cat "$WORKSPACE/build.json" | jq -j '.[].bundleid')
    2.  
    3. KEY_WITH_NEWLINES=$(echo $PLAYSTORE_KEY | jq '.private_key |= sub(" (?!PRIVATE|KEY)"; "\n"; "g")' -c -j)
    4.  
    5. fastlane supply --package_name "$PACKAGE_NAME" --aab "$UNITY_PLAYER_PATH" --json_key_data "$KEY_WITH_NEWLINES" --track internal
     
    Last edited: Dec 7, 2021
  2. icynotes

    icynotes

    Joined:
    May 17, 2017
    Posts:
    4
  3. rajivrao

    rajivrao

    Unity Technologies

    Joined:
    Feb 19, 2019
    Posts:
    111
    Hey folks, thanks for raising. At the moment given a few things in our tech stack, 2.182.0 is the maximum version we can use right now. We're working on upgrading our stack to support later Fastlane releases. Will provide a timeline as soon as we have one. Sorry again for the inconvenience.
     
    Meatloaf4 likes this.
  4. icynotes

    icynotes

    Joined:
    May 17, 2017
    Posts:
    4
    Understood. Thanks for the reply, I appreciate it! I'll check back periodically and hope the upgrade comes through eventually.
     
  5. Meatloaf4

    Meatloaf4

    Joined:
    Jul 30, 2013
    Posts:
    182
    Hey guys, just checking in to see if fastlane has been updated yet or if there is timeline for when that might happen.

    Thanks in advance!
     
  6. allan-oooh

    allan-oooh

    Joined:
    Mar 29, 2019
    Posts:
    48
    Any updates in the last year? I know the stack has changed significantly. I appears we need at least fastlane 2.210 for testflight uploading to work with xcode 14.
     
  7. allan-oooh

    allan-oooh

    Joined:
    Mar 29, 2019
    Posts:
    48
    I just worked out that in the advance section of the build configuration you can set the Ruby version to 2.7.4. Doing so gives you a build environment running fastlane 2.211 - which is almost the latest version and good enough for my current needs.