fwh1990 / react-native-upload Goto Github PK
View Code? Open in Web Editor NEW( MacOs ) 一键打包部署 android/ios APP到各个测试平台和App Store。ci/cd神器,拒绝繁琐
License: MIT License
( MacOs ) 一键打包部署 android/ios APP到各个测试平台和App Store。ci/cd神器,拒绝繁琐
License: MIT License
新版蒲公英上传必须要安装密码了
安卓成功了,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-hoc
和 development
。
安卓的错误 /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" // 文件在项目根目录下
},
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)`
我的项目中使用react-native-config,编译时需要指定一个配置文件。不知道该如何使用?
比如这个:./gradlew assembleRelease -PVERSION_NAME_JS=3.0.0
怎么增加后面这个参数到后面
没找到相关的解决方案,期待回复!
请问一下,为什么我打包没有生成index.android.bundle呢?
我第一次使用RN开发。
如果打包完有个回调或者类似于钩子之类的就更好了,这边想实现执行命令后,继续某些操作
想根据传入的scheme打不同环境的包上传
如果开启enableSeparateBuildPerCPUArchitecture,会生成多个apk,会全部上传,最终生效的是最后一个,也就是X86架构的apk,导致手机无法安装。
能不能指定上传的apk的名字呢
报了 少了个符号的错 什么json < 什么的。忘记截图了
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,并没有上传到蒲公英
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.