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

Can't install when using use_frameworks #28

Open
jengo opened this issue Aug 20, 2015 · 1 comment
Open

Can't install when using use_frameworks #28

jengo opened this issue Aug 20, 2015 · 1 comment

Comments

@jengo
Copy link

jengo commented Aug 20, 2015

If I try to install alongside a library that is written in Swift (Like SwiftyJSON) I get the following error:

Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Installing CJPAdController (1.7)
Using DateTools (1.6.1)
Installing Google-Mobile-Ads-SDK (7.4.1)
Using SwiftyJSON (2.2.1)
[!] The 'Pods' target has transitive dependencies that include static binaries: (/Users/jengo/Projects/tests/CJPAdControllertest/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.4.1/GoogleMobileAds.framework)

Installing Google-Mobile-Ads-SDK works fine, but fails when CJPAdController is also listed.

Example Podfile I am using

platform :ios, '8.0'

pod "SwiftyJSON", ">= 2.2"
pod 'CJPAdController'
pod 'DateTools'

use_frameworks!
link_with 'CJPAdControllertest'
@chrisjp
Copy link
Owner

chrisjp commented Sep 27, 2015

Hi, sorry for taking over a month to respond, haven't had time to look into any issues lately. Did you ever find a workaround for this?

I haven't started using Swift yet but I ran into a similar error myself today when trying to push a very minor update to the pod so it forced me to look into it. After researching that as well as this one you're reporting, seems some are blaming Cocoapods while other are blaming Google, so I'm not entirely sure if this is something I can fix myself in CJPAdController.

Are you able to make any of the suggestions in this comment work for you?

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

2 participants