segment-integrations / analytics-ios-integration-amplitude

The Amplitude analytics-ios integration.
MIT License
11 stars 45 forks source link

Unable to integrate: "target has transitive dependencies that include statically linked binaries: (Analytics)" #92

Open cerupcat opened 3 years ago

cerupcat commented 3 years ago

At some point, things were working, so I'm not sure what changed recently. When adding this pod, I'm receiving the final error from cocoapods:

[!] The 'Pods-MOJO' target has transitive dependencies that include statically linked binaries: (Analytics)

This seems to relate to using use_frameworks! in cocoapods. Removing that causes another error the #import <Segment/SEGAnalytics.h> can't be found.

tfe commented 3 years ago

I resolved this by updating CocoaPods from 1.10.0 to 1.10.1. 🤷

tfe commented 3 years ago

Sorry! That didn't actually fix it. I have this problem too.

superzadeh commented 3 years ago

I have the same problem as well.

wvabrinskas commented 3 years ago

I am on 1.10.1 and this issue is still persistent. I ran:

rm -rf ./Pods/* pod deintegrate pod cache clean --all pod install --repo-update

Still receiving this issue:

[!] The 'Pods-Redacted' target has transitive dependencies that include statically linked binaries: (Analytics)

I am aiming at the latest version of Analytics as well.

atov commented 3 years ago

🤔 I have the same issue

cocoapods 1.10.1 Analytics 4.1.2 & 4.1.3

Any news about it?

Just noticed about https://github.com/segmentio/analytics-ios/issues/991