Google plus sdk linker error ios - ios

I am using google plus share sdk for posting to google plus. but it gives me following linker error:
Undefined symbols for architecture armv7:
"_kGTMOAuth2WebViewFailed", referenced from:
-[GTMOAuth2ViewControllerTouch webView:didFailLoadWithError:] in GTMOAuth2ViewControllerTouch.o
"_kGTMOAuth2WebViewKey", referenced from:
-[GTMOAuth2ViewControllerTouch notifyWithName:webView:kind:] in GTMOAuth2ViewControllerTouch.o
"_kGTMHTTPFetcherStatusDomain", referenced from:
-[GTLService objectFetcher:finishedWithData:error:] in GTLService.o
-[GTMHTTPFetcher connection:didReceiveData:] in GTMHTTPFetcher.o
-[GTMHTTPFetcher connectionDidFinishLoading:] in GTMHTTPFetcher.o
-[GTMHTTPFetcher isRetryError:] in GTMHTTPFetcher.o
-[GTMHTTPFetcher shouldRetryNowForStatus:error:] in GTMHTTPFetcher.o
-[GTMOAuth2Authentication beginTokenFetchWithDelegate:didFinishSelector:] in GTMOAuth2Authentication.o
-[GTMOAuth2SignIn handleCallbackReached] in GTMOAuth2SignIn.o
...
"_kGTMHTTPFetcherErrorChallengeKey", referenced from:
-[GTMHTTPFetcher connection:didReceiveAuthenticationChallenge:] in GTMHTTPFetcher.o
"_kGTMOAuth2FetchTypeUserInfo", referenced from:
-[GTMOAuth2SignIn fetchGoogleUserInfo] in GTMOAuth2SignIn.o
"_kGTMHTTPFetcherStartedNotification", referenced from:
-[GTMHTTPFetcher beginFetchMayDelay:mayAuthorize:] in GTMHTTPFetcher.o
"_kGTMHTTPFetcherRetryDelayStoppedNotification", referenced from:
-[GTMHTTPFetcher destroyRetryTimer] in GTMHTTPFetcher.o
"_kGTMHTTPFetcherErrorDomain", referenced from:
-[GTMHTTPFetcher failToBeginFetchWithError:] in GTMHTTPFetcher.o
-[GTMHTTPFetcher backgroundFetchExpired] in GTMHTTPFetcher.o
-[GTMHTTPFetcher connection:didReceiveAuthenticationChallenge:] in GTMHTTPFetcher.o
"_kGTMOAuth2FetchTypeRefresh", referenced from:
-[GTMOAuth2Authentication beginTokenFetchWithDelegate:didFinishSelector:] in GTMOAuth2Authentication.o
"_kGTMOAuth2RefreshTokenChanged", referenced from:
-[GTMOAuth2Authentication setKeysForResponseDictionary:] in GTMOAuth2Authentication.o
"_kGTMOAuth2UserSignedIn", referenced from:
-[GTMOAuth2SignIn handleCallbackReached] in GTMOAuth2SignIn.o
"_kGTMOAuth2FetchTypeToken", referenced from:
Please help me.
Thanx in advance.

You will need to link libGooglePlusUniversal.a and the opensource "Google Toolbox for Mac files" into your project.
This can be done by either pressing Project > Add to project or dragging the files directly into your XCode project.

Related

Using Unity to build this ios project, Added google signin SDK 4.0.1 Framework, I get error

