-
Notifications
You must be signed in to change notification settings - Fork 209
Developing iOS apps
stefanalund edited this page Oct 26, 2014
·
20 revisions
This page shows how to get started developing iOS apps for OpenWebRTC. There are basically 3 different kinds of apps:
- Native - Low-level apps that use the OpenWebRTC C API.
- Hybrid - Apps that use a combination of native code (Objective-C or Swift) and HTML/JavaScript running in web views.
- Web - Web apps that use WebRTC JavaScript API. These apps can run in Bowser and other WebRTC enabled browsers.
The remainder of this page will focus on native and hybrid apps. If you are developing a web app for Bowser, or have an existing WebRTC web app that you want to run in Bowser, please go to the Developing for Bowser page.
Before you can add OpenWebRTC to your Xcode project, you need to build it.
The following Frameworks needs to be added to your project:
- CoreMedia.framework
- AssetsLibrary.framework
- AudioToolbox.framework
- AVFoundation.framework
- CoreAudio.framework
- CoreGraphics.framework
- CoreVideo.framework
- JavaScriptCore.framework
- QuartzCore.framework
- GLKit.framework
- VideoToolbox.framework
Apart from the Frameworks you need to also add the following dynamic libs:
libiconv.dylib
libresolv.dylib
libc++.dylib
2.2 32-bit architecture
OpenWebRTC currently only supports 32-bit iOS apps. You therefore need to remove armv7s and arm64 and change Architectures to $(ARCHS_STANDARD_32_BIT)
: