English | 简体中文

This section shows you the prerequisites you need for testing Live for iOS example.
- Xcode 13.0 or above
- Operating system: iOS 13.0 or later
If you would like to try the sample app specifically fit to your usage, you can do so by following the steps below.
- Go to the Application management page in the TRTC console, select Create Application, enter an application name such as
TUIKitDemo, and click Confirm. - Click Application Information on the right of the application, note the
SDKAppIDand key:- SDKAppID: A number in parentheses after 'TUIKitDemo'.
- SDKSecretKey: Click Copy SDKSecretKey.
git clone https://github.com/Tencent-RTC/TUILiveKit.git
cd TUILiveKit/iOS/Example
pod install
In GenerateTestUserSig.swift, you need to configure the application's SDKAppId and SDKSecretKey.
let SDKAPPID: Int = 0
let SECRETKEY = ""
- Use two mobile phones (A and B) to log in to the application using strings as their user IDs. If you log in for the first time, you need to add a user name.
- The user on mobile phone A clicks the 'Start Live Streaming' button to initiate a live broadcast (note that you select video live broadcast or voice live broadcast)
- The user on mobile phone B enters the user ID of the user on mobile phone A and clicks to 'Join live room' or 'Join voice room' to watch the live broadcast.
Sandbox: rsync.samba(2564) deny(1) file-write-unlink /Users/wesleylei/Library/Developer/Xcode/DerivedData/TestLiveKit-etglzzsjcwgokmcvmmnjifiqfgfx/Build/Products/Debug-iphoneos/TestLiveKit.app/Frameworks/Kingfisher.framework/_CodeSignature
clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a'; try increasing the minimum deployment target
ld: Undefined symbols:
_OBJC_CLASS_$_SDImageCoderHelper, referenced from:
in TUITool.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please refer to:FAQs