Introducing Baidu Navigation and Baidu Voice SDK at the same time in the same project. Since Baidu Navigation contains the voice function, it will conflict with Baidu Voice.
The following solutions were proposed in the Baidu Map Open Platform Forum:
Q: The Baidu voice sdk was imported into the project, which conflicts with the navigation sdk
A: The navigation sdk also uses the voice sdk, so the import is repeated. If there is a conflict, developers can try the following two methods
方法一:用户工程里面只留百度语音sdk的头文件,把libetts_device_simulator.a删掉后使用
方法二:提供无TTS版的导航sdk
When using method one, the project still cannot be run and the following error is prompted:
使用方法二,提示以下错误Undefined symbols:
![图片描述][2]
Since the above solutions are not feasible, I tried to unpack the two static libraries and merge them into one and repackage them, but there is still a problem Undefined symbols for architecture arm64
Ask for solutions, how to solve problems such as Undefined symbols for architecture arm64 when merging static libraries, or how to solve the conflict between iOS Baidu Navigation and Baidu Voice static libraries.
认证高级PHP讲师