iziz / libPhoneNumber-iOS

iOS port from libphonenumber (Google's phone number handling library)
Apache License 2.0
2.36k stars 465 forks source link

Conflict name with Carthage and Cocoapods #260

Open grifas opened 5 years ago

grifas commented 5 years ago

I created a cocoa touch framework that uses your libPhoneNumber-iOS as a dependency. I can import in my file:

import libPhoneNumberiOS

All is fine, I can install my framework in a project from Carthage.

My issue is when I install my framework in a project from Cocoapods. At building project, in my pod, it doesn't find import libPhoneNumberiOS but it want import libPhoneNumber-iOS with a -.

In my podspec: s.dependency 'libPhoneNumber-iOS'

How can I have the same name for the 2 managers ?

LinusU commented 5 years ago

Raised an issue with CocoaPods for a similar problem here: https://github.com/CocoaPods/CocoaPods/issues/8600

grifas commented 5 years ago

Thanks @LinusU but it seems not to be the same issue. I don't want to change my framework module name, but want to change the dependency module name.

why are there two different name (libPhoneNumberiOS and libPhoneNumber-iOS) ?