Skip to content

Emit CocoaPods #include in Debug.xcconfig, Release.xcconfig #12752

@cbracken

Description

@cbracken

CocoaPods 1.3.1 emits the following warnings when the Pods-Runner xcconfig is included in Generated.xcconfig, rather than directly in Debug.xcconfig or Release.xcconfig:

[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig` or include the `Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig` in your build configuration (`Flutter/Debug.xcconfig`).

Ideally Debug.xcconfig should contain:

#include "../Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"

And Release.xcconfig should contain:

#include "../Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"

Metadata

Metadata

Assignees

No one assigned

    Labels

    p: toolingAffects the flutter_plugin_tools packageplatform-iosiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.waiting for PR to land (fixed)A fix is in flight

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions