博览会上传:ios --path〜/ Downloads / path.to.appname.app命令给出错误

问题描述

我正在运行命令

expo upload:ios --path ~/Downloads/appname.app

〜/ Downloads / appname.app是我运行expo build:ios后从expo中提取的tarball文件

我也使用--id进行了尝试,该方法不起作用,我对expo-cli github问题上的类似问题发表了评论https://github.com/expo/expo-cli/issues/1699

我也使用--url尝试过,但这给了我这个错误

/usr/local/lib/node_modules/expo-cli/node_modules/progress/lib/node-progress.js:160 complete = Array(Math.max(0,completeLength + 1)).join(this.chars.complete); RangeError: Invalid array length

这是我使用--path命令运行时遇到的错误之一:

Failed to upload the standalone app to the app store.
Is a directory @ io_fread - /Users/pyitheimkyaw/Downloads/ayeyarwady.app
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/rubyzip-1.3.0/lib/zip/central_directory.rb:163:in `read'
 /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/rubyzip-1.3.0/lib/zip/central_directory.rb:163:in `start_buf'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/rubyzip-1.3.0/lib/zip/central_directory.rb:132:in `read_from_stream'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/rubyzip-1.3.0/lib/zip/file.rb:82:in `block in initialize'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/rubyzip-1.3.0/lib/zip/file.rb:81:in `open'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/rubyzip-1.3.0/lib/zip/file.rb:81:in `initialize'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/rubyzip-1.3.0/lib/zip/file.rb:111:in `new'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/rubyzip-1.3.0/lib/zip/file.rb:111:in `open'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/fastlane-2.146.1/fastlane_core/lib/fastlane_core/ipa_file_analyser.rb:41:in `fetch_info_plist_file'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/fastlane-2.146.1/fastlane_core/lib/fastlane_core/ipa_file_analyser.rb:10:in `fetch_app_identifier'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/fastlane-2.146.1/pilot/lib/pilot/manager.rb:63:in `fetch_app_identifier'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/fastlane-2.146.1/pilot/lib/pilot/manager.rb:48:in `fetch_app_id'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/fastlane-2.146.1/pilot/lib/pilot/build_manager.rb:23:in `upload'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/app/pilot_upload.rb:20:in `block in <main>'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/app/funcs.rb:4:in `with_captured_stderr'
    /usr/local/lib/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-darwin/dist/lib/app/pilot_upload.rb:12:in `<main>'

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...