iPhone应用程序中的谷歌日历API!

时间:2010-05-31 19:57:42

标签: iphone google-calendar-api gcal

我只是根据本教程http://www.youtube.com/watch?v=it_9H0GxRNI将gcal添加到我的项目中 但是出现了12个错误:

"_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)

控制台中没有错误!问题是什么? :(

1 个答案:

答案 0 :(得分:2)

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