iOS 9 specific linker error with respect to WebKit.framework - webkit

I am receiving the following linker error on iOS 9 and above. I am stuck with this issue for quite sometime. Any help would be appreciable.
ld: file not found: /System/Library/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have fixed this issue my removing WebKit.framework from the project's file system and again adding it only thru Build phases.

Related

Duplicate symbols for architecture arm64 -objc

I added some .m, .h files(include xxxController.m, xxxController.h) and libraries(include abc.a) to my xcode project same as the sample project which runs very well but this error occured:
duplicate symbol 'OBJC_IVAR$xxxController.xxx' in:
/Users/xxx/Library/Developer/Xcode/DerivedData/xxx/Build/Intermediates.noindex/xxx.build/Debug-iphoneos/xxx.build/Objects-normal/arm64/xxxController.o
../lib/xxx/lib/abc.a(xxx.o) ld: 15 duplicate symbols for architecture
arm64 clang: error: linker command failed with exit code 1 (use -v to
see invocation)
I changed enable testability option and no common blocks option to NO but still fail to build.
Also there are no duplicates in the compile source and removing derived data or cleaning build folder didn't work for me.
And when I remove '-Objc' in Other Linker Flags, it occurs 'Undefined symbol: OBJC_CLASS$_FIRInstallations' error. How can I fix it?

"_TWTRScribeEventImpressionElement" and TwitterKit Objective C

I'm using Xcode 7.
After updating Fabric framework and TwitterCore I can't build my project. I Have problem with _TWTRScribeEventImpressionElement and other files in TwitterKit.
I'm tryied to update TwitterKit but it did not help.
Error is:
Undefined symbols for architecture armv7:
"_TWTRScribeEventImpressionElement", referenced from:
-[TWTRScribeSink didShareTweetWithID:shareType:] in TwitterKit(TWTRScribeSink.o)
+[TWTRScribeSink tweetLoadNamespace] in TwitterKit(TWTRScribeSink.o)
+[TWTRScribeSink tweetViewImpressionNamespaceWithStyle:] in TwitterKit(TWTRScribeSink.o)
+[TWTRScribeSink tweetViewShareNamespace] in TwitterKit(TWTRScribeSink.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Has somebody seen such problem?

library not found for -lPods when i am using ECSliding Controller

I am facing the this kind of issue in ECSlidingContrtoller
ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)

linker command failed while running mbalertview demo

I downloaded mbalertview from the git and try to compile and run but i got this error
_vImageBoxConvolve_ARGB8888", referenced from:
-[MBFlatAlertView boxblurImage:boxSize:] in MBFlatAlertView.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
please help me.
Apparently vImageBoxConvolve_ARGB8888() is not defined. See if the Accelerate framework is properly included in the project.

iOS Linker Command Failed using Core Plot Xcode 4.3.2

So I'm building an application with CorePlot, and when I tried to run it i got the following errors:
ld: warning: ignoring file /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker- chbhtqlxwipamtailjamrakmkpuy/Build/Products/Debug-iphoneos/libCorePlot-CocoaTouch.a,
file was built for archive which is not the architecture being linked (armv6)
ld: duplicate symbol _main in /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker-chbhtqlxwipamtailjamrakmkpuy/Build/Intermediates/FaceTracker.build/Debug-iphoneos/FaceTracker.build/Objects-normal/armv6/main-cocoatouch.o and /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker-chbhtqlxwipamtailjamrakmkpuy/Build/Intermediates/FaceTracker.build/Debug-iphoneos/FaceTracker.build/Objects-normal/armv6/main.o for architecture armv6
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I read somewhere that I need to add to other linker flags: -ObjC -all_load -lCorePlot But this doesn't seem to be anywhere in the project info or build settings, and I'm not sure if this even has anything to do with my error. Any help demystifying this would be much appreciated.
If you select your project and go to the Build Settings tab, you should find it listed under Linking. Make sure you have the advanced/complete view of the tab. The field you want to enter those under is "Other Linker Flags".
Hope that helps!