Skip to content
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

infer run -- clang xxx/Hello.m error #1879

Open
iOSyifeng opened this issue Dec 5, 2024 · 0 comments
Open

infer run -- clang xxx/Hello.m error #1879

iOSyifeng opened this issue Dec 5, 2024 · 0 comments

Comments

@iOSyifeng
Copy link

Capturing in make/cc mode...
ld: Undefined symbols:
OBJC_CLASS$_NSObject, referenced from:
OBJC_CLASS$_Hello in Hello-05624f.o
OBJC_METACLASS$_NSObject, referenced from:
OBJC_METACLASS$_Hello in Hello-05624f.o
OBJC_METACLASS$_Hello in Hello-05624f.o
__objc_empty_cache, referenced from:
OBJC_METACLASS$_Hello in Hello-05624f.o
OBJC_CLASS$_Hello in Hello-05624f.o
_main, referenced from:

Error: the following clang command did not run successfully:
/usr/bin/ld -demangle -lto_library
/Users/maple/Downloads/infer-osx-arm64-v1.2.0/lib/infer/facebook-clang-plugins/clang/install/lib/libLTO.dylib
-no_deduplicate -dynamic -arch arm64 -platform_version macos 14.0.0 14.2
-syslibroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
-o a.out /var/folders/2l/4w4bbwls6tn4rmwv1wwv_xmm0000gn/T/Hello-05624f.o
-lSystem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant