Resolves cocoapods warning issues under 64-bit IOS7 systems

Source: Internet
Author: User

Today I have a very strange problem. Xcode prompts this warning Pods was rejected as a implicit dependency for ' LIBPODS.A ' because it architectures ' i386 ' didn ' t contai n All required architectures ' x86_64 '

Search on the Internet, parsing is this, because the pod is compiled with ARM64 packaging, and in my project designated valid architectures is ARMV7, so the above error is reported. Performance is not found in the Pod class referenced in project.

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

Note: after each podfile update. We need to check again. The settings in the new podsproject are not as consistent as set above, and if they are inconsistent, they need to be changed consistently.


The second 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 code above, will work, and each update will be effective.

Resolves cocoapods warning issues under 64-bit IOS7 systems

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.