Skip to content

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

Closed

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"

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    p: toolingAffects the flutter_plugin_tools package
    platform-iosiOS applications specifically
    on Oct 27, 2017
  2. self-assigned this
    on Feb 13, 2018
  3. daniele777 commented on Mar 9, 2020

    @daniele777

    help i have this warning

    nclude the Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig in your build configuration (Flutter/Debug.xcconfig).

    using pod install in windows how to solve??? thx

  4. github-actions commented on Aug 22, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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