Xmpp-ios Instant Messenger XMPP related framework Import

Source: Internet
Author: User

Just take a look at the import steps for XMPP-related frameworks for easy viewing later

I. Framework Address

1. xmppframework frame address available in other languages

http://xmpp.org/xmpp-software/libraries/

2. Download the Xmppframework framework:

Https://github.com/robbiehanson/XMPPFramework

3.git Clone

Https://github.com/robbiehanson/XMPPFramework.git

Two. Import the relevant framework
    • Cocoalumberjack: Log Frame
    • Cocoaasyncsocket: The underlying network framework for asynchronous socket network communication (need to add cfnetwork&security framework dependencies)
    • Kissxml:xml parsing Framework (need to add libxml2.dylib framework dependencies, you need to specify the following compilation options:
    • Other Linker Flags =-LXML2
    • Header Search Paths =/usr/include/libxml2)
    • Libidn
    • Import a folder (Authentication,categories,core,utilities) to a project
    • Add Libresolv.dylib Dependency
    • Import XMPP Extension framework: Extensions
    • Add Sample_xmppframework.h to the project, and rename to XMPPFramework.h
Three. 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, and you can resolve this issue by following these steps: 1. Select the item in the navigation area, and then on the right, select Targets-project-build phases 2. In link Binary with libraries, re-add the LIBIDN.A library

Xmpp-ios Instant Messenger XMPP related framework Import

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.