Adding the Connect SDK as a framework
You can add the Connect SDK to the Xcode project as a framework, which is one of several methods for adding the Connect SDK to Xcode. This is the default method for projects targeting iOS 9 and later.
The procedure described here is part of the process described in the PDN article Setting up the Connect SDK for iOS app development. Refer to this article for complete instructions about how to set up the Connect SDK when developing iOS apps.
To add the Connect SDK as a framework:
- Read the Prerequisites section in Setting up the Connect SDK for iOS app development.
- Create a new project in Xcode.
- Extract the framework version of the Connect SDK library that you obtained from Pegasystems, for example: ConnectSDK-3.1.0.1.zip
- Add the framework to the Xcode project:
- Select the General tab. Under the Embedded Binaries section, drag and drop the ConnectSDK.framework or click the plus sign ( ),to add it.
- Make sure that the ConnectSDK.frameworks now appears in the Embedded Binaries, Linked Frameworks and Libraries sections, and in the main project in the left pane.
- Verify that the Connect SDK has been successfully added to Xcode. For more information, see the Verify that the Connect SDK is configured section in the PDN article Setting up the Connect SDK for iOS app development.