FMDB library missing in xcode 8.x

ld: library not found for -lPods-Project_name-FMDB clang: error: linker command did not work with exit code 1 (use -v to call the call)

The above error is in xcode8.1, but the code runs successfully in xcode 7.x versions.

+5
source share
2 answers

I got a solution to my questions.

delete the lines -lPods- (someCocoaPod) in the Other Linker Flags list, but only if $ (inherited) is at the top. At first I was not sure, but a convincing sign was that I still saw links to my coco-caps when I left the editing mode (inherited). I tested in debug and release, both of which gave me errors, and the problem was immediately fixed.

+1
source

I got the same error in Xcode 8. This was resolved by opening the FMDB-watchOS target point under Pod and setting ENABLE_BITCODE to YES.

0
source

Source: https://habr.com/ru/post/1263132/


All Articles