Apple Mach-O Linker Error-Xcode 6.3.1 - ios

As i followed tutorial from: http://http:/https://www.sinch.com/tutorials/minichat-ios-messaging-app/#project%20setup and updated Xcode to 6.3.1, i run into linker error which i having a difficult time in fixing it.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SINOutgoingMessage", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_Sinch", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
i used cocoapods to install the Sinch and uses armv7, armv7s as architecture.
Your review and suggestion greatly appreciated.

Related

symbol(s) not found for architecture arm64 in xcode 7.1

I got this error when trying to running app in simulator. And I'm using this library. https://github.com/donobono/DoImagePickerController. How can I solve this problem?
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_DoImagePickerController", referenced from:
objc-class-ref in NewActivityVC.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thank you in advance

Undefined Symbols error when integrating Localytics iOS SDK via Cocoapods

When integrating the Localytics iOS SDK via Cocoapods, I get the following errors:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_Localytics", referenced from:
objc-class-ref in AppDelegate.o
objc-class-ref in CrashReporter.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code
1 (use -v to see invocation)

RestKit no longer working ( symbol(s) not found for architecture i386 )

So I have an app that I have been developing over the past 2 years. This app uses restkit. All of a sudden it stopped compiling. Here is what I am getting.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_RKConnectionTestExpectation", referenced from:
objc-class-ref in libRestKit.a(RKMappingTest.o)
"_OBJC_CLASS_$_RKPropertyMappingTestExpectation", referenced from:
objc-class-ref in libRestKit.a(RKMappingTest.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I fixed this by removing the submodule and using cocoapods then recompiled and it worked.

Apple Mach-O Linker Error With Parse

I need some assistance. I added Parse SDK and it works fine during testing. When I attempt to build it, it gives me four 'Apple Mach-O Linker' errors:
ld: warning: ignoring file
/Users/Amirhosein/Downloads/ParsePlatform-PushTutorial-63133fb/iOS/Parse.framework/Parse,
missing required architecture arm64 in file
/Users/Amirhosein/Downloads/ParsePlatform-PushTutorial-63133fb/iOS/Parse.framework/Parse
(3 slices) Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_PFPush", referenced from:
objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_PFInstallation", referenced from:
objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_Parse", referenced from:
objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code
1 (use -v to see invocation)
It sounds as if your library is not built for 64-bit iOS but you're trying to use that setting for your app. Try removing arm64 from the architecture entry in your build settings.
Cleaning the code and then building again solve the problem for me!

Vungle SDK problems

I am trying to implement the Vungle Ad network to my app. I followed the documentation here. When I build and run, it fails with this:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
objc-class-ref in libvunglepub.a(UIViewController+VGAppStoreViewController.o)
"_SKStoreProductParameterITunesItemIdentifier", referenced from:
-[UIViewController(VGAppStoreViewController) prepareStoreViewController:] in libvunglepub.a(UIViewController+VGAppStoreViewController.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any help will be highly appreciated

Resources