Prerequisites
Before you start this tutorial, ensure that the following prerequisites have been met:- You’ve created a PlayFab developer account
- You’ve created a PlayFab Title and your title has been allow-listed for PlayFab Party
- You have Xcode version 10.2.1 or higher installed
- You have access to the PlayFab Party platforms repository
- You’ve created an apple developer account that can be used to sign your app for deployment.
Including the required libraries and header files
Headers
- You’ll need to include the following header files from the PlayFab Party distribution repository.
Frameworks
- You’ll need to link your application against the following frameworks that are also found inside the PlayFab Party distribution packages.
- iOS: PlayFabParty
- macOS: PlayFabPartyMac
The SSL libs are built from Open SSL version XXX. Use an OpenSSL version that is XXX or higher
Steps to get PlayFab Party working on iOS or macOS
Since the core Party library is written using C++, it’s directly accessible from objective C++ code. For convenience, we’ve made a simple Objective-C++ wrapper class to access the Party lib functionality. At a high level, you’ll want a class that has access to Party API methods to create a network, connect to a network, and send messages across a network. The SimpleClientClass is shown as an example in our iOS demo app.SimpleClientImpl and NetworkManager.
