Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Add Hockeyapp as a distribution channel #1

Closed
chbeer opened this issue Sep 28, 2012 · 4 comments
Closed

Add Hockeyapp as a distribution channel #1

chbeer opened this issue Sep 28, 2012 · 4 comments

Comments

@chbeer
Copy link

chbeer commented Sep 28, 2012

Besides Testflight there's Hockey (http://www.hockeyapp.net) which does (nearly) the same. It would be great if that could be supported for distributing as well.

They have an API: http://www.hockeyapp.net/api

@steipete
Copy link

+1

@Soph
Copy link
Contributor

Soph commented Sep 28, 2012

I just pushed a working version of a HockeyApp plugin to our fork. For now it only uploads the .ipa.

We always recommend uploading the dsym with a build so symbolication will work as soon as the first crash is send to us. I'm not sure how we should accomplish that. Changing build.rb so it would put the .dsym in the project root too (so the distribute script could find the dsym) would be the easiest way. But then there is a another file laying around in the project root.

Right now you will loose the dsym of you last build since the new build will overwrite it (if you don't upload it automatically). So maybe the best way would be to create an .xcarchive and generate the .ipa from that. So the developer will still have the build in his organizer and the second script could just look for the newest archive and generate the .ipa and upload it together with the .dsym. (Here is an example to create the .xcarchive via a shell command: http://stackoverflow.com/questions/2664885/xcode-build-and-archive-from-command-line/7908397#7908397)

In our mac uploader application HockeyMac we create the .ipa from an existing xcarchive (https://github.com/bitstadium/HockeyMac/blob/develop/Classes/CNSArchive.m#L301) This should be easily portable to ruby.

@mattt what do you think?

@Soph
Copy link
Contributor

Soph commented Oct 9, 2012

So I created a pull request with a basic HockeyApp plugin which will upload .ipa and dsym. (If I could have added the pull request to this issue: Sorry, didn't know how and started thinking about it after I created the pull request)

Now the symbolication will work with HockeyApp too. But we still think it would be better to create an .xcarchive so the developer has all data available and doesn't need to rely on any third party service to keep his dsym available.

@mattt
Copy link
Contributor

mattt commented Oct 12, 2012

Really happy to see HockeyApp added for 0.2.0, thanks to @Soph.

@Soph: In ef569f3, I specified xcodebuild to do clean, build & archive (with options to turn clean and archive off). Doing xcodebuild archive generates a .xcarchive file and saves it to the Xcode organizer. I think this is great behavior to encourage as the default, to keep a paper trail of releases (again, with the option to turn that off, if needed).

@mattt mattt closed this as completed Oct 12, 2012
mattt pushed a commit that referenced this issue Oct 24, 2012
Fix problem building ipa if there are multiple targets in a configuration
mattt pushed a commit that referenced this issue Nov 13, 2013
Fix problem building ipa if there are multiple targets in a configuration
mattt pushed a commit that referenced this issue Mar 26, 2014
Fixing plist detection in distribute:ftp command
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants