Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cocoapods support #190

Closed
tonyxiao opened this issue Jul 23, 2012 · 12 comments
Closed

Cocoapods support #190

tonyxiao opened this issue Jul 23, 2012 · 12 comments

Comments

@tonyxiao
Copy link

Is Sparkle compatible with Cocoapods? I'm surprised to find that there's no pod spec for sparkle yet.

@andymatuschak
Copy link
Contributor

It's not, at least insofar as I could figure out: CocoaPods compiles the libraries into a single .a file, which won't work for Sparkle because it needs to additionally compile an external helper executable to actually perform the copy and relaunch steps (an app can't overwrite itself while running).
On Jul 22, 2012, at 7:08 PM, tonyxiao reply@reply.github.com wrote:

Is Sparkle compatible with Cocoapods? I'm surprised to find that there's no pod spec for sparkle yet.


Reply to this email directly or view it on GitHub:
#190

@ohsc
Copy link

ohsc commented Jan 8, 2013

hi @andymatuschak, cocoaPods supports frameworks. You may consider to generate the Sparkle.framework file. Then submit it to cocoapods like this:
https://github.com/ohsc/Specs/blob/master/Parse/1.1.25/Parse.podspec

@andymatuschak
Copy link
Contributor

It's not enough to just make a framework: Sparkle is a framework which contains a .app that is also itself compiled as part of the project.

@nschum
Copy link

nschum commented Jan 16, 2013

@andymatuschak I think @ohsc means you should consider publishing a new framework binary (i.e. newer than 1.5b6). CocoaPods can easily integrate these, no matter what they contain.

I have already created a working pod spec for 1.5b6, but I'm hesitant to push it, because that version is so old (and Debug builds don't work because of an old bug).

@andymatuschak
Copy link
Contributor

Ah. Now that is indeed something I should do. I guess I'm hesitant to do it without sandboxing support, but I'm also not really making any progress on that, so maybe I should just do it.

On Jan 16, 2013, at 2:36 PM, Nikolaj Schumacher notifications@github.com wrote:

@andymatuschak I think @ohsc means you should consider publishing a new framework binary (i.e. newer than 1.5b6). CocoaPods can easily integrate these, no matter what they contain.

I have already created a working pod spec for 1.5b6, but I'm hesitant to push it, because that version is so old (and Debug builds don't work because of an old bug).


Reply to this email directly or view it on GitHub.

@tonyxiao
Copy link
Author

@nschum do you still have the podspec for 1.5b6 handy? I'd love to integrate sparkle using cocoapods and would appreciate a starting point.

@nschum
Copy link

nschum commented Mar 17, 2013

There's really not much "integrating" in the spec. It's just an automated way of downloading the framework and adding it.

Without an official version number and binary, there's so much manual work involved (compiling the binary, maintaining versions) that there's really no point in using CocoaPods just to copy it.

Look at this pod to get an idea how it works:
https://github.com/CocoaPods/Specs/blob/master/Dropbox-OSX-SDK/1.3.3/Dropbox-OSX-SDK.podspec

@webcracy
Copy link

I just released a RubyMotion gem to make it even easier to integrate with Sparkle (motion-sparkle).

The solution I've used to distribute Sparkle.framework is dubious.

I'd love to use a CocoaPod, even if it is just to download and copy the framework. Maintaining a repository with just that code could be worth it at scale, even though the ideal would be to have a podspec.

So I write to express my support for this issue and to ask for more pointers on how to tackle it.

@andymatuschak, big thanks for Sparkle!

@neoneye
Copy link

neoneye commented Jan 11, 2014

👍

1 similar comment
@besi
Copy link

besi commented Mar 1, 2014

+1

@federicocappelli
Copy link

A pod would be appreciated :)

@kornelski
Copy link
Member

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants