美文网首页
linker command failed with exit

linker command failed with exit

作者: wuvivi | 来源:发表于2016-06-02 10:18 被阅读0次

    情况一:

    从上面的信息看出,问题出现在_titleBarHeight上面。在项目中搜索,没有搜到_titleBarHeight,只有titleBarHeight。

    原因是因为titleBarHeight是一个变量,在源代码中是titleBarHeight,而在编译过程中,变成了_titleBarHeight

    解决方法是把源码中的titleBarHeight变量改成_titleBarHeight,然后错误就消失了。另外,在没改之前在真机上运行是不报错的,只在模拟机上报错

    相关文章

      网友评论

          本文标题:linker command failed with exit

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