orta / ARAnalytics

Simplify your iOS/Mac analytics
MIT License
1.84k stars 217 forks source link

Pod uses the deprecated version of Flurry #217

Closed etolstoy closed 8 years ago

etolstoy commented 8 years ago

Hi! Thanks for a great analytics library - it's very fun and easy to use!

It seems that you're using a deprecated version of Flurry SDK:

My Podfile:

pod 'ARAnalytics', '~> 3.8', :subspecs => ["Flurry"]

Console output:

Using ARAnalytics (3.8.0)
Using FlurrySDK (6.7.0)
...
Using FlurrySDK (6.7.0) [!] FlurrySDK has been deprecated in favor of Flurry-iOS-SDK

Am I doing something wrong?

orta commented 8 years ago

You might need to do a pod update ARAnalyicsor ARANalytics/Flurry - we now point to the new Flurry library: https://github.com/orta/ARAnalytics/blob/master/ARAnalytics.podspec#L17

orta commented 8 years ago

ah it's not been shipped yet, and I'm flying most of today, you'll need to use :head to use the latest master

etolstoy commented 8 years ago

@orta Thanks a lot for your help!

MigrantP commented 8 years ago

I'm trying to get this to switch to Flurry-iOS-SDK, but it refuses to do so. I've been using ARAnalytics for a while, and nothing I try will make it switch away from FlurrySDK.

The Podfile says: pod 'ARAnalytics', :head, :subspecs => ["Flurry"]

pod install, pod update, pod update ARAnalytics, pod update ARAnalytics/Flurry, all have the same result - FlurrySDK stays. Deleting all the pods and running pod install, Flurry SDK comes back.. I tried cleaning the cache, it still comes back.

I'm on CocoaPods 0.39.0.

orta commented 8 years ago

Hrm, you could try deleting the ARAnalyitcs / FlurrySDK line in your podfile.lock which should re-trigger a force lookup.

Other option is to try pod update ARAnalytics FlurrySDK I'm not too sure how to trigger the resolver to ignore the dependency on Flurry and allow updating to another.

MigrantP commented 8 years ago

No luck. I even tried completely removing CocoaPods from the project and doing a fresh init/install, no luck.

I tried making a brand new test project. Did pod init, and added this to the Podfile: pod 'ARAnalytics', :head, :subspecs => ["Flurry"]

And pod install does:

Updating local specs repositories Analyzing dependencies Downloading dependencies Installing ARAnalytics (HEAD based on 3.8.0) Installing FlurrySDK (6.7.0) Generating Pods project Integrating client project

[!] Please close any current Xcode sessions and use Test.xcworkspace for this project from now on. Sending stats Pod installation complete! There is 1 dependency from the Podfile and 2 total pods installed.

[!] FlurrySDK has been deprecated in favor of Flurry-iOS-SDK

orta commented 8 years ago

Ah! OK So, this is my fault, sorry! So :head uses the trunk podspec, and the latest commit on the related repo. I've pushed a release anyway, but I should have been recommending just using :git =>"https://github.com/orta/ARAnalytics.git"

MigrantP commented 8 years ago

That worked, thanks! I'll switch it back to using the specs repo again.