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

后端 未结 6 1327
梦谈多话
梦谈多话 2020-12-29 20:55

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

6条回答
  •  鱼传尺愫
    2020-12-29 21:38

    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

提交回复
热议问题