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