- Developing Live Experience
- Add the Live Experience iOS Frameworks to Your Xcode Project
Add the Live Experience iOS Frameworks to Your Xcode Project
Add the Live Experience iOS frameworks to your Xcode project.
Note: If you update your version of Xcode, you need to remove and re-add the Live
Experience frameworks to prevent language version mismatch errors.
-
Download and extract the Live Experience iOS SDK compressed (.zip) file.
The debug folder contains debug frameworks. The release folder contains release frameworks.
-
Add the Live Experience frameworks to your project.
- Select your application target in the Xcode project navigator.
- Select the General tab in the top of the editor pane.
- Expand Embedded Binaries.
-
Depending on your requirements, drag the framework files from either
release or debug to
Embedded Binaries. You can use the default options.
If you're using the debug frameworks, make sure you also add WebRTC.framework as well from the release folder.
-
Import any other system frameworks you require.
- Select your project, and select the Build Phases tab.
- Expand Link Binary With Libraries.
-
Click + to add new frameworks.
- CFNetwork.framework: zero-configuration networking services. For more information, see https://developer.apple.com/library/ios/documentation/CFNetwork/Reference/CFNetwork_Framework/index.html.
- Security.framework: General interfaces for protecting and controlling security access. For more information, see https://developer.apple.com/library/ios/documentation/Security/Reference/SecurityFrameworkReference/index.html.
- CoreMedia.framework: Interfaces for playing audio and video assets in an iOS application. For more information, see https://developer.apple.com/library/mac/documentation/CoreMedia/Reference/CoreMediaFramework/index.html.
- GLKit.framework: Library that facilitates and simplifies creating shader-based iOS applications (useful for video rendering). For more information, see https://developer.apple.com/library/ios/documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/DrawingWithOpenGLES/DrawingWithOpenGLES.html.
- AVFoundation.framework: A framework that facilities managing and playing audio and video assets in iOS applications. For more information, see https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/00_Introduction.html#/apple_ref/doc/uid/TP40010188.
- AudioToolbox.framework: A framework containing interfaces for audio playback, recording, and media stream parsing. For more information, see https://developer.apple.com/library/ios/documentation/MusicAudio/Reference/CAAudioTooboxRef/index.html#/apple_ref/doc/uid/TP40002089.
- VideoToolbox.framework: A low-level framework that provides direct access to hardware encoders and decoders. For more information, see https://developer.apple.com/documentation/videotoolbox.
- libicucore.tdb: A unicode support library. For more information, see http://icu-project.org/apiref/icu4c40/.
- libsqlite3.tdb: A framework providing a SQLite interface.
- Drag the Live Experience frameworks to the Frameworks folder in your project.
- If you are targeting iOS version 10 or above, add the libstdc++.6.tbd framework to prevent linking errors.
What to do next
Next, Configure the Required Background Modes.