BUG

  • mark 一: ivar size mismatch in PSUICollectionView_ of 80 bytes
Warning! ivar size mismatch in PSUICollectionView_ of 80 bytes - can't change the superclass.

解决:1.搜索PSUICollectionView,找到.m文件

2.搜索char filler,在[]中的数据上加上警告提示的数据

  • mark 二: asset.xcassets中jpg图片不能加载到xib

Could not load the "1222" image referenced from a nib in the bundle with identifier "com.aim.WuliuZhipei"

在asset.xcassets中右键图片,show inFinder,吧图片改成.png

  • mark 三:AFN适配低版本报警告
object file (/Users/lh0811/Library/Developer/Xcode/DerivedData/AFNTest-gzrzxwazgvrpztbfbpqkxbyygqlf/Build/Products/Debug-iphonesimulator/libAFNetworking.a(AFURLResponseSerialization.o)) was built for newer iOS version (9.3) than being linked (7.0)

为什么引起这个问题没搞明白,但是知道了如何解决,在Build Settings -> other lingkr Flags 中添加-w 就可以解决了

  • mark 四:由于项目类或资源文件删除后报错
    error: /Users/lh0811/Desktop/项目/wuliuiossvn/WuliuZhipei/WuliuZhipei/main/LHImagePickVC/add.png: No such file or directory

clang: error: no input files这个问题一般是因为你删除或者移动了某一个文件,但是在你的编译资源里面( project > target > Build Phases > Compile Sources)还存在它,只要在(project > target > Build Phases > Compile Sources)里面把那些红色的文件或者资源删除掉,就可以编译过了

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容