Updated on 2026-07-22 GMT+08:00

Installing the SDK

Preparing a Development Environment

Download the latest version of Xcode from the Xcode's official website.

iOS Project Configuration

  1. Download the OBS iOS SDK software package by referring to SDK Download Links.
  2. On Xcode, create a project.
  3. Add OBS.framework to the project and select Copy items if needed.

  4. Choose TARGETS > Build Settings > Linking > Other Linker Flags and add the flag:

    -force_load

    $(SRCROOT)/XXX/OBS.framework/OBS

    XXX indicates the path of OBS.framework in the project folder.

  5. Choose TARGETS > Build Settings > Apple Clang - Language - Modules and set Allow Non-modular Includes In Framework Modules to Yes.

  6. Import the OBS header file when needed.

    #import <OBS/OBS.h>

  7. Run command+B to check whether OBS.framework passes the compilation.

FAQ