美文网首页Bug
Unable to run command 'Strip

Unable to run command 'Strip

作者: sajiner | 来源:发表于2017-04-16 14:36 被阅读849次

用pod导入自己创建的私有库时,如果没有添加 use_frameworks ,在编译的时候就会报 “Unable to run command 'StripNIB xx.nib' - this target might include its own product” 这个错误。具体步骤请看图:

D80D1565-0271-434F-AFC5-19E05A68EA57.png

执行 pod install 后

2FC87B39-6DC2-47F4-9C63-421CF4A699BE.png

此时 command + B 编译程序,会报错误:

0CE4DE2B-2AE7-4986-8398-C551738EBBC9.png

此时,只需要在 podfile 文件中添加 use_frameworks!即可

12ECDB1E-0B7A-4826-B32C-AA9C53641690.png

添加完后,执行 pod install ,回到 Build Phases 中,

5FFA9005-6C28-40E4-9020-FABD5E847F7D.png

再次,编译,即可通过。

相关文章

网友评论

    本文标题:Unable to run command 'Strip

    本文链接:https://www.haomeiwen.com/subject/kbeaattx.html