Any tips?
Building target “MyProject” of project “MyProject” with configuration
“Release” — (12 errors)
cd /Users/Brady/XCode/NoteSync
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/
Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/
gcc-4.2 -arch i386 -isysroot /Developer/Platforms/
iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.2.sdk -L/
Users/Brady/XCode/NoteSync/build/Release-iphonesimulator -F/Users/
Brady/XCode/NoteSync/build/Release-iphonesimulator -filelist /Users/
Brady/XCode/NoteSync/build/NoteSync.build/Release-iphonesimulator/
NoteSync.build/Objects-normal/i386/NoteSync.LinkFileList -mmacosx-
version-min=10.5 -lxml2 -framework Foundation -framework UIKit -
framework CoreGraphics -o /Users/Brady/XCode/NoteSync/build/Release-
iphonesimulator/NoteSync.app/NoteSync
Undefined symbols:
"_kSecClass", referenced from:
_kSecClass$non_lazy_ptr in GDataOAuthViewControllerTouch.o
"_kSecAttrAccount", referenced from:
_kSecAttrAccount$non_lazy_ptr in GDataOAuthViewControllerTouch.o
"_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
"_kSecAttrGeneric", referenced from:
_kSecAttrGeneric$non_lazy_ptr in GDataOAuthViewControllerTouch.o
"_SecItemDelete", referenced from:
-[GDataOAuthKeychain removePasswordForService:account:error:] in
GDataOAuthViewControllerTouch.o
"_kSecReturnData", referenced from:
_kSecReturnData$non_lazy_ptr in GDataOAuthViewControllerTouch.o
"_kSecValueData", referenced from:
_kSecValueData$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
"_SecItemCopyMatching", referenced from:
-[GDataOAuthKeychain passwordForService:account:error:] in
GDataOAuthViewControllerTouch.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Hi,
I am able successfully add new G-Data static library with all required settings to use Health and Calendar service. All the setting are same in both projects and also set Other C Flags.
My application also works fine but when I try to use OAuth classes getting following error. I am able to import the class GDataOAuthViewControllerTouch but when I try to create any object on that class….
Undefined symbols:
".objc_class_name_GDataOAuthViewControllerTouch", referenced from:
literal-pointer@__OBJC@__cls_refs@GDataOAuthViewControllerTouch
in SomeViewController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status