Problems that occur when you use Cocoapods after manually importing XMPP

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.