Getting build errors for my Package.swift Swift Package Manifest

Using Xcode 15.4 and macOS Sonoma 14.6.1 and Reality Composer Pro 1.0.

Lately (I believe since updating to Xcode 15.4, not sure..), I'm getting build errors that I didn't get before. The error is saying that "the package manifest at <path for my Reality Composer Pro package files in my app directory in finder>/Package.swift cannot be accessed (<same path>/Package.swift doesn't exist in file system)".

When I click for more information and bring up the Resolve Packages - Log, it gives a red X error "Resolving Package Graph Failed"

I'm not sure why I'm recently getting this error. My Reality Composer Pro Package is part of my project and listed in my project navigator as it has been.

The Package.swift file is in the same file location as it has always been and I believe it is correct.

I tried removing the package from my project navigator then dragging and dropping it back into the project navigator, but I'm still getting the error.

Note: this error is only appearing on a working branch for a new version I'm working on. The error does not appear on my production (main) branch even though it is the same package and location in Finder and appears the same way in the main branch project navigator.

I get these same errors on Xcode 16 Beta 5.

Answered by aandyzoom01 in 800667022

I am no longer getting the error when I build. Something about copying file content between source control branches and doing branch commits when switching branches caused the error to go away when I built the project again. I can’t explain.

Need Apple support on this. I’m stuck due to this build error and can’t proceed with my development.

Feedback FB14786606 created.

Apple Developer support case number is 102373010395.

Accepted Answer

I am no longer getting the error when I build. Something about copying file content between source control branches and doing branch commits when switching branches caused the error to go away when I built the project again. I can’t explain.

Getting build errors for my Package.swift Swift Package Manifest
 
 
Q