This topic describes how to compile the demo of Push SDK for iOS.
Download the demo
For information about how to download the latest version of Push SDK for iOS and the demo source code, see SDK download and release notes.
Demo compilation
Environment requirements
Item | Requirement |
OS version | iOS 8.0 or later |
Phone model | iPhone 7 or later |
CPU architecture | ARM64 or ARMv7 |
Integration tool | Xcode 8.0 or later |
bitcode | Disabled |
Run the demo source code
Download and decompress the demo package of Push SDK for iOS. For more information, see SDK download and release notes.
For information about the directory structure of the demo for iOS, see Directory structure of the demo for iOS.
Use Xcode to open the AlivcLivePusherDemo.xcodeproj project.
Run the demo project to test the features.
Enter a valid Real Time Messaging Protocol (RTMP) URL for stream ingest in the field that is marked as 1 in the preceding figure. After the stream is ingested, you can use ApsaraVideo Player SDK, FFplay, or VLC to play the stream.
Directory structure of the demo for iOS
The following table describes the files contained in the SDK folder.
File | Description |
| Push SDK |
| Queen SDK |
| ApsaraVideo Player SDK |