(1) Compile normal, run the newspaper [Uidevice Uniqueglobaldeviceidentifier]: Unrecognized selector sent to this time need other linker flags add-all_load parameters.
Specific: Project->build settings->linking->other Linker Flags
(2) Compile the report Undefined symbols for architecture armv7. Please check that there are no additions to quartzcore.framework and corelocation.framework
(3) Bmkmapmanager strongly recommends managing with a singleton mode and not calling its release method manually.
(4) In addition to setting Showsuserlocation = YES for user location positioning, call setcentercoordinate:animated in the Mapview:didupdateuserlocation: method.
Also be sure to call showsuserlocation= No in dealloc, or anywhere else away from the page, or the second push to the location page will not reposition the problem.
(5) Let at least one class keep the. mm file, or follow the official modification of the compiler type.
(6) lipo–create RELEASE-IPHONEOS/LIBBAIDUMAPAPI.A release-iphonesimulator/libbaidumapapi.a–output LIBBAIDUMAPAPI.A If an error is made, please change it to
Lipo–create–output LIBBAIDUMAPAPI.A RELEASE-IPHONEOS/LIBBAIDUMAPAPI.A RELEASE-IPHONESIMULATOR/LIBBAIDUMAPAPI.A can be solved.
-[__nscfstring StringFromMD5]
Other linker flags Add-all_load parameter
After practice, I recommend not to do so, the default is based on the file type to choose the way to compile, the file if. M with Objective-c, if. MM is objective-c++, manual change will make the whole project with a compile method, is prone to error or incompatible, For example, when the Navigationitem instantiation will be wrong, since Baidu map so maverick, then the best way is to change the map-related classes to. mm, the other is still, so that only this class will be used objective-c++ compile mode
Baidu Map does not display text: Because there is no setting mapview width height
Common mistakes in integrating Baidu maps