-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Failed to build iOS project #59
Comments
same error |
I assume it's caused by some third part libraries? I use Cocoapods in most of my projects, some run ok some fail when using Infer, but all of them run build fine will xcodebuild tool directly in command line, which makes me thinking it might be a bug in Infer |
Please try cleaning your builds first with a command like this: |
I clean every time before build |
The detailed error message should be few lines above the one you reported. Could you please paste it if possible? |
In file included from /Users/markddaa/Temp/training_ios/Training/NATViewController.m:27:
|
looks like it caused by beacon functions somehow, I use CoreLocation and CoreBluetooth inside my project. |
what I use: what I got:
|
Hello @markddaa, Thanks |
What I use:
infer --incremental -- xcodebuild -workspace Training.xcworkspace -scheme 'Training' -configuration Debug -sdk iphonesimulator
What I got:
** BUILD FAILED **
The following build commands failed:
CompileC /Users/markddaa/Library/Developer/Xcode/DerivedData/Training-fexrtaxksrhecgdraobzsohhrqly/Build/Intermediates/Training.build/Debug-iphonesimulator/Training.build/Objects-normal/i386/NATViewController.o Training/NATViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
None
=====UPDATED====
I clean every time before build like this:
xcodebuild -workspace Training.xcworkspace -scheme 'Training' -configuration Debug -sdk iphonesimulator clean
The text was updated successfully, but these errors were encountered: