Updated on 2024-12-09 GMT+08:00
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 the flag:
-force_load
$(SRCROOT)/XXX/OBS.framework/OBS
XXX indicates the path of OBS.framework in the project folder.
- Choose TARGETS > Build Settings > Apple Clang - 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.
Parent topic: Quick Start
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot