Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crashlytics beta distribution in Xcode / IOS

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.

How do I upload a release?

like image 647
Phil Mitchell Avatar asked Oct 29 '14 21:10

Phil Mitchell


3 Answers

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":

enter image description here

like image 114
Jim Puls Avatar answered Oct 20 '22 20:10

Jim Puls


Quit the Mac app, then run this command to clear the local cache:

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

like image 38
nmh Avatar answered Oct 20 '22 20:10

nmh


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

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

like image 2
Phil Mitchell Avatar answered Oct 20 '22 20:10

Phil Mitchell