Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FMDB library missing in xcode 8.x

Tags:

ios

ld: library not found for -lPods-Project_name-FMDB clang: error: linker command failed with exit code 1 (use -v to see invocation)

The above error in xcode8.1 but code successfully run in xcode 7.x versions.

like image 908
Deepak Saki Avatar asked Nov 08 '22 03:11

Deepak Saki


1 Answers

I got the solution of my questions.

remove the -lPods-(someCocoaPod) lines in the 'Other Linker Flags' list BUT only if $(inherited) is at the top. At first I was unsure, but the reassuring sign was that I still saw references to my cocoapods when I left the edit mode(inherited). I tested in debug and release, both of which were giving me errors, and the problem was immediately resolved

like image 129
Deepak Saki Avatar answered Nov 14 '22 22:11

Deepak Saki