Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Undefined symbols for architecture x86_64 problem #4

Closed
TomLiu opened this Issue · 2 comments

3 participants

@TomLiu

Hi, thank your for your code. When I tried to use your code, I met the a problem after I add the file to my project. Do you have idea how to slove this? Thank you a lot. the error info is

"Undefined symbols for architecture x86_64:
"_kSMDomainUserLaunchd", referenced from:
-[StartAtLoginController startAtLogin] in StartAtLoginController.o
"_SMCopyAllJobDictionaries", referenced from:
-[StartAtLoginController startAtLogin] in StartAtLoginController.o
"_SMLoginItemSetEnabled", referenced from:
-[StartAtLoginController setStartAtLogin:] in StartAtLoginController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)"

@alexzielenski

You need to link the ServiceManagement framework in your target.

@bumper314

Same error here after upgrading to Xcode 4.5, but I indeed have ServiceManagement in my target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.