iOS :编译时易出现的错误(持续更新)

来源:互联网 发布:联想yoga11s 编程 编辑:程序博客网 时间:2024/06/15 02:33

编译问题:


  • 问题1:
command failed with exit code 1 (use -vto see invocation)

解决办法:项目中同时有两个一样的.m文件在编译,删除其中一个即可。

  • 问题2:

    • 真机运行编译时出现

 “(null)” is of a model that is not supported by this version of Xcode. Please use a different device.

解决办法:重启Xcode !

0 0
原创粉丝点击