trungtoanit / gdata-objectivec-client

Automatically exported from code.google.com/p/gdata-objectivec-client
0 stars 0 forks source link

How to link GData API to iphone sdk #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello sir,

Sorry for the interruption , This question may be silly to you ,but please 
answer,

I am fresher to iphone programming. I am developing an App that brings all 
contacts of user who logged in.

I openned a simple view based application and dragged the Gdata source folder 
to that . and just compiled it gave me 1000 errors . then i searched in net and 
came to know need to give some built configuration setting . i did now 12 
errors... that to link errors

the following are those errors.. could u help me to solve this... and i request 
you to give some ideas to build that contact app as well.

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

thanks

jenie

Original issue reported on code.google.com by arulje...@gmail.com on 29 Jun 2010 at 1:55

GoogleCodeExporter commented 9 years ago
Please see the "BuildingTheLibrary" wiki page. It says:

Note: If you include the OAuth sign-in classes in the library, your application 
will need to link to Security.framework and SystemConfiguration.framework. To 
avoid including unneeded library code, see Removing Unneeded Code below. 

The library project's discussion group is an appropriate mailing list for 
questions of this type.

Original comment by gregrobbins on 29 Jun 2010 at 2:00