This topic describes how to troubleshoot common issues related to integration with Real-Time Communication (RTC) SDK for iOS.
An x86 or i386 error occurs during code compilation
- Problem description: The error shown in the following figure is reported when you compile your code.

- Possible cause: A simulator is used to debug and run the code.
- Solution: Use a real device to debug and run the code.
A bitcode error occurs during code compilation
- Problem description: The error shown in the following figure is reported when you compile your code.

- Possible cause: The SDK does not support the bitcode feature.
- Solution: Disable bitcode in build options.

An "image not found" error occurs during code compilation
- Problem description: The error shown in the following figure is reported when you compile your code.

- Possible cause: The SDK of the V1.6 or an earlier version is statically loaded. The SDK of the V1.7 or a later version is dynamically loaded.
- Solution: Load AliRTCSdk.framework as an embedded library.

An app fails to run due to insufficient permissions
- Problem description: The error shown in the following figure is reported when you run your app.

- Possible cause: The app does have the permissions on the modules to be used.
- Solution: Edit the info.plist file to apply for the permissions on modules such as the camera and microphone. For more information, see Integrate RTC SDK for iOS.

Failed to call a UIDevice method
- Problem description: The error shown in the following figure is reported when you run your app.

- Solution: Add -Objc to linking options.

Voice stuttering occurs if network conditions deteriorate
- Problem description: In the online KTV scenario, voice stuttering occurs if the network conditions deteriorate.
- Possible cause: To ensure the timeliness of the chorus, the client adopts a low latency policy. As a result, the packet loss rate increases if the network conditions deteriorate.
Echoes are heard in the sound played by speakers if the in-ear monitoring mode is enabled
- Problem description: In the online KTV scenario, echoes are heard in the sound played by speakers if the in-ear monitoring mode is enabled.
- Solution: You must put on earphones when you sing. Do not play the sound by using speakers.
该文章对您有帮助吗?



