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.
Related
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.
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.
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.
H, I use admob of google, I added all the framework, I did exactly what they wrote in the guidline. But after I build this error appeared . I went through some solution on stackoverflow but can not fix it please help me.
"_CGSizeFromGADAdSize", referenced from:
-[GADMasterViewController init] in GADMasterViewController.o
-[GADMasterViewController resetAdView:] in GADMasterViewController.o
"_OBJC_CLASS_$_GADBannerView", referenced from:
objc-class-ref in GADMasterViewController.o
"_OBJC_CLASS_$_GADInterstitial", referenced from:
objc-class-ref in GADMasterViewController.o
"_OBJC_CLASS_$_GADRequest", referenced from:
objc-class-ref in GADMasterViewController.o
"_kGADAdSizeSmartBannerLandscape", referenced from:
-[GADMasterViewController resetAdView:] in GADMasterViewController.o
"_kGADAdSizeSmartBannerPortrait", referenced from:
-[GADMasterViewController init] in GADMasterViewController.o
-[GADMasterViewController resetAdView:] in GADMasterViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
You're trying to build your project for 64bit x86 architecture, hence the message: "ld: symbol(s) not found for architecture x86_64"
I'm not sure exactly how do you do this, since you want to build an iOS project, and even if you would built it for the simulator, the architecture would be i386, not x86_64. Something is wrong with your build settings. Could you provide us with some details on these settings?
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