- SDK Downloads
- Demo APP
- Sample Codes
- Access Guide
- Quick Starts
- Common Problems
- Error Codes
- Server API
- API Documents
- API Documents
- ZegoDocsView SDK has been downloaded.
- Please go to ZEGO Management Console to register an account and apply for the AppID and AppSign required to initialize the SDK. Please refer to Project Management for the application process.
2 Prepare the Environment
- Xcode 6.0 or above.
- iOS device or simulator with iOS 8.0 or above (recommended to use a real device).
- The iOS device is connected to the Internet.
3 Integrated SDK
3.1 Install Xcode
- Open the
AppStore, search for
Xcode, download and install it.
3.2 Log in to Apple ID Account
Open Xcode, select
Preferencein the upper left corner, click the
Accounttab, click the
+sign in the lower left corner, and select Add Apple ID.
Enter Apple ID and password to log in.
3.3 Import SDK
The SDK library file contains two folders iphoneos and iphoneos_simulator, the differences are as follows:
- iphoneos is only used for real-device debugging. The user needs to use ZegoDocsView.framework under this file when it is finally released, otherwise it may be called back by Apple;
- iphonos_simulator contains libraries for debugging on real devices and simulators. If you use the simulator to debug during the development process, you need to import ZegoDocsView.framework in this folder. But when it is finally released, switch back to the framework under the iphoneos file.
In the following setting steps, please select the framework file that meets the development requirements.
- Manually copy the SDK dynamic library files to the project directory.
- Open Xcode and use [Add Files to "xxx" (xxx is the user's project name)] to add the SDK dynamic library files to the project.
- In Xcode, select
Frameworks, Libraries, and Enbedded Content, add ZegoDocsView.framework, and set to "Embed to Embed & Sign".
- Open Xcode, select
Deployment Target, set 8.0 or above.