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: