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

CocoaPods 1.0.0 pod lib lint 'libPhoneNumber-iOS/NBPhoneNumber.h' file not found

Open beloso opened this issue 9 years ago • 5 comments

I have a private pod that has libPhoneNumber-iOS as a dependency.

I am trying to run pod lib lint on my podspec and it keeps failing the error sums up to this:

'libPhoneNumber-iOS/NBPhoneNumber.h' file not found

I am importing with

#import <libPhoneNumber-iOS/NBPhoneNumberUtil.h>
#import <libPhoneNumber-iOS/NBPhoneNumber.h>

It builds with out a problem, but it won't lint.

Could it be the - in the name? Is it possible to rename it? libPhoneNumberiOS maybe?

beloso avatar May 16 '16 19:05 beloso

That's too hard to change (It was registered in https://cocoapods.org/pods/libPhoneNumber-iOS)

Anyway, is that file is actually exists at "libPhoneNumber-iOS/NBPhoneNumberUtil...." ?

iziz avatar May 29 '16 17:05 iziz

It is. This is "standard" installation via cocoapods.

beloso avatar May 29 '16 19:05 beloso

hi guys, any news about this?

betzerra avatar Jun 16 '16 20:06 betzerra

I have the same problem, What's the solution?

oneMoreTime1357 avatar Sep 27 '16 15:09 oneMoreTime1357

I still haven't tried it. But perhaps changing to frameworks (use_frameworks! in Cocoapods) and importing with @import libPhoneNumber_iOS might solve it.

beloso avatar Sep 27 '16 15:09 beloso