Error in fastlane/deliver (since Xcode 8.3.2 ?)

Bitrise Build Issue Report template

Description of the issue

Since today, I have the following issue when building:
Ā±-----Ā±------------------------------------Ā±------------+
| fastlane summary |
Ā±-----Ā±------------------------------------Ā±------------+
| Step | Action | Time (in s) |
Ā±-----Ā±------------------------------------Ā±------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| 3 | produce | 7 |
| 4 | Switch to ios buildBook lane | 0 |
| 5 | match | 7 |
| 6 | gym | 588 |
| :boom: | deliver | 21 |
Ā±-----Ā±------------------------------------Ā±------------+

[04:03:10]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlaneā€¦

:arrow_right:ļø undefined method `edit_versionā€™ for nil:NilClass
https://github.com/fastlane/fastlane/issues/8660 [open] 6 :speech_balloon:
3 weeks ago

:arrow_right:ļø Deliver Error: undefined method `[]=ā€™ for nil:NilClass in spaceship/tunes/language_item.rb
https://github.com/fastlane/fastlane/issues/8922 [open] 10 :speech_balloon:
17 minutes ago

:arrow_right:ļø undefined method `idā€™ for nil:NilClass while fastlane sigh repair
https://github.com/fastlane/fastlane/issues/8184 [open] 3 :speech_balloon:
01 Mar 2017

Environment:

During build

If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)

Stack is xcode.8.3.x
But Iā€™ve got this message that I didnā€™t have yesterday
You may be on the wrong stack to build this kind of project. Your current stack is: Xcode 8.3.x, on macOS 10.12 (Sierra) (pre-installed tools)
which is weird since Iā€™m running XCode 8.3.2 on my Mac

Which build Step causes the issue and which version of the step?
Fastlane / deliver

Reproducibility

  • Does a ā€œRebuildā€ help? (You can trigger a rebuild from the Buildā€™s page, by clicking the ā€œRebuildā€ button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • If you have multiple different build configurations (workflows), does the issue affect all/more than one? : Only this workflow, but I tries to build other apps, with the same result
  • If itā€™s an issue which happens sporadically, whatā€™s the frequency? (e.g. Once a day ; about x% of the builds) : No, 100% of build
  • Does upgrading the build Step to the latest version help? : YES/NO
  • When did the issue start? :
    Since yesterday ā€¦
  • maybe Apple changed something in iTunes Connect API
  • maybe fastlane is not up-to-date on Bitrise
  • maybe Bitrise is not up-to-date for XCode 8.3.2

Build log

(canā€™t attach the log because not an image, canā€™t include it in the text because too big ā€¦ :frowning:)
Ā±-----Ā±------------------------------------Ā±------------+
| e[32mfastlane summarye[0m |
Ā±-----Ā±------------------------------------Ā±------------+
| Step | Action | Time (in s) |
Ā±-----Ā±------------------------------------Ā±------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| 3 | produce | 7 |
| 4 | Switch to ios buildBook lane | 0 |
| 5 | match | 7 |
| 6 | gym | 588 |
| :boom: | e[31mdelivere[0m | 21 |
Ā±-----Ā±------------------------------------Ā±------------+

[04:03:10]: e[31mfastlane finished with errorse[0m

Looking for related GitHub issues on fastlane/fastlaneā€¦

:arrow_right:ļø e[33mundefined method `edit_versionā€™ for nil:NilClasse[0m
https://github.com/fastlane/fastlane/issues/8660 [e[31mopene[0m] 6 :speech_balloon:
3 weeks ago

:arrow_right:ļø e[33mDeliver Error: undefined method `[]=ā€™ for nil:NilClass in spaceship/tunes/language_item.rbe[0m
https://github.com/fastlane/fastlane/issues/8922 [e[31mopene[0m] 10 :speech_balloon:
17 minutes ago

:arrow_right:ļø e[33mundefined method `idā€™ for nil:NilClass while fastlane sigh repaire[0m
https://github.com/fastlane/fastlane/issues/8184 [e[31mopene[0m] 3 :speech_balloon:
01 Mar 2017

and 237 more at: https://github.com/fastlane/fastlane/search?q=undefined%20method%20`[]=ā€™%20for%20nil&type=Issues&utf8=āœ“

:link: You can āŒ˜ + double-click on links to open them directly in your browser.

Can you please send us the log in email / through the onsite chat? Or include at least the deliver part of it

Itā€™s OK, it was a fastlane issue, itā€™s fixed now. Thanks !

1 Like

Glad to hear you managed to solve the issue, thanks for reporting @fred-adda! :wink: