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