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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 05:05:20  来源:igfitidea点击:

How to upload IPA file to new testflight?

iostestflightipa

提问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。所以我对新方法的怀疑是:

  1. How to upload test builds (IPA)
  2. I need to import many test builds to attain stable one. Is that possible here?
    like as test flight
  3. Shall I need to change version number of test build each and every time?
  4. Since i have already released version 1, Is it possible to use same name for test build?
  1. 如何上传测试版本 (IPA)
  2. 我需要导入许多测试版本才能获得稳定的版本。这里有可能吗?
    就像试飞一样
  3. 我是否需要每次都更改测试版本的版本号?
  4. 由于我已经发布了版本 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

编辑:截图

One version, multiple builds

一个版本,多个版本

回答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

enter image description here

在此处输入图片说明

  1. Log in with your AppleID.*

  2. Now you can import and upload your .ipa file to iTunesConnect.*

  1. 使用您的 AppleID 登录。*

  2. 现在您可以导入您的 .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 uploadthe IPA fileusing command line:

Xcode中11,您需要uploadIPA 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_PASSWORDis NOTthe passwordof your iCloud account. You have to generate it at https://appleid.apple.com/account/managepage:

笔记:

YOUR_APPLE_ID_USER,通常是你的iCloud电子邮件,您使用登录您的苹果开发者账户。

YOUR_ITMC_PASSWORDNOTpasswordiCloud帐户。您必须在https://appleid.apple.com/account/manage页面生成它:

enter image description here

在此处输入图片说明

回答by Yuvrajsinh

Apple stopped for using Testflightdirectly as it was before.

苹果不再Testflight像以前那样直接使用。

So now you have to upload build to iTunesConnectand make it enable for Testflight Testing.

所以,现在你要上传的构建中iTunesConnect,并使其启用Testflight Testing

You can refer document for that from hereand here.

你可以从这里这里参考文档。