libPhoneNumber-iOS icon indicating copy to clipboard operation
libPhoneNumber-iOS copied to clipboard

Conflict name with Carthage and Cocoapods

Open grifas opened this issue 6 years ago • 2 comments

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 ?

grifas avatar Jan 18 '19 15:01 grifas

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

LinusU avatar Mar 11 '19 17:03 LinusU

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) ?

grifas avatar May 19 '19 12:05 grifas