Search code examples
cocoapodsxcode8

Project 'Pods' was rejected as an implicit dependency for 'Pods.framework' because its architectures didn't contain all required architectures


Target 'AAA-Pods' for project 'Pods' was rejected as an implicit dependency for 'Pods_AAA.framework' because its architectures 'x86_64' didn't contain all required architectures 'i386 x86_64'.

This appears as warning, then linker error appears.


Solution

  • Possible Solution:

    1. Open Xcode project (cocoapods project) using .xc... file.
    2. Select Pods project in the project navigator (blue icon on left).
    3. Under Project, ensure Pods (blue icon) is selected.
    4. Navigate to Build Settings.
    5. Set Build Active Architectures Only = No (for both debug & release).
    6. Optional: set base sdk to latest iOS (or select the preferred platform/version).

    Note: This solution resolved this issue (warning and linker error) for me.

    Suggested resources:

    Github Project: https://github.com/CocoaPods/CocoaPods/issues/2053 Github Pull Request: https://github.com/CocoaPods/CocoaPods/pull/1352