将googleapi与iphonesdk集成时出错



我正在开发一个cocos2d应用程序,我需要集成youtube API将视频上传到youtube。我已经集成了从这里下载的gdataapi。并按如下方式更改了项目设置。

集合其他链接器标志:-lxml2

其他C标志:-DDEBUG=1

C语言方言:C99[-std=C99]

已添加标题搜索路径:/usr/include/libxml2并添加了libxml2.dlyb

但当我构建项目时,收到以下错误消息

Undefined symbols for architecture i386:
  "_SCNetworkReachabilityCreateWithName", referenced from:
      -[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o
  "_SCNetworkReachabilitySetCallback", referenced from:
      -[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o
      -[GDataOAuthSignIn stopReachabilityCheck] in GDataOAuthSignIn.o
  "_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
      -[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o
  "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
      -[GDataOAuthSignIn stopReachabilityCheck] in GDataOAuthSignIn.o
  "_SecItemCopyMatching", referenced from:
      -[GDataOAuthKeychain passwordForService:account:error:] in GDataOAuthViewControllerTouch.o
  "_SecItemDelete", referenced from:
      -[GDataOAuthKeychain removePasswordForService:account:error:] in GDataOAuthViewControllerTouch.o
  "_SecItemAdd", referenced from:
      -[GDataOAuthKeychain setPassword:forService:account:error:] in GDataOAuthViewControllerTouch.o
  "_kSecAttrAccount", referenced from:
      +[GDataOAuthKeychain keychainQueryForService:account:] in GDataOAuthViewControllerTouch.o
  "_kSecAttrGeneric", referenced from:
      +[GDataOAuthKeychain keychainQueryForService:account:] in GDataOAuthViewControllerTouch.o
  "_kSecAttrService", referenced from:
      +[GDataOAuthKeychain keychainQueryForService:account:] in GDataOAuthViewControllerTouch.o
  "_kSecClass", referenced from:
      +[GDataOAuthKeychain keychainQueryForService:account:] in GDataOAuthViewControllerTouch.o
  "_kSecClassGenericPassword", referenced from:
      +[GDataOAuthKeychain keychainQueryForService:account:] in GDataOAuthViewControllerTouch.o
  "_kSecMatchLimit", referenced from:
      -[GDataOAuthKeychain passwordForService:account:error:] in GDataOAuthViewControllerTouch.o
  "_kSecMatchLimitOne", referenced from:
      -[GDataOAuthKeychain passwordForService:account:error:] in GDataOAuthViewControllerTouch.o
  "_kSecReturnData", referenced from:
      -[GDataOAuthKeychain passwordForService:account:error:] in GDataOAuthViewControllerTouch.o
  "_kSecValueData", referenced from:
      -[GDataOAuthKeychain setPassword:forService:account:error:] in GDataOAuthViewControllerTouch.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

任何人都知道如何解决这个问题项目是否需要其他设置?

包括此框架SystemConfiguration.framework

相关内容

  • 没有找到相关文章

最新更新