-
Notifications
You must be signed in to change notification settings - Fork 11
error downloading 1 code with Apple ID of the app and also using the simple command "codes" #24
Description
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!