ios-Importing the XMPP framework

Source: Internet
Author: User

Instructions for importing the XMPP framework steps:

1. Copy the XMPP folder to the project folder;
2. Drag the folder to the Xcode project;
3. Add the following framework references:
Libresolv.dylib
Libxml2.dylib
Security.framework
Cfnetwork.framework
4. Select the item in the navigation area and select the project-item on the right-build Settings
In other Linker flags, enter:-LXML2
In the header Search paths, enter:/USR/INCLUDE/LIBXML2

Tip: If you already have additional content, you can move the cursor to the end and press option+ to enter the new line.

Problem handling:

* If you move an item to a different folder, you may see a hint that the LIBIDN.A library could not be found at compile time, follow these steps to resolve the issue:
1. Select the item in the navigation area and select the targets-item on the right-build phases
2. In link Binary with libraries, re-add the LIBIDN.A library

Note:
* Official Framework list Address
http://xmpp.org/xmpp-software/libraries/
* Xmppframework Frame
http://xmpp.org/xmpp-software/libraries/

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.