Error in build XCODE 6.4 - linker command failed - ios

Next error appears on attempt to build. Can someone help me? I sought the forum, but nothing worked.
ld: warning: directory not found for option '-L/Users/..'
ld: warning: directory not found for option '-L/..'
ld: library not found for -lGoogleAnalyticsServices
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Related

ld: library not found for -lSupport-bitcode

I am not able to find why is this happening. Searched but no related issues found.
ld: library not found for -lSupport-bitcode
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Message while building gives Link error on :
Ld /Users/xyz/Library/Developer/Xcode/DerivedData/xyz-gfpfhrpecsbpcucmbtbvnatnpnux/Build/Products/Staging-iphonesimulator/xyz.app/xyz
ld: library not found for -lSupport-bitcode
Thanks in advance.

xcode: library not found -lBolts

I am getting error for iBolts and i add it in my project using pod. Look at the error once.
d: warning: directory not found for option '-L/Users/chetumac-007/Desktop/untitled folder/MamaBear-iOS-App/Pods/build/Release-iphoneos'
ld: warning: directory not found for option '-L/Users/chetumac-007/Desktop/untitled folder/MamaBear-iOS-App/Pods/FlurrySDK/Flurry'
ld: library not found for -lBolts
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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.

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

i am getting the following error how to fix it.
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/Developer/Library/Frameworks'
ld: warning: directory not found for option '-FFRAMEWORK_SEARCH_PATHS'
ld: warning: directory not found for option '-F='
clang: error: linker command failed with exit code 1 (use -v to see invocation)
i have tried the following way but still getting the same problem.
i have refered this and also i removed all the frameworks and added once again still same problem occurs. can any once help.

Xcode 5- clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm using xcode 5 for my mobile app project. I got this error when I try build the project.
ld: warning: directory not found for option '-L\\\\\\\"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WorklightSDK\\\\\\\"'
ld: warning: directory not found for option '-L/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'
ld: warning: directory not found for option '-F"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/Frameworks"'
ld: warning: directory not found for option '-F/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'
ld: framework not found sqlcipher
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: directory not found for option '-L\\\\\\\"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WorklightSDK\\\\\\\"'
ld: warning: directory not found for option '-L/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'
ld: warning: directory not found for option '-F"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/Frameworks"'
ld: warning: directory not found for option '-F/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'
ld: framework not found sqlcipher
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Why?
This error is because of some missing libraries in your project.
Check in your Build Phases -> Link Binary With Libraries. Any of your framework may had been removed from there.
Add it and Clean and Build your project. It should work fine.
Hope it helps you.
There is another probability that you are using Cocoa Pods to install the library but not open the workspace (*.xcworkspace) file of the project after pod install was successfully executed.

Resources