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)里面把那些紅色的文件或者資源刪除掉,就可以編譯過了

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容