1.Invalid parameter not satisfying: [views count] == 3
用到這個函數(shù)的時候,報了這個錯,后來animated改為no就好了,查的顯示,動畫會引起奔潰
[self.pageViewController setViewControllers:@[_controllers[_currentTypeIndex]]
direction:UIPageViewControllerNavigationDirectionForward
animated:NO
completion:nil];
2.16.5.19 ?'NSInternalInconsistencyException', reason: 'UITableView (; layer =; contentOffset: {0, 0}; contentSize: {375, 415}>) failed to obtain a cell from its dataSource ()'?
原因:沒有在調(diào)用之前注冊 ? ?ps:快一個月沒寫代碼了,手生了........
解決辦法先注冊cell才可以:[mTable registerNib:[UINib nibWithNibName:TESTIMAGECELL bundle:nil] forCellReuseIdentifier:TESTIMAGECELL];\
2.16.5.19? Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'table view row height must not be negative - provided height for index path ({length = 2, path = 0 - 1}) is nan'
我返回了一個nan,非整數(shù),所以崩了
3.u3d項目打包到xcode
ld: warning: ignoring file /Users/apple/Desktop/iosU3dPro_test/Libraries/libiPhone-lib.a, file was built for archive which is not the architecture being linked (i386): /Users/apple/Desktop/iosU3dPro_test/Libraries/libiPhone-lib.a
Undefined symbols for architecture i386:
"_ALAssetsGroupPropertyName", referenced from:
___29-[OAlbumController GetAlbums]_block_invoke_2 in OAlbumController.o
-[OAlbumController GetAlbum:] in OAlbumController.o
"_OBJC_CLASS_$_ALAssetsFilter", referenced from:
objc-class-ref in OAlbumController.o
"_OBJC_CLASS_$_ALAssetsGroup", referenced from:
objc-class-ref in OAlbumController.o
"_OBJC_CLASS_$_ALAssetsLibrary", referenced from:
objc-class-ref in OAlbumController.o
"_RegisterModule_AI", referenced from:
RegisterStaticallyLinkedModules() in RegisterMonoModules.o
"_RegisterModule_Animation", referenced from:
RegisterStaticallyLinkedModules() in RegisterMonoModules.o
"_RegisterModule_Audio", referenced from:
解決辦法:1.u3項目直接運行在xcode上 ?,不要用模擬器,選擇真機
2.如果非要使用模擬器,用如下方法(第一次需要以后就不用了)

3.上面的問題(這種問題多發(fā)于拿到不適自己的項目)
"_OBJC_CLASS_$_ALAssetsLibrary", referenced from:
objc-class-ref in OAlbumController.o
可能情況有兩種:
1>OAlbumController.m ?類沒有添加 ?需要在build phases->complile sources查看是否有,沒有就添加下
2>查看ALAssetsLibrary類使用時需要的框架是不是都添加了,可以百度下需要的框架,然后在build phases->link binary with libraries ?里面檢查是否缺失
4.2016.8.17 ?我又開始做項目了
clang: error: no such file or directory: '/Users/apple/Desktop/SigninViewController.m'
clang: error: no input files