Skip to content

How to remove Cocoapods after SPM upgrade? #13082

@cdeil

Description

@cdeil

Page URL

https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers

Page source

https://github.com/flutter/website/blob/main/src/content/packages-and-plugins/swift-package-manager/for-app-developers.md

Describe the problem

Could you please describe how to remove Cocoapod from a project?

We are upgrading our project to Flutter 3.41 and to use Swift package manager (SPM) and new dependency versions that now all support SPM.

What do I have to do to get to a clean modern simple project config? Just remove Pod file and folder? Manually or through Xcode edit some config files? Run some flutter command to clean out unused Cocoapod stuff?

Expected fix

It would be great if you could add a few words or a section on this in the docs.

Additional context

No response

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    devos.macOSRelates to developing apps on macOS platforme1-hoursEffort: < 8 hrsfrom.page-issueReported in a reader-filed concernp3-lowValid but not urgent concern. Resolve when possible. Encourage upvote to surface.target.iOSTarget apps on the iOS Platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions