facebook / infer

A static analyzer for Java, C, C++, and Objective-C
http://fbinfer.com/
MIT License
14.96k stars 2.02k forks source link

build faild with macro 'RACObserve' #960

Open Dreamsouls opened 6 years ago

Dreamsouls commented 6 years ago

My project's language is Objective-C. The project can run successfully with Xcode. while I run the command but throw an error about ReactiveCocoa. infer run --keep-going --no-xcpretty -- xcodebuild -workspace RetailHD.xcworkspace \ -scheme RetailHD -configuration Debug -sdk iphonesimulator

the detail about error : image

the detail about code: image

the ReactiveCocoa's version is pod 'ReactiveObjC', '~> 3.1.0' so my question is why the project run failed with infer.

alwayswith commented 6 years ago

I met this problem, too...

Echo-Joker commented 5 years ago

I have the same problem.....

zhangao0086 commented 5 years ago

+1

shanksGuo commented 5 years ago

I went the same issue. According to the RACObserve definition, it build failed because the __clang_major__<8. The clang Infer user is in facebook-clang-plugins and it is 7.0.1. image