-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lint failed on an Objective C++ framework #6410
Comments
@wuwen1030 this problem occurs because the generated This can be fixed if #5677 lands which will disable the link phase when linting and will allow you to publish. An ugly hack is to use: s.xcconfig = {
'EXCLUDED_SOURCE_FILE_NAMES' => 'main.m'
}
s.pod_target_xcconfig = {
'CLANG_CXX_LANGUAGE_STANDARD' => 'gnu++11',
'CLANG_CXX_LIBRARY' => 'libc++'
} In your podspec. |
@dnkoutso Thanks a lot for your advice. I have tried that, but I still failed with the follow error.
|
@wuwen1030 this might be because the app target is empty now...my best guess is that #5677 lands. i'll try and land it for you this week. |
@wuwen1030 confirmed the PR fixes your issue:
Will try to land it for 1.2.0.rc.2 |
@dnkoutso Cool, awesome. Thank you very much again. |
@wuwen1030 looks like this will land in 1.2.1 instead. |
@wuwen1030 merged. Should ship after 1.2.0 (most likely 1.2.1...) which includes |
Closing for now. |
Report
What did you do?
pod trunk push
What did you expect to happen?
My spec was pushed successfully.
What happened instead?
I got a lint error.
However, I have successfully built my project with
xcodebuild
, and linting passed with version 0.39.0. I don't know why linting failed with 1.1.1.CocoaPods Environment
Stack
Installation Source
Plugins
Project that demonstrates the issue
VZFlexLayout https://github.com/Vizzle/VZFlexLayout
The text was updated successfully, but these errors were encountered: