Build iOS XMPP Development Environment

Source: Internet
Author: User

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.


 

Related Article

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.