"_OBJC_CLASS_$_GDTStorage", referenced from: - swift

I keep getting this warning while trying to build my app, also can't link to firebase. I am using xcode 9.2
'''Undefined symbols for architecture x86_64:
"_sqlite3_prepare_v3", referenced from:
-[APMSqliteStore prepareSQL:error:] in GoogleAppMeasurement(APMSqliteStore_645df61703f07a6639f4b1de4d0cf5c3.o)
"_OBJC_CLASS_$_GDTStorage", referenced from:
objc-class-ref in libGoogleDataTransport.a(GDTUploadPackage.o)
objc-class-ref in libGoogleDataTransport.a(GDTLifecycle.o)
objc-class-ref in libGoogleDataTransport.a(GDTUploadCoordinator.o)
objc-class-ref in libGoogleDataTransport.a(GDTTransformer.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)'''[1]

Add libsqlite3.tbd to 'Linked Frameworks and Libraries' in the project properties.

Related

Getting clang: error: linker command failed with exit code 1 (use -v to see invocation) while google signing

I'm getting this error while linking Google sign in without using cocoa pods.
I have referred many solutions here but none of them solved my issue. please guide me through a proper solution.
Undefined symbols for architecture x86_64:
"_GSDK_NSClassFromString", referenced from:
l010 in GoogleSignIn(GIDSignIn.o)
l059 in GoogleSignIn(GIDSignIn.o)
"_OBJC_CLASS_$_GSDK_GTMOAuth2Authentication", referenced from:
objc-class-ref in GoogleSignIn(GIDSignIn.o)
objc-class-ref in GoogleSignIn(GIDAuthentication.o)
"_OBJC_CLASS_$_GSDK_GTMOAuth2Keychain", referenced from:
objc-class-ref in GoogleSignIn(GIDSignIn.o)
"_OBJC_CLASS_$_GSDK_GTMOAuth2SignIn", referenced from:
objc-class-ref in GoogleSignIn(GIDSignIn.o)
objc-class-ref in GoogleSignIn(GIDAuthentication.o)
"_OBJC_CLASS_$_GSDK_GTMOAuth2ViewControllerTouch", referenced from:
objc-class-ref in GoogleSignIn(GIDSignIn.o)
"_OBJC_CLASS_$_GSDK_GTMSessionFetcher", referenced from:
objc-class-ref in GoogleSignIn(GIDSignIn.o)
objc-class-ref in GoogleSignIn(GIDRuntimeConfigFetcher.o)
"_OBJC_CLASS_$_GSDK_GTMSessionFetcherService", referenced from:
objc-class-ref in GoogleSignIn(GIDSignIn.o)
"_OBJC_CLASS_$_GSDK_OpenInChromeController", referenced from:
objc-class-ref in GoogleSignIn(GIDSignIn.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
GoogleAppUtilities.framework
GoogleAuthUtilities.framework
GoogleNetworkingUtilities.framework
GoogleSymbolUtilities.framework
GoogleUtilities.framework
GoogleSignIn.framework
SystemConfiguration.framework
SafariServices.framework
AddressBook.framework
GoogleSignIn.bundle
libz.tbd
Add all framework in your project https://developers.google.com/identity/sign-in/ios/sdk/ download Google Sign-In SDK 4.0.0
Having the same error in integrating GIDSignin in my app , but resolved the error after installing it through cocoa pods.Try to install it through pods.
add all this from sdk(google_signin_sdk_4_0_0) to your project:
GoogleAppUtilities.framework
GoogleAuthUtilities.framework
GoogleNetworkingUtilities.framework
GoogleSymbolUtilities.framework
GoogleUtilities.framework
GoogleSignIn.framework
GoogleSignIn.bundle
Go to
build Phases -> link binary with Libraries
and add these frameworks:
SafariServices.framework
AddressBook.framework
SystemConfiguration.framework
Also add this two files:
libc++.tbd
libz.tbd
Did you do cocoa pod using pod 'Google'? if so then do it using 'Google/SignIn'. Possibly you didn't do the appropriate import.

ignoring file /[path]/libGooglePlus.a, missing required architecture i386 in file[path]/libGooglePlus.a

in my google plus code i get this error. what problem for this error in my code
_OBJC_CLASS_$_GTMLogger", referenced from:
objc-class-ref in libGooglePlusUniversal.a(GPPShareBuilderImpl.o)
"_OBJC_CLASS_$_GTMOAuth2Keychain", referenced from:
objc-class-ref in libGooglePlusUniversal.a(GPPSignIn.o)
"_OBJC_CLASS_$_GTMOAuth2SignIn", referenced from:
objc-class-ref in libGooglePlusUniversal.a(GPPSignIn.o)
"_OBJC_CLASS_$_GTMOAuth2ViewControllerTouch", referenced from:
objc-class-ref in libGooglePlusUniversal.a(GPPSignIn.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
have you added frameworks like... libxml2.dylib, security,mapkit,corelocation,systemconfiguration frameworks etc....?? if not then add those frameworks and then check...
Let me know it is working or not!!!!!
Happy coding!!!!!!
This warning means that you're trying to use library made for Device (ARM) with your Simulator (i386).

Undefined symbols for architecture i386: "_OBJC_CLASS_$_GDataDateTime", referenced from:

I have worked in google calendar. Now i have download the sample code from this link:
"http://code.google.com/p/iphone-gcal/".
But in this code it is some Gdata codes are missing. So i have implemented that code but also i got this below errors. Please some body help me to solve this errors.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_GDataDateTime", referenced from:
objc-class-ref in RootViewController.o
objc-class-ref in EditingViewController.o
"_OBJC_CLASS_$_GDataEntryCalendarEvent", referenced from:
objc-class-ref in EditingViewController.o
"_OBJC_CLASS_$_GDataQueryCalendar", referenced from:
objc-class-ref in RootViewController.o
"_OBJC_CLASS_$_GDataServiceGoogleCalendar", referenced from:
objc-class-ref in RootViewController.o
"_OBJC_CLASS_$_GDataWhen", referenced from:
objc-class-ref in RootViewController.o
objc-class-ref in EditingViewController.o
"_OBJC_CLASS_$_GDataWhere", referenced from:
objc-class-ref in EditingViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
You need to add the gdata .m files (GDataDateTime.m, GDataEntryCalendarEvent.m, etc.) to your target's “Compile Sources” build phase.
One way to do this is using the File Inspector. See this answer for an animated example.

Undefined symbols for architecture i386

while i am trying to build my iOS project where iam using storyboard .
Also using transition and animation classes in my project.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_FooterView", referenced from:
objc-class-ref in WallViewController.o
"_OBJC_CLASS_$_FullScreenView", referenced from:
objc-class-ref in WallViewController.o
"_OBJC_CLASS_$_HeaderView", referenced from:
objc-class-ref in WallViewController.o
"_OBJC_CLASS_$_LayoutViewExtention", referenced from:
objc-class-ref in WallViewController.o
"_OBJC_CLASS_$_MessageModel", referenced from:
objc-class-ref in WallViewController.o
"_OBJC_CLASS_$_TitleAndTextView", referenced from:
objc-class-ref in WallViewController.o
"_RGBACOLOR", referenced from:
-[WallViewController showViewInFullScreen:withModel:] in WallViewController.o
-[WallViewController animationEnd:finished:context:] in WallViewController.o
-[AFKPageFlipper initFlip] in AFKPageFlipper.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
It is difficult to analyse such questions without a project at your eyes. But as they are linker errors and you seem to use one of the latest Xcodes and WallViewController is not standard UIKit class (as far as i know(there is no 'UI' prefix)), i guess that you included the files improperly.
Try to delete references to the WallViewController files and add them again into the project by right clicking the group where you want to put them and then "add files..." (my xcode doesn't like dragging for some unknown reason).
Pls have look at link.
Select project and goto build phase and add the missing file "WallViewController.m" to compile source.

how to fix the updating issues from ios4.2 to ios5?

I try to change the app which is in 4 to 5, during the build it shows the error like below.
Can any one give the solution for this?
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_FlurryAPI", referenced from:
objc-class-ref in NewsViewController.o
objc-class-ref in NewsDetailViewController.o
objc-class-ref in ArchiveIndvidualView.o
objc-class-ref in ArchiveMenuViewController.o
objc-class-ref in ReleaseDetailView.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)