ios 如何将 IPA 文件上传到新的 testflight?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28824714/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to upload IPA file to new testflight?
提问by Jan
I have my app first version released in app store. Currently I'm working on the second version, earlier i was used Test flight for importing IPA file for testers. But for now They are shutdown and moved into iTunes Store. So my doubts regarding new methods are:
我在应用商店发布了我的应用程序第一个版本。目前我正在研究第二个版本,早些时候我使用了测试飞行来为测试人员导入 IPA 文件。但目前他们已关闭并转移到 iTunes Store。所以我对新方法的怀疑是:
- How to upload test builds (IPA)
- I need to import many test builds to attain stable one. Is that possible here?
like as test flight - Shall I need to change version number of test build each and every time?
- Since i have already released version 1, Is it possible to use same name for test build?
- 如何上传测试版本 (IPA)
- 我需要导入许多测试版本才能获得稳定的版本。这里有可能吗?
就像试飞一样 - 我是否需要每次都更改测试版本的版本号?
- 由于我已经发布了版本 1,是否可以使用相同的名称进行测试构建?
采纳答案by Thorsten
1.) In Xcode Product -> Archive and then submit to itunesconnect. (as if you submit it for a new release)
1.) 在Xcode Product -> Archive 然后提交到itunesconnect。(就好像您将其提交给新版本一样)
2.) yes, no problem. All new uploaded builds are "prerelease". When you'd like to submit it to the AppStore you choose one of the prerelease-builds.
2.) 是的,没问题。所有新上传的构建都是“预发布”。当您想将其提交到 AppStore 时,您可以选择其中一种预发布版本。
3.) no, I keep the same version number for all new builds but I increase the build number (you can do that automatically by adding a new run script build phase:
3.) 不,我为所有新构建保留相同的版本号,但我增加了构建号(您可以通过添加新的运行脚本构建阶段来自动执行此操作:
buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${PROJECT_DIR}/${INFOPLIST_FILE}")
buildNumber=$(($buildNumber + 1))
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "${PROJECT_DIR}/${INFOPLIST_FILE}"
)
)
4.) yes, just increase the version number to 1.1 and upload it with the same bundle identifier.
4.) 是的,只需将版本号增加到 1.1 并使用相同的包标识符上传它。
Edit: Screenshot
编辑:截图
回答by Claudio Guirunas
React Native Case Using Expo:
使用 Expo 响应 Native Case:
In Xcode 9.3 go to:
在 Xcode 9.3 中转到:
Xcode > Open Developer Tool > Application Loader
Log in with your AppleID.*
Now you can import and upload your .ipa file to iTunesConnect.*
使用您的 AppleID 登录。*
现在您可以导入您的 .ipa 文件并将其上传到 iTunesConnect。*
Keywords: react-native, expo, .ipa, testFlight, Apple Store, Standalone, iOS
关键词:react-native, expo, .ipa, testFlight, Apple Store, Standalone, iOS
回答by Claudio Guirunas
React Native Case Using Expo:
使用 Expo 响应 Native Case:
In Xcode 11you'll need to upload
the IPA file
using command line
:
在Xcode中11,您需要upload
的IPA file
使用command line
:
$ xcrun altool --upload-app --type ios --file <IPA_FILE_THAT_YOU_HAVE_UPLOAD_FROM_EXPO_BUILD> --username "YOUR_APPLE_ID_USER" --password "YOUR_ITMC_PASSWORD"
Example:
例子:
$ xcrun altool --upload-app --type ios --file demo-app-1d7ce261-c1ef-47e2-8925-02828bb73418-archive.ipa --username "[email protected]" --password "tcxp-wwzq-ujse-decv"
NOTE:
The
YOUR_APPLE_ID_USER
, usually, is your iCloud email that you use to log in your Apple-Developer-Account.The
YOUR_ITMC_PASSWORD
isNOT
thepassword
of your iCloud account. You have to generate it at https://appleid.apple.com/account/managepage:
笔记:
的
YOUR_APPLE_ID_USER
,通常是你的iCloud电子邮件,您使用登录您的苹果开发者账户。该
YOUR_ITMC_PASSWORD
是NOT
对password
iCloud帐户。您必须在https://appleid.apple.com/account/manage页面生成它: