问题描述
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_JPUSHRegisterEntity", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_JPUSHService", referenced from:
objc-class-ref in AppDelegate.o
objc-class-ref in UserService.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
尝试解决
尝试一
把JPush库(或其它相应的库)的.a文件移到别的地方,删除Xcode中的引用,然后重新吧.a引入。编译运行。
尝试二
检查调整编译模式为debug,大概因为.a库仅支持debug或者release模式。编译运行。
最后
以上就是狂野日记本最近收集整理的关于【错误处理】iOS报错,Undefined symbols for architecture x86_64的全部内容,更多相关【错误处理】iOS报错,Undefined内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复