BUG

作者: LH_0811 | 来源:发表于2016-07-06 15:54 被阅读310次
  • 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)里面把那些红色的文件或者资源删除掉,就可以编译过了

相关文章

网友评论

      本文标题:BUG

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