Log in or register to post comments

SDK 1-5-8 for iOS5

February 29, 2012 - 6:42pm #1

Is there any tutorial that teaches us how to import the QCAR lib in a new Xcode project from scratch? I tried to set up the same environment like "FramMarker" example. However, I kept getting some linker errors:
Undefined symbols for architecture armv7:
"_SecItemAdd", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecReturnRef", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecValueData", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecItemDelete", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecKeyDecrypt", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyClass", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyClassPublic", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecClassKey", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecItemCopyMatching", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecClass", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecKeyGetBlockSize", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyTypeRSA", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecReturnPersistentRef", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrCanDecrypt", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyType", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrApplicationTag", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any idea to solve this?
Thanks a lot!

SDK 1-5-8 for iOS5

July 23, 2012 - 7:27am #4

I'm having similar problems. May I ask how exactly you've added the Security.framework?

I've searched for tutorials/links, but couldn't find anything specific.

 

EDIT: found a link that explains it perfectly. See: http://stackoverflow.com/questions/3352664/how-to-add-existing-frameworks-in-xcode-4

Re: SDK 1-5-8 for iOS5

March 1, 2012 - 12:03pm #3

Hi MoSR,

Thanks for your answer. It works now.

Re: SDK 1-5-8 for iOS5

March 1, 2012 - 4:46am #2

Hi fengtso,

I believe you're just missing a Framework, in this case Security.framework.

Log in or register to post comments