Build iOS XMPP Development Environment
1 first download the xmppframework framework
Https://github.com/robbiehanson/XMPPFramework
2 Environment configuration reference: https://github.com/robbiehanson/XMPPFramework/wiki/GettingStarted_iOS 1 add xmppframework framework to project
Drag the following files into the project
You can choose to add modules in Extension (only the modules required by the current project are added)
The xmppframework design is modular, including core and extension. Third-party developers can easily add their own extension implementations.
You only need to add the modules required by your project. Generally, the extension depends on some additional packages.
Here I select to add the following modules
2. Add the framework and select a project --> select Build Phases --> Link Binary With Libraries. Click the plus sign to add the library to be added. Note that the library to be added may be different depending on the module you added)
3. Add a search path
4. Add XMPPFramework. h file
// This file is designed to be customized by YOU.
// As you pick and choose which parts of the framework you need for your application, add them to this header file
This file can be found in the downloaded XMPPFramework-master.
Just change the name.
5 and then there will be ARC-related errors. My solution is to add the strong modifier in the corresponding attribute definition.