简体   繁体   中英

FMDB library missing in xcode 8.x

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.

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

我在Xcode 8中遇到了同样的错误。这是通过在Pods下打开FMDB-watchOS Target并将ENABLE_BITCODE设置为YES来解决的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM