Closed iwill closed 8 years ago
This is not wrong, the linters are testing your libraries as frameworks, and as frameworks they must be correctly named as clang modules. Clang modules don't support -
as a character.
You can skip linting as frameworks, by using --use-libraries
but you will end up with something that doesn't work in Swift.
Got it, thank you!
Report
What did you do?
pod spec lint
andpod repo push
What did you expected to happen?
The result of validation should be success.
What happened instead?
But it failed. The error is
NSString-UrlEncode
is a pod framework.Its
PRODUCT_NAME
in pod project isNSString-UrlEncode
whenpod install
, so I useBut its
PRODUCT_NAME
in pod project isNSString_UrlEncode
whenpod spec lint
andpod repo push
, I must useWhich is wrong?
CocoaPods Environment
[in /Users/iwill/Developer/ios/M9Dev]
Stack
Installation Source
Plugins
Podfile
Project that demonstrates the issue
https://github.com/iwill/M9Dev/releases/tag/0.0.13