IOS: Make 64-bit compatible with Baidu maps

Source: Internet
Author: User

When the app using the Baidu Maps SDK is running in a 64-bit machine, there will be no architectures to compile for (Only_active_arch=yes, ACTIVE arch=x86_64, valid_archs= i386). The error. This is a compatibility issue and to solve this problem, we need to remove the 64-bit compilation option from the configuration. As shown in the procedure, change the red place to what is shown in the diagram:

If you also have cocoapods projects in your project, you need to set up each item in the Cocoapods as well, as shown in the following example:

If the compilation still does not pass, you can try to delete the Cocoapods project, then execute the pod install and recompile.

Note: If you are a real machine, you need to change build Active Architecture only to Yes

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.