I am using the Baidu map process, there is a "failed initialization failure" prompt. After a few tossing, found that the configuration of the environment when the error occurred. I used the method when adding Mapapi.bundle and introduced the Baidumapapi.framework (copy the required baidumapapi.framework to the folder where the project is located. Click the "+" button in the Targets->build phases-> Link Binary with libaries and click the "Add Other" button in the pop-up window. Select the Baidumapapi.framework file to add to the project. ) method as a result of the error. I looked carefully at the official documents and found that Mapapi.bundle and baidumapapi.framework were not added in the same way. Add Mapapi.bundle Method: Select the project name, select Add Files to "project name" from the right-click menu ..., from baidumapapi.framework| | Resources file, select the Mapapi.bundle file and tick the "Copy items if needed" check box and click the "Add" button to add the resource file to the project. In fact, just drink to add a picture, just need to drag the Mapapi.bundle to the project inside it can be.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
iOS Baidu Map SDK Report engine failed to initialize