Xcode5 post-archive script for Sparkle package no longer works

Posted by Flyingdiver on Stack Overflow See other posts from Stack Overflow or by Flyingdiver
Published on 2013-11-07T03:48:04Z Indexed on 2013/11/07 3:53 UTC
Read the original article Hit count: 259

Filed under:
|
|
|
|

Xcode 5 seems to have changed the way it stores the build application package (xxx.app) such that ditto no longer works. In the ../BuildProductsPath/Release/ directory, the app is actually a symlink to .../InstallationBuildProductsLocation/Applications/...

MyApp.app -> ~/Library/Developer/Xcode/DerivedData/MyApp-emwilkqhlayanxahjpexlpbbkato/Build/Intermediates/ArchiveIntermediates/MyApp/InstallationBuildProductsLocation/Applications/MyApp

This breaks the ditto command I was using to create a zip file of the application to put on my Sparkle update server.

Anyone have an updated script for building the Sparkle XML and ZIP files? Or know what environment variable I need to use to locate my actual binary after the Archive phase?

© Stack Overflow or respective owner

Related posts about xcode

Related posts about osx