You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some projects contains not only .m an .h files, but .d files also
When in main Podfile we're setting inhibit_all_warnings! it will automatically add flags << '-w -Xanalyzer -analyzer-disable-checker' flags << '-fobjc-arc'
for all files that were specified in podspec.
This is ok for '.m, .mm' files but is definetely not ok for '.d' files.
So suggestion is to check for which files we're adding these flags, and skip ".d" files or add flags for .m, .mm, .c files only .
Some projects contains not only .m an .h files, but .d files also
When in main Podfile we're setting inhibit_all_warnings! it will automatically add
flags << '-w -Xanalyzer -analyzer-disable-checker'
flags << '-fobjc-arc'
for all files that were specified in podspec.
This is ok for '.m, .mm' files but is definetely not ok for '.d' files.
So suggestion is to check for which files we're adding these flags, and skip ".d" files or add flags for .m, .mm, .c files only .
File were changes is need to be performed:
https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/installer/target_installer/pod_target_installer.rb
As far as I see for now flags are generated for all files those are related for consumer. But somehow there's a need to skip files with .d
EXAMPLE of the fix is here (Sorry, I'm not a rubyist or something)
PaulTaykalo@fa039c1
Issue that relates to this CocoaPods behaviour.
ReactiveCocoa/ReactiveCocoa#866
The text was updated successfully, but these errors were encountered: