Linking error when trying to import external framework - ios5

I have integrated a new external framework to my project, the framework is well imported, however, i get a strange error when trying to build and run the project:
"_OBJC_CLASS_$_MPInit", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_RMMapView", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I try several attempts but haven't find the solution.
Any suggestion will be appreciated.

Related

"_OBJC_CLASS_$_GDTStorage", referenced from:

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.

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).

Error in coredata?

I am developing an app that saving an url using coredata.I am defining NSManagedObjectContext,NsManagedObjectModel,NSPersistentStoreCoordinator in CoreDataRepository object class instead of AppDelegate.I am saving this url using reference of CoreDataRepository.I am getting below error.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CoreDataRepository", referenced from:
objc-class-ref in HomeViewController.o
objc-class-ref in DashBoardUrlViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any idea about this error.Thanks.
The linker can't find your CoreDataRepository class. Look in your target's Build Phases and add that source or library to either the compile or link phase, depending on where it's defined.

iphone:Urban airship libUAirship-1.1.1.a error occurs

I am implementing Push notification(urban airship) in my application. I have written the code and also added the necessary framework including libUAirship-1.1.1.a but it shows me following error.
Undefined symbols for architecture i386:
"_UTTypeCreatePreferredIdentifierForTag", referenced from:
+[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
"_UTTypeCopyPreferredTagWithClass", referenced from:
+[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
"_kUTTagClassFilenameExtension", referenced from:
+[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
"_kUTTagClassMIMEType", referenced from:
+[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I can't understand why this error generated.
Check out this document it may help you : Push Notification Client Library