Objective-c - How to resolve the conflict between iOS Baidu Navigation and Baidu Voice static library? How to solve the problem of Undefined symbols when merging two static libraries?
PHP中文网
PHP中文网 2017-05-02 09:37:54
0
0
820
  1. 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.

  2. 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]

  1. 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

  2. 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中文网
PHP中文网

认证高级PHP讲师

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template