dyld: Symbol not found: ___NSArray0__ Referenced from: /System/Library/Frameworks/CoreFoundat...

dyld: Symbol not found: _NSArray0
Referenced from:
/System/Library/Frameworks/CoreFoundation.framework
 报类似错误的一般是低版本手机会遇到,解决方案如下:

  • 先确定在Build Phases -> Link Binary With Libraries 中是否添加了CoreFoundation.framework 如果没添加添加一下,添加了将右边的Required 改为Optional
    如下图:


    dyld: Symbol not found: ___NSArray0__ Referenced from: /System/Library/Frameworks/CoreFoundat..._第1张图片
    1536404900434.jpg

运行程序即可

你可能感兴趣的:(dyld: Symbol not found: ___NSArray0__ Referenced from: /System/Library/Frameworks/CoreFoundat...)