I want google login in my app so i want to write unity plugin ,but i do not wanna use Play Games Unity plugin.
So I follow this tutorial (https://developers.google.com/identity/sign-in/ios/sdk/).
But after I have added the framework,I get error message.
My tool version
Unity 5.6.0f3
Xcode 8.3.1
Google Sign-In SDK 4.0.1
Xcode Builld error message
ld: warning: arm64 function not 4-byte aligned: ltmp0 from /Users/user/unityWorkspace/GoodTest2/NOgpgs/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/user/unityWorkspace/GoodTest2/NOgpgs/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
Undefined symbols for architecture arm64:
"_kSecValueData", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_SecTrustEvaluate", referenced from:
___70+[GTMSessionFetcher evaluateServerTrust:forRequest:completionHandler:]_block_invoke in GoogleSignInDependencies(GTMSessionFetcher_28beddf8a47a0abe7f4eaa9a5c9cb75b.o)
"_kSecAttrAccessible", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_SecItemAdd", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_SecItemDelete", referenced from:
-[GTMOAuth2Keychain removePasswordForService:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecReturnData", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecClass", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_SecItemCopyMatching", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecAttrGeneric", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly", referenced from:
+[GTMOAuth2ViewControllerTouch saveParamsToKeychainForName:accessibility:authentication:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecMatchLimitOne", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecAttrService", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecClassGenericPassword", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecRandomDefault", referenced from:
-[GIDSignIn randomString] in GoogleSignIn(GIDSignIn.o)
"_kSecAttrAccount", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecMatchLimit", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_SecRandomCopyBytes", referenced from:
-[GIDSignIn randomString] in GoogleSignIn(GIDSignIn.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When I googled about it , I found that it seems like something about arm64 support of Google Sign-In SDK.
I have set scripting backend on Unity to IL2CPP, and target architecture to Universa(both armv7 and arm64).
Now I have no Idea to resolve these errors.
Is Missing Security.framework.
Now! It working.

Unity - using Fabric causes problems with iOS

We're using Fabric with Crashlytics in our Unity Game and after building the iOS project with Unity and starting in Xcode we get about 26 errors:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_FABNetworkResponseHandler", referenced from:
objc-class-ref in Crashlytics(CLSNetworkClient.o)
"_OBJC_CLASS_$_CLSURLSession", referenced from:
objc-class-ref in Crashlytics(CLSNetworkClient.o)
"_OBJC_CLASS_$_FABCertificatePinner", referenced from:
objc-class-ref in Crashlytics(CLSNetworkClient.o)
"_FABGenerateUUID", referenced from:
-[CLSAnalyticsIdentifierGenerator generateSessionFragmentIdentifier] in Crashlytics(CLSAnalyticsIdentifierGenerator.o)
-[CLSAnalyticsIdentifierGenerator generateEventIdentifier] in Crashlytics(CLSAnalyticsIdentifierGenerator.o)
"_FABApplicationShouldReportDeviceIdentifiers", referenced from:
+[CLSAnalyticsMetadataController identifierForAdvertising] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABHostGetOSVersion", referenced from:
_CLSHostGetNormalizedOSVersion in Crashlytics(CLSHost.o)
"_FABApplicationInstallationSource", referenced from:
+[CLSBetaController isBetaSupported] in Crashlytics(CLSBetaController.o)
-[CLSBetaController appInstallationSource] in Crashlytics(CLSBetaController.o)
"_CLSMachOFormatVersion", referenced from:
_CLSBinaryImageRecordMainExecutable in Crashlytics(CLSBinaryImage.o)
"_FABHostGetNormalizedOSVersion", referenced from:
_CLSBetaToken in Crashlytics(CLSBetaToken.o)
"_OBJC_CLASS_$_FABURLBuilder", referenced from:
objc-class-ref in Crashlytics(CLSBetaController.o)
objc-class-ref in Crashlytics(CLSReportsController.o)
"_FABApplicationGetShortBundleVersion", referenced from:
___CLSContextInitialize_block_invoke26 in Crashlytics(CLSContext.o)
-[CLSBetaController appDisplayVersion] in Crashlytics(CLSBetaController.o)
+[CLSAnalyticsMetadataController bundleShortVersion] in Crashlytics(CLSAnalyticsMetadataController.o)
"_OBJC_CLASS_$_FABNetworkClient", referenced from:
objc-class-ref in Crashlytics(CLSBetaController.o)
objc-class-ref in Crashlytics(CLSAnalyticsNetworkingClient.o)
"_OBJC_CLASS_$_FABMultipartMimeStreamEncoder", referenced from:
objc-class-ref in Crashlytics(CLSAnalyticsNetworkingClient.o)
objc-class-ref in Crashlytics(CLSReportsController.o)
objc-class-ref in Crashlytics(CLSPackageReportOperation.o)
"_FABNetworkMaximumRetryCount", referenced from:
___51-[CLSBetaController loadUpdateWithCompletionBlock:]_block_invoke in Crashlytics(CLSBetaController.o)
-[CLSAnalyticsNetworkingClient transmitLogFilesAtURLs:toURL:withAPIKey:completionHandler:] in Crashlytics(CLSAnalyticsNetworkingClient.o)
"_OBJC_CLASS_$_CLSURLSessionConfiguration", referenced from:
objc-class-ref in Crashlytics(CLSNetworkClient.o)
"_OBJC_CLASS_$_CLSUserDefaults", referenced from:
objc-class-ref in Crashlytics(CLSAnalyticsController.o)
"_FABApplicationGetBundleVersion", referenced from:
___CLSContextInitialize_block_invoke26 in Crashlytics(CLSContext.o)
-[CLSBetaController appBuildVersion] in Crashlytics(CLSBetaController.o)
+[CLSAnalyticsMetadataController bundleVersion] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABEnumerateByteRangesOfNSDataUsingBlock", referenced from:
-[CLSPackageReportOperation compressData:toPath:] in Crashlytics(CLSPackageReportOperation.o)
"_FABApplicationGetName", referenced from:
-[CLSBetaUpdate promptMessage] in Crashlytics(CLSBetaUpdate.o)
"_FABSettingsAvailableNotification", referenced from:
-[CLSAnalyticsController initWithSessionIdentifier:sessionTimestamp:analyticsRootDirectoryWithURL:betaToken:identifierGenerator:timestampGenerator:metadataController:networkingClient:] in Crashlytics(CLSAnalyticsController.o)
-[CLSBetaController start] in Crashlytics(CLSBetaController.o)
"_FABApplicationGetBundleIdentifier", referenced from:
___30-[Answers startWithBetaToken:]_block_invoke in Crashlytics(Answers.o)
___CLSContextInitialize_block_invoke26 in Crashlytics(CLSContext.o)
-[CLSBetaController appBundleIdentifier] in Crashlytics(CLSBetaController.o)
-[CLSCrashReportingController bundleIdentifier] in Crashlytics(CLSCrashReportingController.o)
-[CLSFileManager pathNamespace] in Crashlytics(CLSFileManager.o)
+[CLSAnalyticsMetadataController bundleIdentifier] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABHostOSBuildVersion", referenced from:
___20-[Crashlytics start]_block_invoke in Crashlytics(Crashlytics.o)
_CLSHostRecord in Crashlytics(CLSHost.o)
+[CLSAnalyticsMetadataController hostOSVersion] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABHostModelInfo", referenced from:
___20-[Crashlytics start]_block_invoke in Crashlytics(Crashlytics.o)
_CLSHostRecord in Crashlytics(CLSHost.o)
+[CLSAnalyticsMetadataController hostModel] in Crashlytics(CLSAnalyticsMetadataController.o)
+[CLSAnalyticsMetadataController hostMachine] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABHostOSDisplayVersion", referenced from:
___20-[Crashlytics start]_block_invoke in Crashlytics(Crashlytics.o)
_CLSHostRecord in Crashlytics(CLSHost.o)
+[CLSAnalyticsMetadataController hostOSVersionName] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABBuiltinCertificates", referenced from:
+[CLSBetaController pinnnedCertificates] in Crashlytics(CLSBetaController.o)
+[CLSNetworkClient pinner] in Crashlytics(CLSNetworkClient.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any idea how we can fix that issue? I checked the files in Unity and it seems everything is imported fine.
Fixed it somehow through reimporting the whole Fabric SDK in Unity - so deleting all files regarding Fabric and Crashlytics in the project and then importing Fabric again.

Cordova app fails again on linking after updating to cordova 3.4.1 iOS

When trying to build my app for archiving and updating to cordova 3.4.1 I get this linking error message. I solved something similar before but I am afraid to touch the build settings because x86_64 does not seem to be a supported architecture.
What can I do?
ld: warning: ignoring file /Users/bogdan/Library/Developer/Xcode/DerivedData/Eazybreak-ctqyotqyclrvjoghewxpdeoemnkd/Build/Products/Debug-iphonesimulator/libCordova.a, file was built for archive which is not the architecture being linked (x86_64): /Users/bogdan/Library/Developer/Xcode/DerivedData/Eazybreak-ctqyotqyclrvjoghewxpdeoemnkd/Build/Products/Debug-iphonesimulator/libCordova.a
Undefined symbols for architecture x86_64:
"_CDVLocalNotification", referenced from:
-[AppDelegate application:didReceiveLocalNotification:] in AppDelegate.o
"_CDVPageDidLoadNotification", referenced from:
This is the error message I get (it's much longer of course).
Any help is appreciated.
Bogdan
Added full error log:
ld: warning: ignoring file /Users/bogdan/Library/Developer/Xcode/DerivedData/Eazybreak-ctqyotqyclrvjoghewxpdeoemnkd/Build/Products/Debug-iphonesimulator/libCordova.a, file was built for archive which is not the architecture being linked (x86_64): /Users/bogdan/Library/Developer/Xcode/DerivedData/Eazybreak-ctqyotqyclrvjoghewxpdeoemnkd/Build/Products/Debug-iphonesimulator/libCordova.a
Undefined symbols for architecture x86_64:
"_CDVLocalNotification", referenced from:
-[AppDelegate application:didReceiveLocalNotification:] in AppDelegate.o
"_CDVPageDidLoadNotification", referenced from:
-[CDVSplashScreen pluginInitialize] in CDVSplashScreen.o
"_CDVPluginHandleOpenURLNotification", referenced from:
-[AppDelegate application:handleOpenURL:] in AppDelegate.o
"_OBJC_CLASS_$_CDVCommandDelegateImpl", referenced from:
_OBJC_CLASS_$_MainCommandDelegate in MainViewController.o
"_OBJC_CLASS_$_CDVCommandQueue", referenced from:
_OBJC_CLASS_$_MainCommandQueue in MainViewController.o
"_OBJC_CLASS_$_CDVPlugin", referenced from:
_OBJC_CLASS_$_CDVDevice in CDVDevice.o
_OBJC_CLASS_$_CDVConnection in CDVConnection.o
_OBJC_CLASS_$_CDVNotification in CDVNotification.o
_OBJC_CLASS_$_CDVSplashScreen in CDVSplashScreen.o
"_OBJC_CLASS_$_CDVPluginResult", referenced from:
objc-class-ref in CDVDevice.o
objc-class-ref in CDVConnection.o
objc-class-ref in CDVNotification.o
"_OBJC_CLASS_$_CDVViewController", referenced from:
_OBJC_CLASS_$_MainViewController in MainViewController.o
objc-class-ref in CDVDevice.o
"_OBJC_METACLASS_$_CDVCommandDelegateImpl", referenced from:
_OBJC_METACLASS_$_MainCommandDelegate in MainViewController.o
"_OBJC_METACLASS_$_CDVCommandQueue", referenced from:
_OBJC_METACLASS_$_MainCommandQueue in MainViewController.o
"_OBJC_METACLASS_$_CDVPlugin", referenced from:
_OBJC_METACLASS_$_CDVDevice in CDVDevice.o
_OBJC_METACLASS_$_CDVConnection in CDVConnection.o
_OBJC_METACLASS_$_CDVNotification in CDVNotification.o
_OBJC_METACLASS_$_CDVSplashScreen in CDVSplashScreen.o
"_OBJC_METACLASS_$_CDVViewController", referenced from:
_OBJC_METACLASS_$_MainViewController in MainViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Try removing x86_64 from Build Settings > Valid Architectures. I had a similar problem with arm64 architecture.

Why is Phonegap Facebook Plugin NOT working on 64-bit architectures?

I am refering to the official FBConnect plugin from phonegap:
https://github.com/phonegap-build/FacebookConnect
Everything work fine when working with iphones not x64 (32 bits I assume)
But when launching the app on a 64 bit architecture, this plugin seems to cause trouble. Here is what I have:
ld: warning: directory not found for option '-L/Users/YohannM/Documents/phonegap-facebook-plugin-master/src/ios/frameworks'
ld: warning: ignoring file /Users/YohannM/Library/Developer/Xcode/DerivedData/MeetMyFriends-bpzkrmogtgawjxbckzcgadbbsksi/Build/Products/Debug-iphonesimulator/libCordova.a, file was built for archive which is not the architecture being linked (x86_64): /Users/YohannM/Library/Developer/Xcode/DerivedData/MeetMyFriends-bpzkrmogtgawjxbckzcgadbbsksi/Build/Products/Debug-iphonesimulator/libCordova.a
Undefined symbols for architecture x86_64:
"_CDVLocalNotification", referenced from:
-[AppDelegate application:didReceiveLocalNotification:] in AppDelegate.o
"_CDVPluginHandleOpenURLNotification", referenced from:
-[AppDelegate application:handleOpenURL:] in AppDelegate.o
"_OBJC_CLASS_$_CDVCommandDelegateImpl", referenced from:
_OBJC_CLASS_$_MainCommandDelegate in MainViewController.o
"_OBJC_CLASS_$_CDVCommandQueue", referenced from:
_OBJC_CLASS_$_MainCommandQueue in MainViewController.o
"_OBJC_CLASS_$_CDVPlugin", referenced from:
_OBJC_CLASS_$_FacebookConnectPlugin in FacebookConnectPlugin.o
_OBJC_CLASS_$_CDVDevice in CDVDevice.o
_OBJC_CLASS_$_CDVLocation in CDVLocation.o
"_OBJC_CLASS_$_CDVPluginResult", referenced from:
objc-class-ref in FacebookConnectPlugin.o
objc-class-ref in CDVDevice.o
objc-class-ref in CDVLocation.o
"_OBJC_CLASS_$_CDVViewController", referenced from:
_OBJC_CLASS_$_MainViewController in MainViewController.o
objc-class-ref in CDVDevice.o
"_OBJC_METACLASS_$_CDVCommandDelegateImpl", referenced from:
_OBJC_METACLASS_$_MainCommandDelegate in MainViewController.o
"_OBJC_METACLASS_$_CDVCommandQueue", referenced from:
_OBJC_METACLASS_$_MainCommandQueue in MainViewController.o
"_OBJC_METACLASS_$_CDVPlugin", referenced from:
_OBJC_METACLASS_$_FacebookConnectPlugin in FacebookConnectPlugin.o
_OBJC_METACLASS_$_CDVDevice in CDVDevice.o
_OBJC_METACLASS_$_CDVLocation in CDVLocation.o
"_OBJC_METACLASS_$_CDVViewController", referenced from:
_OBJC_METACLASS_$_MainViewController in MainViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Of course, I have followed the instructions step by step and (I think) it was working fine previously (beofre I had to update XCode.
Can Anyone help me with this ? what should I do to have it working on my iphone 64 bits ?
Thanks
I've actually found the solution on another thread, there is one very complete one over there, but the one that worked the best for me wasn't in this thread. It was pretty straighforward:
They just released a new version 3.4.1 that address this issues.
Therefore I update a single file to point to the TAG 3.4.1:
/usr/local/lib/node_modules/cordova/platforms.js
line 24
from:
version: '3.4.0'
to:
version: '3.4.1'
Then you remove the iOS folder in your project and run:
cordova platform add ios
This will download the new template based on 3.4.1 with all the patches.
thank You #Fabrizio Giordano for pointing that out

Google drive integration error in ios6 and Xcode 4.5

Guys I am working on integration google drive, i found a code from google-api-objectivec-client in google sdk samples.
I have searched and found that, for resolving these issues you need to add security.framewok and SystemCofiguration.framework , I already do that, but couldn't get success.
Also found that change "Framework search path" to
"$(SDKROOT)/Developer/Library/Frameworks"
"$(DEVELOPER_LIBRARY_DIR)/Frameworks"
I also do this, but can't short out these errors.
"_SecItemAdd", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GTMOAuth2ViewControllerTouch.o
"_SecItemCopyMatching", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GTMOAuth2ViewControllerTouch.o
"_SecItemDelete", referenced from:
-[GTMOAuth2Keychain removePasswordForService:account:error:] in GTMOAuth2ViewControllerTouch.o
"_kSecAttrAccessible", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GTMOAuth2ViewControllerTouch.o
"_kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly", referenced from:
+[GTMOAuth2ViewControllerTouch saveParamsToKeychainForName:accessibility:authentication:] in GTMOAuth2ViewControllerTouch.o
"_kSecAttrAccount", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GTMOAuth2ViewControllerTouch.o
"_kSecAttrGeneric", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GTMOAuth2ViewControllerTouch.o
"_kSecAttrService", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GTMOAuth2ViewControllerTouch.o
"_kSecClass", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GTMOAuth2ViewControllerTouch.o
"_kSecClassGenericPassword", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GTMOAuth2ViewControllerTouch.o
"_kSecMatchLimit", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GTMOAuth2ViewControllerTouch.o
"_kSecMatchLimitOne", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GTMOAuth2ViewControllerTouch.o
"_kSecReturnData", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GTMOAuth2ViewControllerTouch.o
"_kSecValueData", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GTMOAuth2ViewControllerTouch.o
Symbol(s) not found for architecture i386
Linker command failed with exit code 1 (use -v to see invocation)
Please help me, Thanks
I'm also face this problem with google gtl framework. According their instruction, initially I've set other linker flag as below
Add the ObjC linker flag to the app target's build settingss:
Other Linker Flags: -ObjC
After Clear that flags, All warnings gone, got build successfully.
Note: I'm using Xcode5.0
Update: After some time, It will show again same error, but when I try to take build with device, it's gone. But still it appear with simulator.Don't know how to solve it with simulator.

Resources