IOS Development notes-Baidu map (third-party library), ios third-party

Source: Internet
Author: User

IOS Development notes-Baidu map (third-party library), ios third-party

Recently I made a Baidu map and encountered some problems after the SDK was imported. Compilation error: linker command failed with exit code 1 (use-v to see invocation)

I tried a lot of methods, checked a lot of information, and finally solved the problem.

Possible causes:

1. Duplicate. m files exist or are not imported

Solution: repeat the deletion.

In the left-side Navigation Pane, choose Target --> Build Phases --> compile Sources. All. m files in the third library are added to the file.

2.The value of Valid ubuntures is in the form of an error.

Solution:

Change the Valid ubuntures value to armv7.
Process:
PROJECT --> Build Settings --> ubuntures --> Valid ubuntures his value is originally armv7 armv7s (under ios6.0) Remove armv7s
Same operation
TARGETS --> Build Settings --> ubuntures --> Valid ubuntures make the same modification

3. The path does not contain multiple static library files.

Added a third-party static library (. a file)

Build settings-> Search Path-> Library Search Paths Add the corresponding Path of the static Library to delete the error

Baidu gives three ways to add a path (http://developer.baidu.com/map/wiki/index.php? Title = iossdk/guide/hellobaidumap) carefully check and add

There will be no problems.

In the course of learning, there are too many reasons for such errors. Here we will not list them one by one. I believe that careful checks can be made to find out the cause and the problem will certainly be solved.

If you have encountered similar problems, please contact us. Thank you!


What is the function of developing Baidu map api for ios to set the central point?

The default map address is Beijing. If you want to display the map of your current location at this time, although the positioning is successful, if you do not set the center, the Beijing map is displayed on the interface.
 
Does IOS support Baidu map development?

However, Baidu's IOS Mobile API currently does not support IPAD. If you want to support IPAD, is it only possible to use web view? If implemented in WEB mode, can you obtain the required data, such as location information, from a WEB page...

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.