Building an IOS XMPP development environment

Source: Internet
Author: User

1 Download xmppframework this framework first
Https://github.com/robbiehanson/XMPPFramework

2 Environment Configuration Reference: Https://github.com/robbiehanson/XMPPFramework/wiki/GettingStarted_iOS1 add xmppframework frame to project
Drag the following file into the project

The modules in extension can optionally be added (only the modules needed for the current project are added)
Xmppframework design is modular, including the core and extension, third-party developers can easily add their own extension implementation, while the developer
You just need to add the modules you need for your project. General extensions will depend on some additional packages, and be aware of adding them at the same time.
Here I choose to add the following module

2 Add the Framework selection project--Select build phases--and Link Binary with Libraries dot plus add the libraries you need to add include (note that depending on the module you add, you may need to add a different library)

3 Adding a search path


4 Add XMPPFramework.h File
This file was designed to being customized by.
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 download Xmppframework-master


You can change the name.
ARC-related errors are also encountered after 5, my workaround is to add the strong modifier at the corresponding property definition



Building an IOS XMPP development environment

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.