Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

ios

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?

like image 688
Nurdin Avatar asked Jan 24 '14 07:01

Nurdin


1 Answers

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.

like image 122
Manthan Avatar answered Sep 30 '22 19:09

Manthan