简体   繁体   English

Xcode / IOS中的Crashlytics beta发行版

[英]Crashlytics beta distribution in Xcode / IOS

Trying to figure out how to do beta test distribution via Crashlytics. 试图弄清楚如何通过Crashlytics进行beta测试分发。 Their cryptic instructions state that all you have to do is "build for archive" but that command doesn't exist anymore. 他们的神秘指令说明你所要做的就是“为存档构建”但该命令不再存在。 I've created an archive (Product => Archive) and exported ad hoc release, but Crashlytics doesn't pick it up. 我已经创建了一个存档(Product => Archive)并导出了ad hoc版本,但Crashlytics没有提取它。

How do I upload a release? 如何上传版本?

If the app doesn't pick up your new archive, the way to manually distribute it is a little hidden. 如果应用程序没有提取您的新存档,则手动分发它的方式有点隐藏。 On the Beta tab in the app, first click "ACTIVE", then click "ARCHIVES": 在应用程序的Beta选项卡上,首先单击“ACTIVE”,然后单击“ARCHIVES”:

在此输入图像描述

退出Mac应用程序,然后运行此命令以清除本地缓存:

rm -rf ~/Library/Caches/com.crashlytics.mac

I never got the local app to work, but did succeed using this command line approach: /path/to/Crashlytics.framework/submit <API_KEY> <BUILD_SECRET> -ipaPath /path/to/my.ipa -emails TestEmail@crashlytics.com,AmazingTester@twitter.com -notesPath ~/Notes/ReleaseNotes.txt -groupAliases GroupAlias,GroupAlias2 我从未使用本地应用程序,但使用此命令行方法成功: /path/to/Crashlytics.framework/submit <API_KEY> <BUILD_SECRET> -ipaPath /path/to/my.ipa -emails TestEmail@crashlytics.com,AmazingTester@twitter.com -notesPath ~/Notes/ReleaseNotes.txt -groupAliases GroupAlias,GroupAlias2

Taken from: http://support.crashlytics.com/knowledgebase/articles/370383-how-do-i-use-ios-build-servers-with-beta 取自: http//support.crashlytics.com/knowledgebase/articles/370383-how-do-i-use-ios-build-servers-with-beta

I have this problem whenever I delete an archive in xcode... the next archive action fails to trigger the distribution option and it hangs next time I do try to distribute... 每当我删除xcode中的存档时,我都会遇到此问题...下一个存档操作无法触发分发选项,并且下次尝试分发时会挂起...

I fix it by restarting xcode, cleaning the project, running the crashlytics installation (cmd+b, cmd+r when prompted, no new tokens necessary), then clicking archive again. 我通过重新启动xcode,清理项目,运行crashlytics安装(cmd + b,cmd + r,出现提示,不需要新的令牌),然后再次单击存档来修复它。

Works every time. 每次都有效。 :) :)

I have a similar problem. 我有一个类似的问题。 I tried to upload build to Fabric manually building .xcarchive manually on build server (it was some problems with automatically build, so it was executed manually). 我试图在构建服务器上手动构建.xcarchive上传构建到Fabric(这是自动构建的一些问题,因此它是手动执行的)。 Then I copied .xcarchive to my local machine with installed Fabric plugin. 然后我将.xcarchive复制到我安装了Fabric插件的本地机器上。 But it was not apeared in ARCHIVE section. 但它在ARCHIVE部分并没有出现。

To solve this problem you should double-click .xcarchive to add it to Xcode Orginizer (Xcode > Window > Organizer). 要解决此问题,您应双击.xcarchive将其添加到Xcode Orginizer(Xcode> Window> Organizer)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM