Skip to content

Podspec 定义 user_target_xcconfig 的理由 #2

Description

@VaslD

RangersAPM.podspec 定义了 user_target_xcconfig

    s.user_target_xcconfig = {'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',}

由于 user_target_xcconfig 设置在 App 工程 (client project),并且:

  1. 影响范围广泛;
  2. YES 配置与 Xcode 默认设置不同
  3. CocoaPods 明确不推荐使用 user_target_xcconfig
  4. 可能与 App 项目设置冲突

所以希望明确下使用 user_target_xcconfig 的理由,并且为什么不能只通过设置 Pod 自己的 pod_target_xcconfig 解决?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions