Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update CocoaPod spec with the new 0.4.0 build #22

Closed
ivolo opened this issue Jun 19, 2013 · 6 comments
Closed

Update CocoaPod spec with the new 0.4.0 build #22

ivolo opened this issue Jun 19, 2013 · 6 comments
Assignees

Comments

@ivolo
Copy link
Contributor

ivolo commented Jun 19, 2013

No description provided.

@ghost ghost assigned reinpk Jun 19, 2013
@reinpk
Copy link
Contributor

reinpk commented Jul 4, 2013

removed cocoapod spec since it is now distributed as a framework.

@reinpk reinpk closed this as completed Jul 4, 2013
@mbaltaks
Copy link

What would be wrong with having both a cocoapod spec and a framework? Right now, the framework bundles a bunch of libraries, but without their headers, meaning you get linker errors when trying to use any of those libraries yourself. You've namespaced Reachability (#31) (and now we have two copies of the lib compiled in) but what about using another? I'm trying to use another Google analytics account for technical analytics (as opposed to business analytics which are for another company) but removing the cocoapod spec makes that more difficult than it was.

@reinpk
Copy link
Contributor

reinpk commented Jul 15, 2013

@mbaltaks i'm not sure this solves your problem but having a podspec was important for many users, so I went and re-added a new spec that pulls in the framework: https://github.com/CocoaPods/Specs/blob/master/Analytics/0.5.2/Analytics.podspec

it sounds like you're looking for individual control of the libraries/avoiding conflicts... https://developers.google.com/analytics/devguides/collection/ios/v2/advanced is the only thing I've seen about multiple trackers with GA. is that not possible with the framework?

we're pretty set on the framework rather than installing many cocoapods, but let me know if there's another way around this issue.

@mbaltaks
Copy link

I didn't look to see if this library provides access to the parts of the Google Analytics api that allows a second tracker ID, instead I've moved to using ARAnalytics, which deliberately uses Cocoapods and local libraries. I had thought segment.io was sending the analytics from the server side, but the inclusion of a set of client libraries seems to indicate that the server is just providing the client with a set of providers that the client should send directly to. Which means it's not too different to just sign up for a bunch of providers and use the client only solution of ARAnalytics.

I could have used your framework, and included the headers for libraries you've bundled in so I could use them myself, but trying to keep those headers in sync could be a problem, and it's just not the right way to do it. Perhaps bundling the headers for the included libs with the framework might help here? But I suspect there aren't many who would need this.

In any case, thanks for the response.

@reinpk
Copy link
Contributor

reinpk commented Jul 19, 2013

Got it, yeah I suspect your use case is a bit specialized, and ARAnalytics is probably a better fit.

Our library actually does a mix of client libraries and server proxying. Some services (Flurry, Mixpanel, Countly, Google Analytics, ...) have iOS SDKs that collect information in very particular ways, or no REST APIs. So we bundle those client libraries.

Other services though, don't have iOS SDKs like Customer.io, Woopra, Marketo, HubSpot, Salesforce, ... and for those services we proxy the data through our servers.

So Segment.io gives access to quite a number of services not available through ARAnalytics. We also store a complete log of all the data you send so that you can (1) replay the data into a new service you want to try, (2) export the data for custom analysis at a later date.

Hope that clarifies things a bit :) cheers!

@mbaltaks
Copy link

@reinpk Thanks for the extra detail!

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

No branches or pull requests

3 participants