Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

error downloading 1 code with Apple ID of the app and also using the simple command "codes" #24

@posix88

Description

@posix88

Hello i'm stuck with these two issues, that prevents me to automatically download promo codes.
these are the two crash logs:

codes 1 -i ********* -X
[10:58:13]: Logging into iTunesConnect
[10:58:29]: Successfully logged into iTunesConnect
[10:58:29]: Downloading 1 promo code...
/Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/lib/codes/itunes_connect.rb:80:in app_platform': undefined method[]' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/lib/codes/itunes_connect.rb:147:in fetch_app_data' from /Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/lib/codes/itunes_connect.rb:15:indownload'
from /Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/lib/codes/codes_runner.rb:4:in download' from /Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/bin/codes:33:inblock (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in call' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:incall'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in run' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:inrun_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in run!' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:inrun!'
from /Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/bin/codes:51:in run' from /Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/bin/codes:118:in<top (required)>'
from /usr/local/bin/codes:23:in load' from /usr/local/bin/codes:23:in

'

codes
[10:56:30]: Logging into iTunesConnect
[10:56:46]: Successfully logged into iTunesConnect
[10:56:46]: Downloading 1 promo code...
/Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/lib/codes/itunes_connect.rb:143:in fetch_app_data': Could not find app using the following information: {:number_of_codes=>1, :app_identifier=>"*****", :apple_id=>nil, :output_file_path=>nil, :format=>nil, :country=>nil}. Maybe the app is not in the store. Pass the Apple ID of the app as well! (RuntimeError) from /Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/lib/codes/itunes_connect.rb:15:indownload'
from /Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/lib/codes/codes_runner.rb:4:in download' from /Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/bin/codes:33:inblock (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in call' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:incall'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in run' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:inrun_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in run!' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:inrun!'
from /Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/bin/codes:51:in run' from /Library/Ruby/Gems/2.0.0/gems/codes-0.4.1/bin/codes:118:in<top (required)>'
from /usr/local/bin/codes:23:in load' from /usr/local/bin/codes:23:in

'

My fastlane version is the latest. Thank you for your great job!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions