ld: framework not found FacebookSDK - ios

ld: framework not found FacebookSDK
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Go to your project target -> Build settings, search for 'facebook' and you should see the framework come up in Other Linker Flags. Remove it with the preceding -framework item and you should be good!

Related

ld: library not found for -lstdc++.6 in IBMMobileFirstPlatformFoundation

I am receiving an error while trying to run the app using pod installation of “IBMMobileFirstPlatformFoundation” on iOS using Xcode 10
ld: library not found for -lstdc++.6
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Has anyone encountered this?
Should remove libstdc++ from other linker flags in your xcode project
Follow
https://mobilefirstplatform.ibmcloud.com/blog/2018/07/23/mfp-support-for-ios12/#known-issues

error "linker command failed with exit code 1 (use -v to see invocation)"

These are error about it
ld: warning: directory not found for option '-L/Users/luckyxmobile/Library/Developer/Xcode/DerivedData/Family_Health_Tracker-blmdlgtkbfuvvxdcozttgzspcguc/Build/Products/Debug-iphonesimulator/AFNetworking'
ld: warning: directory not found for option '-L/Users/luckyxmobile/Library/Developer/Xcode/DerivedData/Family_Health_Tracker-blmdlgtkbfuvvxdcozttgzspcguc/Build/Products/Debug-iphonesimulator/MGSwipeTableCell'
ld: warning: directory not found for option '-L/Users/luckyxmobile/Library/Developer/Xcode/DerivedData/Family_Health_Tracker-blmdlgtkbfuvvxdcozttgzspcguc/Build/Products/Debug-iphonesimulator/MJRefresh'
ld: warning: directory not found for option '-L/Users/luckyxmobile/Library/Developer/Xcode/DerivedData/Family_Health_Tracker-blmdlgtkbfuvvxdcozttgzspcguc/Build/Products/Debug-iphonesimulator/iRate'
ld: warning: directory not found for option '-L/Users/luckyxmobile/Documents/code/Family Health Tracker-master/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analytics_no-idfa_v3.6.7/UMAnalytics_Sdk_3.6.7'
ld: library not found for -lMGSwipeTableCell
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Who can help me ,thx
You can relink those things "Build settings->Linking->Other Linker Flags"
AFNetworking
MGSwipeTableCell
MJRefresh
iRate
Is it your project? Sometime , the code people shared in Internet could lack of some lib.
You can relink those things "Build settings->Linking->Other Linker Flags"
Add:$(inherited)
Go to edit scheme as shown below.
Then uncheck all other targets except your main target under build tab.

IOS integrated unity 4.6.3 project(64-bit). Appear the following such a mistake, how to fix it?

I have matched all the configuration of the two project, and import the frameworks. and the error is:
ld: framework not found -stdlib=libstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Add -ObjC Linker Flag build to fail

I have added the -ObjC linker flag (to add the street view api),it's work fine on simulator but it causes the build to fail on device.
ld: framework not found Metal for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
see this #Developer Adding -ObjC flag in xcode
and go through this link:https://github.com/Estimote/iOS-SDK/issues/153
hope it helps

Linker error with Facebook SDK v3.12

I'm trying add a few social networks skds to my project. I've started from Facebook SDK and all works fine. But when I added a google+ sdk and added -ObjC flag, compile start failing with next error:
/Users/developer/Documents/Projects/iOS/FacebookSDK.framework/FacebookSDK(Facebook.o)
ld: 49 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
But when I remove this flag, compile going good. What should I do in this situation?
if some framework or lib required flags (-all_Load or -ObjC) you can load this special libs with Other Linker Flag like this one
-force_load "$(BUILT_PRODUCTS_DIR)/libRestKit.a"
don't remember exclude this lib from target to avoid symbol duplication

Resources