Appcast Automation in Xcode
| Article Index |
|---|
| Appcast Automation in Xcode |
| Added features |
| Create YAML file |
| Variable Explanation |
| Ruby Script |
| All Pages |
Page 1 of 5
Update!
Thursday March 19, 2009
Special thanks to Ralph Manns for providing the Ruby code to sign the application. Thanks Ralph!
Ralph has also added some functionality to DrNic's ChocTop.
Added an easy install AppleScript near the end of the article.
This is an article expanding on Marc Liyanage’s excellent post - Sparkle Appcast Automation in Xcode.
Very cool!.
In his article, Marc uses a bash script to automate the process of signing your Sparkle enabled app and explains how to put your private and public keys in your keychain. I wrote a Ruby version that extends this functionality to include a few more options…
IMPORTANT:You will need to read Marc's article first before moving on to this one.
Prev - Next >>

Comments
thanks for this great script!
Small hint: the zip command resolves symlinks. So if you have frameworks in your project the file size will increase pretty much.
I replaced the zip command with this:
`ditto -c -k --keepParent -rsrc "#{@proj_name}.app" "#{@archive_file name}" `
and it works perfectly now.
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_r equire': no such file to load -- nokogiri (LoadError)"
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
It's like it's not running the script in the ruby bash? I'm confused.
sudo gem install nokogiri
I liked your script so much and saw a lot of potential for expansion with it so I added my own features which include "multi-project" aware and a few other tweaks.
Considering I did not know ruby when I found your script I think its an ok start ;)
here is the link to my Blog page with it.
blindgenius.wordpress.com/.../...
Thanks again
I appreciate the feedback ;)
The instructions say to create a file named config.yaml. The script accesses config.yml.
RSS feed for comments to this post.