-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Xcode creates a .build directory for apps that use the Swift Package Manager. This contains build artifacts and should not be check-in to version control. We should update .gitignore files:
-
Update the app template & add a migration to the Flutter tool
-
If necessary, also update the plugin template.
flutter channel main flutter config --enable-swift-package-manager flutter create -t plugin --platforms=ios foo cd foo git init ; git add . ; git commit -m "Init"In Xcode, open the directory that contains
Package.swift:ios/foo/$ git status Untracked files: (use "git add <file>..." to include in what will be committed) ios/foo/.swiftpm/ -
Update the
flutter/packagesrepo -
Update all sample projects'
.gitignorefiles.
Part of #126005
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team