简体   繁体   English

xcode7:命中链接程序命令失败,退出代码为1

[英]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 : 在真实设备( ios9.0 )上使用xcode7 beta构建应用程序时,出现以下错误:

ld: library not found for -lPods...... clang: error: linker command failed with exit code 1 (use -v to see invocation) ld:找不到用于-lPods的库……铛:错误:链接器命令失败,退出代码为1(使用-v查看调用)

I tried to 我试过了

  1. change the config "Enable Bitcode" to "NO". 将配置“启用位码”更改为“否”。

  2. hardcode Framework path under build setting tab 构建设置选项卡下的硬代码框架路径

but it didn't help. 但这没有帮助。

  1. check this framework if existed in your project folder,you can right click on this framework in Xcode. 检查项目文件夹中是否存在该框架,可以在Xcode中右键单击该框架。
  2. if existed, delete this framework under Frameworks in Xcode and then copy this framework into Xcode again for re-reference. 如果存在,请在Xcode中的Frameworks下删除此框架,然后再次将此框架复制到Xcode中以供重新引用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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