Undefined symbols for architecture x86_64: "_OBJC_CLASS_$xxxxxx", referenced from: objc-c...

本人技术小白一个,用pod导入一个第三方,之后引用该第三方类,编译报错

Undefined symbols for architecture x86_64:

找了很久,后面找到一份关于pod install 后给出的警告!

[!] The `ChooseDay [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-ChooseDay/Pods-ChooseDay.debug.xcconfig'. This can lead to problems with the CocoaPods installation

    - Use the `$(inherited)` flag, or

    - Remove the build settings from the target.

后面根据提示在 Build Settings 下的 LinKing-->other Linker Flags 添加一个$(inherited),之后我的这个问题就解决了! 对此自己记录一下。

你可能感兴趣的:(Undefined symbols for architecture x86_64: "_OBJC_CLASS_$xxxxxx", referenced from: objc-c...)