之前一直可以用的,昨天在运行的时候,就报错
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_JPUSHService", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_JPUSHRegisterEntity", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
网上试了好多方法,也改了好多都没用,,求遇到的大神帮忙解答一下。
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_JPUSHService", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_JPUSHRegisterEntity", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
网上试了好多方法,也改了好多都没用,,求遇到的大神帮忙解答一下。
clang: error: linker command failed with exit code 1 (use -v to see invocation)。。这个错您有遇到过了。。不是第三方库的问题。。我看了几遍了。
这个错误提示要将ENABLE_BITCODE设成NO。
1、进入Build Settings
2、在Build Options里将Enable Bitcode设为NO
希望能得上忙。