1、EXC_BAD_ACCESS(code = 1,address = 0x0******)

render方法为刷新UI,最后发现在子线程中刷新UI导致崩溃;
很简单的问题......坑
2、duplicate symbol _OBJC_CLASS 错误处理方法
该错误可能有两种错误:1、工程中存在同名的文件,包括文件夹重名;
2、第二种,如果你导入了静态库的话,看看是不是静态库中把.m文件当成.h文件导入了
3./Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/lib/libxml2.tbd is not an object file (not allowed in a library)
在静态库中使用新的.tbd库报错。
解决方案:
1.从Libraries and Frameworks area删除引入的.tbd库

2.在 other linker中添加对应的库
此处我引用的xml2,添加-lxml2
若引用libz.dylib,则添加-lz.

参考链接:http://stackoverflow.com/questions/32734097/xcode7-ios9-about-libz-tbd-is-not-an-object-file-not-allowed-in-a-library
网友评论