Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

Installing the SDK

Updated on 2024-03-29 GMT+08:00

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.

Mac OSX 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 > Apple LLVM9.0 - Language - Modules and set Allow Non-modular Includes In Framework Modules to Yes.

  5. Set network connections.

  6. Import the OBS header file when needed.

    #import <OBS/OBS.h>

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

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback