Daniel Saidi 11/4/2024

Xcode stops fetching Swift packages

Read Original

The article details a sudden issue in Xcode 16.1 where fetching Swift package dependencies fails with a 'Fatal: cannot use bare repository' warning. It explains the troubleshooting steps and identifies the root cause as a new `bareRepository = explicit` setting in the global ~/.gitconfig file, often added by tools like SourceTree. The solution involves removing or commenting out this line and restarting Xcode.

Xcode stops fetching Swift packages

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser