zhangying19871987

Results comments of zhangying19871987

if I use the command infer --incremental -- xcodebuild -workspace QQNews.xcworkspace -scheme QQNews -configuration Debug -sdk iphonesimulator CLANG_ENABLE_MODULES=YES build failed message like that: While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer...

After I edit the line, I got the same error as follows: clang -cc1as: error: error reading '/var/folders/yt/mcn2wbd112g1pyjcn84h4c3h0000gn/T/darwin64_x86_64-08684d.s' Command /Users/selmazhang/workspace/infer-osx-v0.9.2/infer/lib/python/inferlib/../../../lib/xcode_wrappers/clang failed wi th exit code 1 *\* BUILD FAILED **...

Xcode 7.3 Build version 7D175

I comment the line in infer/lib/clang_wrappers/hijack_and_normalize_clang_command.sh I change the line sed -e "s#^[[:space:]]\"([^\"]_)\" \"-cc1\" (._)\$# \"$CLANG_CC1_CAPTURE\" \"-cc1\" \2#g" | \ to #sed -e "s#^[[:space:]]\"([^\"]_)\" \"-cc1\" (._)\$# \"$CLANG_CC1_CAPTURE\" \"-cc1\" \2#g" |...

The problem is I got the error when I compile my ios project clang -cc1as: error: error reading '/var/folders/yt/mcn2wbd112g1pyjcn84h4c3h0000gn/T/darwin64_x86_64-08684d.s' Command /Users/selmazhang/workspace/infer-osx-v0.9.2/infer/lib/python/inferlib/../../../lib/xcode_wrappers/clang failed wi th exit code 1 *\* BUILD FAILED...

I try not executing -cc1as commands by inserting this line right after the sed line ``` grep -v "\"-cc1as\"" | \ ``` and I got error as well: /Users/selmazhang/workspace/news_ios_codeCheck/QNCore/QNCore/QNCrashGuard/3rd/JSPatch/Extensions/JPCFunction/libffi/src/ar m/trampoline_armv7.S:3:1:...

It was fixed this issue. Thanks a lot.

please tell me what can I do

The all information that I can give is : I build successful if I just use the commond xcodebuild I build my ios app with command infer,but I got the...