Installing the SDK
iOS Project Configuration
- Download the OBS iOS SDK software package by referring to SDK Download Links.
- On Xcode, create a project.
- Add OBS.framework to the project and select Copy items if needed.

- Choose TARGETS > Build Settings > Linking > Other Linker Flags and add flag -force_load $(SRCROOT)XXX/OBS.framework/OBS. XXX indicates the name of the folder saving OBS.framework under the project folder.

- Choose TARGETS > Build Settings > Apple LLVM9.0 – Language –Modules and set Allow Non-modular includes in Framework Modules to Yes.

- Import the OBS header file when needed.
#import <OBS/OBS.h>
- Run command+B to check whether OBS.framework passes the compilation.
Mac OSX Project Configuration
- Download the OBS iOS SDK software package by referring to SDK Download Links.
- On Xcode, create a project.
- Add OBS.framework to the project and select Copy items if needed.

- Choose TARGETS > Build Settings > Apple LLVM9.0 – Language –Modules and set Allow Non-modular includes in Framework Modules to Yes.

- Set network connections.

- Import the OBS header file when needed.
#import <OBS/OBS.h>
- Run command+B to check whether OBS.framework passes the compilation.
Last Article: Preparing a Development Environment
Next Article: Obtaining Endpoints
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.