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

pod install fails if pod not used by concrete target #58

Open
openreply-dleinhaeuser opened this issue Apr 13, 2017 · 2 comments
Open

Comments

@openreply-dleinhaeuser
Copy link

cocoapods version 1.2.1
cocoapods-rome version 0.8.0

Given a Podfile like the following:

platform :osx, '10.10'
use_frameworks!

plugin 'cocoapods-rome'

pod 'XcodeEditor'

I would expect pod install to download the XcodeEditor pod and install it in the Rome folder.
Instead I get the following error:

> bundle exec pod install
Analyzing dependencies
[!] The dependency `XcodeEditor` is not used in any concrete target.
@orta
Copy link
Member

orta commented Apr 13, 2017

This is CocoaPods raising an error before Rome can run it's pre-installer. To make this work, Rome would need to suppress this warning.

@jugutier
Copy link
Contributor

@openreply-dleinhaeuser you can get your frameworks with just a Podfille but you have to specify some target on it even if it doesn't exist just to get cocoapods to not complain.
See my example here: #67

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