When the latest cocoapod is imported into XMPP, there is a cyclic dependency, so the master chooses manual import.
Very happy to start with, later, using Cocoapods to import other frameworks, found that the call always error.
Undefined Symbols for Architecture x86_64:
"_objc_class_$_svprogresshud", referenced from:
Objc-class-ref in HJCXMPPTOOLS.O
Ld:symbol (s) not found for architecture x86_64
Clang:error:linker command failed with exit code 1 (use-v to see invocation)
Searching the internet for a bunch of Raiders, cocoapods uninstall re-followed 108 times, however, this does not have any eggs.
Later, when I updated the framework again with Cocoapod, I found a warning about the terminal
[!] The ' MYQQ [Debug] ' target overrides the ' other_ldflags ' build setting defined in ' Pods/target support Files/pods/pods.debu G.xcconfig '. This can leads to problems with the CocoaPods installation
-Use the ' $ (inherited) ' flag, or
-Remove The build settings from the target.
This has the idea, originally I manually imported XMPP, modified the other Linker Flags
So the solution is:
Follow the prompts to add $ (inherited)
After the addition, the problem finally resolved, the main tears, troubled the Lord 2 days to solve the problem finally bird ~ ~.
Problems that occur when you use Cocoapods after manually importing XMPP