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

Module name is not consistent between Cocoapods and Carthage #128

Closed
amarcadet opened this issue Aug 17, 2016 · 3 comments
Closed

Module name is not consistent between Cocoapods and Carthage #128

amarcadet opened this issue Aug 17, 2016 · 3 comments

Comments

@amarcadet
Copy link
Contributor

I know this is a small issue because there's little chance that people use both installation methods but the module name is ReachabilitySwift with cocoapods (same as podspec name) and Reachability with carthage (as defined in target).

This could be solved by adding s.module_name = 'Reachability' to the .podspec file.
It's a breaking change so I understand that you would consider this issue not relevant for now.

It would also help switchers from both side to migrate their code.

Thanks for your time.

@MontakOleg
Copy link

Hi,
I'm working on library which uses Reachability and can be installed via cocoapods and carthage. So different module names is problem for me.
It would be nice to follow @amarcadet suggestion.

@mrylmz
Copy link

mrylmz commented May 31, 2017

I saw the same issue in another project, and they found a workaround for it, see here.

@hamchapman
Copy link
Contributor

It's now import Reachability for both Cocoapods and Carthage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants