Xcode / IOS 中的 Crashlytics beta 发行版
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26640741/
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
Crashlytics beta distribution in Xcode / IOS
提问by Phil Mitchell
Trying to figure out how to do beta test distribution via Crashlytics. 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.
试图弄清楚如何通过 Crashlytics 进行 beta 测试分发。他们的神秘指令表明您所要做的就是“为存档而构建”,但该命令不再存在。我已经创建了一个存档(产品 => 存档)并导出了临时版本,但 Crashlytics 没有选择它。
How do I upload a release?
如何上传版本?
回答by Jim Puls
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”:
回答by nmh
Quit the Mac app, then run this command to clear the local cache:
退出 Mac 应用程序,然后运行此命令以清除本地缓存:
rm -rf ~/Library/Caches/com.crashlytics.mac
rm -rf ~/Library/Caches/com.crashlytics.mac
回答by Phil Mitchell
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 [email protected],[email protected] -notesPath ~/Notes/ReleaseNotes.txt -groupAliases ?GroupAlias,GroupAlias2?
我从来没有让本地应用程序工作,但使用这个命令行方法确实成功了: /path/to/Crashlytics.framework/submit <API_KEY> <BUILD_SECRET> -ipaPath /path/to/my.ipa -emails [email protected],[email protected] -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
回答by Lytic
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. :)
每次都有效。:)
回答by Yulia
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). Then I copied .xcarchive to my local machine with installed Fabric plugin. But it was not apeared in ARCHIVE section.
我有一个类似的问题。我尝试将构建上传到 Fabric,在构建服务器上手动构建 .xcarchive(自动构建存在一些问题,因此手动执行)。然后我将 .xcarchive 复制到安装了 Fabric 插件的本地机器上。但它没有出现在 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)。