pusher/libPusher

xcodebuild errors regarding class selectors that exist but not found

blackjackfruit opened this issue · 0 comments

I have a class and instance functions that are inside a custom NSData category which are named...

  • (NSString *)base64EncodedString;
  • (NSData *)base64DecodedData:(NSString *)encodedText;

When I issue 'pod spec lint' on my podspec I get the following errors...

  • ERROR | [iOS] xcodebuild: Headers/Private/MyFramework/UIDevice+Category.h:526:34: error: no known class method for selector 'base64DecodedData:'
  • ERROR | [iOS] xcodebuild: Headers/Private/MyFramework/UIDevice+Category.h:851:20: error: no visible @interface for 'NSMutableData' declares the selector 'base64EncodedString'

I have imported the header, NSData+Base64.h, in the beginning of my UIDevice+Category.h file and later I call the functions inside a static inline function.

Is this a problem on my side or a bug?