Giter VIP home page Giter VIP logo

react-native-upload's Issues

shiy

1、react-native init AwesomeProject
2、然后安装react-native-upload 后设置签名
3、然后执行npx upload-fir --no-ios, 其中firtoken 已经配置

`/Users/peter-wulin/Develop/reactnative-ws/AwesomeProject/node_modules/react-native-upload/libs/validate-fir-token.js:20
icon_key=${result.cert.icon.key}
^

TypeError: Cannot read property 'icon' of undefined
at Object. (/Users/peter-wulin/Develop/reactnative-ws/AwesomeProject/node_modules/react-native-upload/libs/validate-fir-token.js:20:24)`

执行npx upload-pgy后只打包了androidapk,并没有上传到蒲公英

React Native Environment Info:
System:
OS: macOS 10.14.5
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 47.91 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.16.0 - /usr/local/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5522156
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
npmPackages:
react: ^16.8.3 => 16.8.6
react-native: ^0.59.4 => 0.59.9
npmGlobalPackages:
react-native-cli: 2.0.1

执行npx upload-pgy后只打包了androidapk,并没有上传到蒲公英

iOS 打包失败

安卓成功了,ios 失败,信息如下:

error: exportArchive: exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}, but no value was provided

Error Domain=IDEFoundationErrorDomain Code=1 "exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}, but no value was provided" UserInfo={NSLocalizedDescription=exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}, but no value was provided}

** EXPORT FAILED **

用 xcode 能正常打包上传,想试试你的自动化工具,结果不行,ios_export_method 试过 ad-hocdevelopment

打包成功,但是不能上传

安卓的错误 /node_modules/.bin/upload-fir: line 31: Not: command not found
ios 错误信息
[xmldom error] element parse error: Error: invalid tagName:
@#[line:1,col:1]
[fir.im] Getting ios token...
Error: Authentication failed

打包都成功,没什么问题 问题出现在上传时候
配置文件信息
"fir": {
"fir_api_token": "5df99994f9",
"ios_export_plist": "./ad-hoc.plist" // 文件在项目根目录下
},

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.