
Getting Started with XMPPFramework
XMPPFramework is a large framework relying on several dependencies. The easiest way to get started is to use Cocoapods to integrate XMPPFramework in your own project. It will take care of adding all dependencies and perform all the required configuration steps.
Here are the steps needed to get started:
Create a new iOS project in Xcode, if you do not have one.
If you do not yet have a
Podfile
, create it ifpod init
command from the project root directory.Edit your
Podfile
to use XMPPFramework as a target. It may looks like:
platform :ios, '6.0'
use_frameworks!
target 'projectname' do
pod 'XMPPFramework'
end
Run
pod install
command. It should download, install and configure three pods.Open your XCode project with the newly created workspace file instead of the project file. This is required by Cocoapods so that you can use the installed Pods.
At this stage, you should be able to build your project successfully with the XMPP framework setup.