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

Different names in Package.swift and Podfile #13

Closed
jnewc opened this issue Feb 27, 2017 · 3 comments
Closed

Different names in Package.swift and Podfile #13

jnewc opened this issue Feb 27, 2017 · 3 comments

Comments

@jnewc
Copy link

jnewc commented Feb 27, 2017

The inconsistency in naming (Rainbow / RainbowSwift) makes it difficult to build the same project using Xcode and SPM, without editing imports to one or the other.

@onevcat
Copy link
Owner

onevcat commented Feb 27, 2017

Why do you need to build it with both SPM and CocoaPods?

@jnewc
Copy link
Author

jnewc commented Feb 27, 2017

I'm generating code coverage data with Xcode but building and running with SPM.

@onevcat
Copy link
Owner

onevcat commented Feb 27, 2017

Since the name of Rainbow is already taken by another framework in the central CocoaPods repo, so we could not use that name anymore.

A workaround would be copying the podspec file to your own project, modifying the s.name from "RainbowSwift" to "Rainbow" and then use your own podspec to integrate:

pod 'Rainbow', :podspec => 'https://your-repo.com/Rainbow.podspec'

@onevcat onevcat closed this as completed Mar 28, 2017
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