Cannot update Package.resolved because automatic resolution is disabled

I'm trying to build my project with Xcode Cloud but run into this problem:

Cannot update Package.resolved because automatic resolution is disabled

The log shows this line prior to that:

Set default com.apple.dt.Xcode IDEDisableAutomaticPackageResolution to true

Any idea how to fix this?

Accepted Reply

Your Package.resolved file must be checked in.

  • Im new to packages and just got access to xcode cloud. what does it mean "checked in"

Add a Comment

Replies

Your Package.resolved file must be checked in.

  • Im new to packages and just got access to xcode cloud. what does it mean "checked in"

Add a Comment
  • Check if Package.resolved exist on git repo at path /appName/appName.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

  • Double-check your local .gitignore file, if you accidentally ignore mentioned path