Skip to content

Flutter create's git clone doesn't build ios #9763

@xster

Description

@xster

I think we created a missing edge case with #9464/#9085 for Mac wrt cocoapods

  1. Check out flutter 7a57d37
  2. brew uninstall cocoapods
  3. flutter create project A
  4. that project builds ok
  5. git init, git add ., git ci -am
  6. git clone project A into project B
  7. try to build ios in project B

That project won't build because the Pod directory generated in project A isn't checked in by default. This creates a problem for team development since the references to Pod in Pod's parent directory is still present and building causes

    diff: /../Podfile.lock: No such file or directory
    diff: /Manifest.lock: No such file or directory
    error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

Perhaps we should make the flutter create's general dependency on cocoapods reduced until the user needs to use cocoapods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-macBuilding on or for macOS specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions