Swift Package manager fails to locate the Package.swift file

Error:

xcodebuild: error: Could not resolve package dependencies:
  https://github.com/google/GoogleDataTransport.git has no Package.swift manifest for version 8.3.0

and also happened for 8.2.0

The Package.swift is located here:
https://github.com/google/GoogleDataTransport/blob/34bd15a31149e42eadd6c75bd67aaea002e23bf4/Package.swift

Using Xcode 12.4
This occurs when adding the Firebase package, https://github.com/firebase/firebase-ios-sdk/

This happens around half of the time that packages are loaded fresh and is reproducible for many users and on CircleCI.

Is there an issue with the Package file or a bug in swift package manager?
Or is there a workaround for this issue?

2 Likes