2
我一直在尋找更新的教程如何訪問和保存到iPhone的鑰匙串,但似乎找不到任何不給我桶錯誤,並使用不推薦使用的代碼。將憑證保存到iPhone鑰匙串的教程?
如果有人願意指引我走向正確的方向,那將會非常棒!
謝謝!
以下是錯誤我得到:
Undefined symbols for architecture armv7s:
"_kSecValueData", referenced from:
-[MainViewController viewDidLoad] in MainViewController.o
"_kSecAttrAccount", referenced from:
-[MainViewController viewDidLoad] in MainViewController.o
"_kSecAttrAccessibleWhenUnlocked", referenced from:
-[MainViewController viewDidLoad] in MainViewController.o
"_kSecAttrAccessible", referenced from:
-[MainViewController viewDidLoad] in MainViewController.o
"_OBJC_CLASS_$_KeychainItemWrapper", referenced from:
objc-class-ref in MainViewController.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
第2次故障:
Undefined symbols for architecture armv7s:
"_OBJC_CLASS_$_KeychainItemWrapper", referenced from:
objc-class-ref in MainViewController.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
太棒了!非常感謝這個要點,我得到的錯誤在那裏得到修正!我會嘗試一下並報告回來! – ranjha 2013-03-18 23:36:47
好的,這是另一個問題,我該怎麼做? [檢查更新的問題] – ranjha 2013-03-18 23:47:22
我想如果我能通過這個問題,我很好。 – ranjha 2013-03-18 23:57:45