Xcode日常真机运行错误提示及解决汇总

来源:互联网 发布:php开源商城 城市分站 编辑:程序博客网 时间:2024/05/17 03:22
1.0 “iPhone” is of a model that is not supported by this version of Xcode. Please use a different device.  解决:重启Xcode


2.0  获取mainBundle 资源时 工程目录显示资源已经存在 但是代码运行获取到路径为nil 右键点击资源 选择add fileto“工程” 进行重新添加