Before you use the upload SDK for Android, you must configure a project. This topic describes how to configure a project.
Prerequisites
SDK integration
You can implement SDK integration in pod mode or manual mode.
- SDK integration in pod mode
- Add the dependencies of the ApsaraVideo VOD upload SDK to the Podfile file.
pod 'VODUpload'
- Update the pod repository.
pod repo update
- Install the upload SDK.
pod install
- Add the dependencies of the ApsaraVideo VOD upload SDK to the Podfile file.
- SDK integration in manual mode
- Download the upload SDK for iOS. For more information, see the "Download client SDKs" section of SDK download.
- Download the Object Storage Service (OSS) SDK for iOS. For more information, see the "Download the SDK" section of Preface.
- In Xcode, drag the VODUpload.framework and AliyunOSSiOS.framework to the Target project. In the dialog box that appears, select Copy items if needed.
- Add the following system dependent libraries.
- AVFoundation.framework
- CoreMedia.framework
- SystemConfiguration.framework
- MobileCoreServices.framework
- libresolv.9.tbd
Project configuration
After the SDK is integrated, open the project and modify the configuration.
- Choose .
- Add the -ObjC option.