fastlane-old / deliver

Upload screenshots, metadata and your app to the App Store using a single command
https://fastlane.tools
2.24k stars 162 forks source link

undefined method `[]' for nil:NilClass #338

Closed GEC-it closed 9 years ago

GEC-it commented 9 years ago

HI,

just installed deliver and trying to download screenshots, this is what I get:

error1443186692 GEC001-Mac-mini:iOS imac$ deliver download_screenshots -a gec.MarineApp.Bahamas -u gghiggini@gec-it.com [15:11:14]: Downloading all existing screenshots... [15:11:16]: Logging into iTunesConnect [15:11:31]: Successfully logged into iTunesConnect [15:11:32]: undefined method `[]' for nil:NilClass [15:11:32]: Couldn't download already existing screenshots from iTunesConnect.

and I get attached file.

What should I do ? NB I'm completely new to fastlane and deliver so I could have done something wrong.

KrauseFx commented 9 years ago

Duplicate of https://github.com/KrauseFx/deliver/issues/337

This is the new iTunes Connect which breaks deliver as it is now. I'm working on a fix.

adytzs commented 8 years ago

Hi,

I am using latest fastlane, and got this error

05:54:44: --- Step: deliver ---

[05:54:45]: Variable Dump: [05:54:45]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios deploy", :PRODUCE_APPLEID=>"***", :SIGH_PROFILEPATH=>"**** [05:54:45]: undefined method `[]' for nil:NilClass

Can you help me? Thanks

KrauseFx commented 8 years ago

@adytzs Is that the complete output when running fastlane, including the stack trace? Can you submit a crash report?

yogimarsal commented 8 years ago
screen shot 2015-11-18 at 2 13 50 pm

it is enough? Thank you...

yogimarsal commented 8 years ago

sentry_d0c7655372e96a9c2591b1275f8fad99.txt I think, this will be help you to figure it out

Thank you

KrauseFx commented 8 years ago

@yogimarsal It seems like there is an error in your config file. Can you share your Deliverfile?

yogimarsal commented 8 years ago

This is my Deliverfile, Hopefully it`s help. Deliverfile.txt

Thanks

KrauseFx commented 8 years ago

@yogimarsal Your Deliverfile has some issues. It's using the wrong quotations, you should use " instead of Secondly, basically your metadata_dict is nil, that's why you get the error message.

yogimarsal commented 8 years ago

Hello @KrauseFx ,

Thank you for you feedback, for quotation, I cannot found " ‘ " but do you mean " ' " ?. for metadata, It`s cause of url for get Metadata is invalid, I do it because of the URL is unshareable URL, sorry..

anyway, do you have any tutorial for validate DeliverFile? Thanks

bencollier commented 8 years ago

Make sure edit the file in a proper text editor (like Sublime) - the Mac TextEdit app changes quotes to 'smart quotes' which aren't correct.

yogimarsal commented 8 years ago

Hello, @KrauseFx

I try to put it manually, it is work, The URL is work well, but It is not working on deliverfile. Thank you

fastlanebot commented 8 years ago

This issue was migrated to https://github.com/fastlane/fastlane/issues/2223. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo :rocket: