Troubleshoot Cocoapods warning issues under the 64-bit iOS7 system

Source: Internet
Author: User

Today comes a very strange question, Xcode prompts such warning Pods was rejected as a implicit dependency for ' LIBPODS.A ' because it architectures ' i386 ' Didn ' t contain all required architectures ' x86_64 '

Search on the Internet, the analysis is like this, because the pod is compiled with ARM64, and in my project to specify valid architectures is ARMV7, so the report above the error, performance is referenced in the project Pod class can not be found,

There is a solution on the net is to set up the pod project   valid architectures with your project  valid architectures consistent.

Note: after each podfile update, you also need to re-check that the settings in the new Pods project are the same as set above, and if not, you need to change the consistency.


Another method is to specify your  valid architectures.


Post_install do |installer|    Installer.project.targets.each do |target|        Target.build_configurations.each do |config|            config.build_settings[' archs ' = "armv7"            end end    

InThe end of the Podfile file, with the above code, can be done, and each update will work.

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.