Ios 使用Fastlane太空船时出现错误消息

Ios 使用Fastlane太空船时出现错误消息,ios,ruby,in-app-purchase,app-store-connect,fastlane,Ios,Ruby,In App Purchase,App Store Connect,Fastlane,我跟随“”连接到iTunes以批量创建多个购买项目。我正在使用fastlane gem,但在开始时,login命令返回一个错误: require 'io/console' require 'spaceship' require 'csv' Spaceship::Tunes.login("login", "pass") 当我运行此代码时,会出现以下错误: No such file or directory @ rb_sysopen - /tmp/spaceship1586831345_1620

我跟随“”连接到iTunes以批量创建多个购买项目。我正在使用fastlane gem,但在开始时,login命令返回一个错误:

require 'io/console'
require 'spaceship'
require 'csv'

Spaceship::Tunes.login("login", "pass")
当我运行此代码时,会出现以下错误:

No such file or directory @ rb_sysopen - /tmp/spaceship1586831345_16204_22439120.log
Traceback (most recent call last):
        22: from ./test.rb:10:in `<main>'
        21: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/tunes/spaceship.rb:24:in `login'
        20: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:346:in `login'
        19: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:384:in `login'
        18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:775:in `do_login'
        17: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/tunes/tunes_client.rb:127:in `send_login_request'
        16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:471:in `send_shared_login_request'
        15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:682:in `request'
        14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:791:in `log_request'
        13: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:841:in `extract_key_from_block'
        12: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:476:in `block in send_shared_login_request'
        11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:547:in `itc_service_key'
        10: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:682:in `request'
          9: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:811:in `log_request'
          8: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:242:in `logger'
          7: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:242:in `new'
          6: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:387:in `initialize'
          5: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:387:in `new'
          4: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:671:in `initialize'
          3: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:736:in `set_dev'
          2: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:744:in `open_logfile'
          1: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:744:in `open'
C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:744:in `initialize': No such file or directory @ rb_sysopen - /tmp/spaceship1586831345_16204_22439120.log (Errno::ENOENT)
        24: from ./test.rb:10:in `<main>'
        23: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/tunes/spaceship.rb:24:in `login'
        22: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:346:in `login'
        21: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:384:in `login'
        20: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:775:in `do_login'
        19: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/tunes/tunes_client.rb:127:in `send_login_request'
        18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:471:in `send_shared_login_request'
        17: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:682:in `request'
        16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:791:in `log_request'
        15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:841:in `extract_key_from_block'
        14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:476:in `block in send_shared_login_request'
        13: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:547:in `itc_service_key'
        12: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:682:in `request'
        11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:811:in `log_request'
        10: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:242:in `logger'
          9: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:242:in `new'
          8: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:387:in `initialize'
          7: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:387:in `new'
          6: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:671:in `initialize'
          5: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:736:in `set_dev'
          4: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:742:in `open_logfile'
          3: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:746:in `rescue in open_logfile'
          2: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:752:in `create_logfile'
          1: from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:752:in `open'
C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:752:in `initialize': No such file or directory @ rb_sysopen - /tmp/spaceship1586831345_16204_22439120.log (Errno::ENOENT)
        12: from ./test.rb:10:in `<main>'
        11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/tunes/spaceship.rb:24:in `login'
        10: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:346:in `login'
          9: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:384:in `login'
          8: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:775:in `do_login'
          7: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/tunes/tunes_client.rb:127:in `send_login_request'
          6: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:471:in `send_shared_login_request'
          5: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:682:in `request'
          4: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:791:in `log_request'
          3: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:841:in `extract_key_from_block'
          2: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:476:in `block in send_shared_login_request'
          1: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:537:in `itc_service_key'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:558:in `rescue in itc_service_key': Could not receive latest API key from App Store Connect, this might be a server issue. (Spaceship::AppleTimeoutError)
没有这样的文件或目录@rb_sysopen-/tmp/spaceship1586831345_16204_22439120.log
回溯(最近一次呼叫最后一次):
22:from./test.rb:10:in`'
21:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/tunes/spaceship.rb:24:in'login'
20:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:346:in'login'
19:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:384:in'login'
18:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:775:in'do_login'
17:来自C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/tunes/tunes\u客户端。rb:127:在“发送登录请求”中
16:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:471:在“发送\共享\登录\请求”中
15:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:682:in'request'
14:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:791:in'log_request'
13:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:841:“从块中提取密钥”
12:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:476:in `阻止发送\共享\登录\请求'
11:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:547:in'itc_service_key'
10:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:682:in'request'
9:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:811:in'log_request'
8:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:242:in'logger'
7:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:242:in'new'
6:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:387:in'initialize'
5:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:387:in'new'
4:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:671:in'initialize'
3:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:736:in'set\u dev'
2:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:744:in'open_logfile'
1:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:744:in'open'
C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:744:in'initialize':没有这样的文件或目录@rb_sysopen-/tmp/spaceship1586831345_16204_22439120.log(Errno::enoint)
24:from./test.rb:10:in`'
23:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/tunes/spaceship.rb:24:in'login'
22:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:346:in'login'
21:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:384:in'login'
20:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:775:in'do_login'
19:来自C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/tunes/tunes\u客户端。rb:127:在“发送登录请求”中
18:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:471:in“发送\共享\登录\请求”
17:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:682:in'request'
16:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:791:in'log_request'
15:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:841:“从块中提取密钥”
14:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:476:in`block in send\u shared\u login\u request'
13:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:547:in'itc_service_key'
12:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:682:in'request'
11:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:811:in'log_request'
10:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:242:in'logger'
9:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/client.rb:242:in'new'
8:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:387:in'initialize'
7:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:387:in'new'
6:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:671:in'initialize'
5:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:736:in'set\u dev'
4:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:742:in'open_logfile'
3:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:746:in'rescue in open_logfile'
2:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:752:in'create_logfile'
1:from C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:752:in'open'
C:/Ruby26-x64/lib/ruby/2.6.0/logger.rb:752:in'initialize':没有这样的文件或目录@rb_sysopen-/tmp/spaceship1586831345_16204_22439120.log(Errno::enoint)
12:from./test.rb:10:in`'
11:from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/tunes/spaceship.rb:24:in`login'
10:来自C:/Ruby26-x64/lib/ruby/gems/2.6.0/ge