ios - Build error with Xcode 6 and (possibly) cocoapods -
i'm getting following static analyzer error when building ios project using cocoapods latest xcode 6 gm release.
error: error reading 'pic' error: no analyzer checkers associated '-mrelocation-model' 2 errors generated. command /applications/xcode6-beta6.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/clang failed exit code 1
i can disable static analyzer, don't want that. know how fix ( or workaround ) , causing error?
it appears known issue fix in queue next version of cocoapods. check out bug report more info.
supposedly can work around in meantime re-enabling warnings (e.g remove inhibit_all_warnings
podspec).
alternatively, , turned out real problem me, had deprecated flag set on couple of files. removed these flags , build succeeded.
Comments
Post a Comment