Login

Appcast Automation in Xcode

Article Index
Appcast Automation in Xcode
Added features
Create YAML file
Variable Explanation
Ruby Script
All Pages

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.



Comments  

 
0 # 2010-03-29 14:36
Hey,

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.
Reply | Reply with quote | Quote
 
 
0 # Craig Williams 2010-05-12 12:19
@Andraes - Thanks for the tip. It is now part of the script!
Reply | Reply with quote | Quote
 
 
0 # 2010-05-24 11:04
Where can I download this now? The link above fails and the github link doesn't exist :(
Reply | Reply with quote | Quote
 
 
0 # Craig Williams 2010-05-24 11:22
@Josh - The link has now been fixed.
Reply | Reply with quote | Quote
 
 
0 # 2010-05-24 12:25
Any ideas why I'm getting this error:

"/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.
Reply | Reply with quote | Quote
 
 
0 # Craig Williams 2010-05-24 13:42
Have you installed nokogiri ?

sudo gem install nokogiri
Reply | Reply with quote | Quote
 
 
0 # 2010-07-05 20:17
Thanks for the great article

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
Reply | Reply with quote | Quote
 
 
0 # Craig Williams 2010-07-07 05:00
Excellent! Nice job. I like where you are going with this!
Reply | Reply with quote | Quote
 
 
0 # 2010-07-09 03:47
Thanks
I appreciate the feedback ;)
Reply | Reply with quote | Quote
 
 
0 # 2010-09-04 20:28
I enjoyed reading your blog. Keep it that way.
Reply | Reply with quote | Quote
 
 
0 # 2010-10-31 08:48
Sounds cool, but the download link isn't working :(
Reply | Reply with quote | Quote
 
 
0 # Craig Williams 2010-11-15 10:42
Thanks for pointing that out. I have removed the download link and instead put in a link to the GitHub location where the script is stored.
Reply | Reply with quote | Quote
 
 
0 # 2012-06-11 16:11
The file name extension for the config.yaml file is inconsistent in the docs and and the script.

The instructions say to create a file named config.yaml. The script accesses config.yml.
Reply | Reply with quote | Quote
 
 
0 # Craig Williams 2012-06-11 19:30
@chris - Thank you for the information. I have updated the repo.
Reply | Reply with quote | Quote
 

Add comment


Security code
Refresh

 

Product Categories