2010-05-31 67 views
1

我只是按照本教程http://www.youtube.com/watch?v=it_9H0GxRNI 但12错误时,会出现添加兆千卡到我的项目:谷歌日历API在iPhone应用程序!

"_SecItemAdd", referenced from: 
      -[GDataOAuthKeychain setPassword:forService:account:error:] in GDataOAuthViewControllerTouch.o 
     "_kSecMatchLimit", referenced from: 
      _kSecMatchLimit$non_lazy_ptr in GDataOAuthViewControllerTouch.o 
     "_kSecClassGenericPassword", referenced from: 
      _kSecClassGenericPassword$non_lazy_ptr in GDataOAuthViewControllerTouch.o 
     "_SecItemDelete", referenced from: 
      -[GDataOAuthKeychain removePasswordForService:account:error:] in GDataOAuthViewControllerTouch.o 
     "_kSecAttrGeneric", referenced from: 
      _kSecAttrGeneric$non_lazy_ptr in GDataOAuthViewControllerTouch.o 
     "_SecItemCopyMatching", referenced from: 
      -[GDataOAuthKeychain passwordForService:account:error:] in GDataOAuthViewControllerTouch.o 
     "_kSecValueData", referenced from: 
      _kSecValueData$non_lazy_ptr in GDataOAuthViewControllerTouch.o 
     "_kSecReturnData", referenced from: 
      _kSecReturnData$non_lazy_ptr in GDataOAuthViewControllerTouch.o 
     "_kSecAttrAccount", referenced from: 
      _kSecAttrAccount$non_lazy_ptr in GDataOAuthViewControllerTouch.o 
     "_kSecClass", referenced from: 
      _kSecClass$non_lazy_ptr in GDataOAuthViewControllerTouch.o 
     "_kSecAttrService", referenced from: 
      _kSecAttrService$non_lazy_ptr in GDataOAuthViewControllerTouch.o 
     "_kSecMatchLimitOne", referenced from: 
      _kSecMatchLimitOne$non_lazy_ptr in GDataOAuthViewControllerTouch.o 
    ld: symbol(s) not found 
    collect2: ld returned 1 exit status 
Build failed (12 errors, 1 warning) 

而且没有错误出现在控制台!问题是什么? :(

回答

2

这些符号在Security.framework定义,因此只需添加到您的项目。

+0

非常感谢你! – Rona 2010-05-31 21:56:00

+0

@Claus我们如何从iphone-兆千卡,例如获取事件颜色? – Apekshit 2011-09-09 12:14:23

+0

@Apekshit你可以查看api文档,如果这样做不起作用,则尝试打开一个新问题,而不是将其作为对不同主题的评论 – 2011-09-09 14:09:28