Integrate the ZIM Audio SDK
This topic describes how to integrate the ZIM Audio SDK.
Prerequisites
Before you integrate the ZIM Audio SDK, make sure that the following conditions are met:
- Development environment:
- Xcode 13 or later is installed.
- The iOS system is in version 11.0 or later and supports real iOS devices with the audio feature.
Import the ZIM Audio SDK
You can integrate the ZIM Audio SDK by using the following method.
Copy the ZIM Audio SDK file for manual integration
- Download the ZIM Audio SDK of the latest version. For more information, see SDK downloads.
- Decompress the ZIM Audio SDK to the project directory, for example, the "libs" folder.
- Select your project under TARGETS. Then, choose General > Frameworks, Libraries, and Embedded Content, add the
ZIMAudio.xcframework
file, and set Embed to Embed & Sign.
Grant permission
The ZIM Audio SDK requires the microphone permission to collect audio data.
- In Xcode, select your project under TARGETS. Then, choose Info > Custom iOS Target Properties.
- Click the plus icon (+) and select
Privacy - Microphone Usage Description
to grant the microphone permission.