友盟分享更换成pods报错

Undefined symbols for architecture arm64: “OBJC_CLASS$_UMSocialManager”, referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

警告中,提示要想使用cocoapods中的设置,需要在项目中定义PODS_ROOT 和 Other Linker Flags的地方,把他们的值用$(inherited)替换掉。

大致解决办法知道了, 开始在Build Settings中的PODS_ROOT和Other Linker Flags处进行修改,添加一项$(inherited),Other Linker Flags我这里没有替换掉,而是添加一项,怕我本来的项也是有用的,就没有替换。

你可能感兴趣的:(友盟分享更换成pods报错)