Undefined symbols for architecture i386: "_OBJC_CLASS_$_ShareService", 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)
解决办法
TargetSettings -> Build Phases -> Compile Sources -> add your .m class ->Build and Run
WeChat
链接过程找不到符号
Undefined symbols for architecture i386: "_OBJC_CLASS_$_SendMessageToWXReq", referenced from: objc-class-ref in ShareService-975EADE79707A8E.o "_OBJC_CLASS_$_SendMessageToWXResp", referenced from: objc-class-ref in ShareService-975EADE79707A8E.o "_OBJC_CLASS_$_WXApi", referenced from: objc-class-ref in ShareService-975EADE79707A8E.o "_OBJC_CLASS_$_WXMediaMessage", referenced from: objc-class-ref in ShareObject-7F9E83398E91668B.o "_OBJC_CLASS_$_WXWebpageObject", referenced from: objc-class-ref in ShareObject-7F9E83398E91668B.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)