Search code examples
iphoneios9xcode7-beta5

xcode7: hit linker command failed with exit code 1 under


I hit below error when build app on real device(ios9.0) use xcode7 beta:

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

I tried to

  1. change the config "Enable Bitcode" to "NO".

  2. hardcode Framework path under build setting tab

but it didn't help.


Solution

    1. check this framework if existed in your project folder,you can right click on this framework in Xcode.
    2. if existed, delete this framework under Frameworks in Xcode and then copy this framework into Xcode again for re-reference.