Use pod install MWPhotoBrowser error - ios

when i run my project, Then it will be error like this:
ld: warning: directory not found for option '-L/Users/Andou/Desktop/JobProject/yundoumiao/yundoumiaoRV2/yundoumiaoRV2/Pods/build/Debug-iphoneos'
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_MWPhoto", referenced from:
objc-class-ref in YDMediaManager.o
"_OBJC_CLASS_$_MWPhotoBrowser", referenced from:
objc-class-ref in DetailViewController.o
objc-class-ref in PhotoViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
how can i solve this problem.please tell me. Thanks for help.

Related

How do I debug requirements for Google-Mobile-Ads-Sdk?

I'm getting undefined architecture error. For other frameworks I can read in documentation what is required.
For Google-Mobile-Ads-SDK, their sample app has no libraries linked.
How do I debug what frameworks are needed?
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GADRequest", referenced from:
objc-class-ref in MainScene.o
"_OBJC_CLASS_$_GADBannerView", referenced from:
objc-class-ref in MainScene.o
"_OBJC_CLASS_$_GADMobileAds", referenced from:
objc-class-ref in MainScene.o
"_kGADSimulatorID", referenced from:
-[MainScene init] in MainScene.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

iOS _OBJC_CLASS errors after adding a library to project

I am trying to add PayU money sdk to my project. And after adding libiOSCustomBrowser.a file it gives errors:
ld: warning: directory not found for option '-L/Users/Jenaveve/myApp/Utilities/PayUSdk'
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_WKUserContentController", referenced from:
objc-class-ref in libiOSCustomBrowser.a(PUCBWebVC.o)
"_OBJC_CLASS_$_WKWebView", referenced from:
objc-class-ref in libiOSCustomBrowser.a(PUCBMagicRetry.o)
objc-class-ref in libiOSCustomBrowser.a(PUCBBaseConnection.o)
objc-class-ref in libiOSCustomBrowser.a(PUCBWebVC.o)
objc-class-ref in libiOSCustomBrowser.a(CBWKConnection.o)
"_OBJC_CLASS_$_WKWebViewConfiguration", referenced from:
objc-class-ref in libiOSCustomBrowser.a(PUCBWebVC.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
In build phases, in Link Binary with Libraries, this reference exists. What is wrong?
Maybe that library cannot support for x86_64 architecture.
Remove x86_64 architecture in
'Build Settings -> Valid architecture'
and rebuild.

Swift Xcode Error : Apple Mach-O Linker Error

Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_PFLogInViewController", referenced from:
__TMaCSo21PFLogInViewController in ViewController.o
"_OBJC_CLASS_$_PFSignUpViewController", referenced from:
__TMaCSo22PFSignUpViewController in ViewController.o
"_OBJC_CLASS_$_PFUser", referenced from:
__TMaCSo6PFUser in LoginViewController.o
__TMaCSo6PFUser in ViewController.o
__TMaCSo6PFUser in signUpViewController.o
"_OBJC_CLASS_$_Parse", referenced from:
__TMaCSo5Parse in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm having Apple Mach-O Linker Error from
1) "_OBJC_CLASS_$_PFLogInViewController", referenced from:
2) "_OBJC_CLASS_$_PFSignUpViewController", referenced from:
3) "_OBJC_CLASS_$_PFUser", referenced from:
4) "_OBJC_CLASS_$_Parse", referenced from:
5) linker command failed with exit code 1 (use -v to see invocation)
Can i know what is Apple Mach-O Linker Error and the way to solve this error ?
Clean build your project. Rebuild.

iOS-Hierarchy-Viewer build failed : linker command failed with exit code 1

I find a project called "iOS-Hierarchy-Viewer" that can inspect the ios native Views.
so I create a project called "ViewViewer" and do as the workaround of the "Installation" just README.md describles.
however, when I build it, and failed.
error:
Ld /Users/hundsun/Library/Developer/Xcode/DerivedData/iphone-gsuyenresnoeexcuqguzciigntxr/Build/Products/Debug-iphonesimulator/ViewViewer.app/ViewViewer normal i386
cd /Users/hundsun/Documents/projects/ViewViewer
setenv MACOSX_DEPLOYMENT_TARGET 10.6
......
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_NSAttributeDescription", referenced from:
objc-class-ref in libiOSHierarchyViewer_fat.a(HVCoreDataHandler.o)
"_OBJC_CLASS_$_NSRelationshipDescription", referenced from:
objc-class-ref in libiOSHierarchyViewer_fat.a(HVCoreDataHandler.o)
"_OBJC_CLASS_$_NSFetchRequest", referenced from:
objc-class-ref in libiOSHierarchyViewer_fat.a(HVCoreDataHandler.o)
"_OBJC_CLASS_$_NSEntityDescription", referenced from:
objc-class-ref in libiOSHierarchyViewer_fat.a(HVCoreDataHandler.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
sorry for my litte konwledge of ios,object-C,C and xcode.
thanks for telling me how to solve the problem step by step.
thanks for your detail answer!!!
Please add CoreData.framework to Frameworks section.

How do I resolve the linker error when I try to use CIFilter in my iOS (iPhone) app?

I get the following link error:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_CIFilter", referenced from:
objc-class-ref in CameraViewController.o
"_OBJC_CLASS_$_CIImage", referenced from:
objc-class-ref in CameraViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I already have included the QuartzCore.framework.
You need Library/Frameworks/CoreImage.framework
http://developer.apple.com/library/ios/#DOCUMENTATION/GraphicsImaging/Reference/QuartzCoreFramework/Classes/CIImage_Class/Reference/Reference.html

Resources