Sin descripción

ios.md 1.1KB

iOS Installation

Prerequisites

  • You should installed and linked react-native-agora
  • Xcode 10.0+
  • cocoapods
# installed ruby first then run it
gem install cocoapods

Step 1. install pod dependencies

cd ios
pod install

pod install success will create <projectName>.xcworkspace file in ios folder.

Step 2. Open the xcworkspace Project in Xcode

Open ios/projectName.xcworkspace with XCode Step 2

Step 3. Add RCTAgora to the Project Libraries folder

Step 3.1 Step 3.2 select the AgoraRtcEngineKit and re-added by below steps. Step 3.3 Step 3.4 Step 3.5

Step 4. Only Add Linked Library to the xcode project

Step 4.3

Step 5. build and run it with xcode