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中的設(shè)置状蜗,需要在項(xiàng)目中定義PODS_ROOT 和 Other Linker Flags的地方,把他們的值用$(inherited)替換掉巧号。
大致解決辦法知道了含衔, 開(kāi)始在Build Settings中的PODS_ROOT和Other Linker Flags處進(jìn)行修改煎娇,添加一項(xiàng)$(inherited),Other Linker Flags我這里沒(méi)有替換掉贪染,而是添加一項(xiàng)缓呛,怕我本來(lái)的項(xiàng)也是有用的,就沒(méi)有替換杭隙。