swift-package-list icon indicating copy to clipboard operation
swift-package-list copied to clipboard

Xcode 16.3 issue with advance build settings

Open Dlemex opened this issue 6 months ago • 16 comments

The Spezi Template Application was using a version prior to 4.7.2, and I encountered a SourcePackages directory not found error. I worked with a member of their project to resolve the error. After updating to your latest release, 4.7.2, the error persisted with my installation, but it did not occur with their installation. I investigated further after reviewing your source, and I determined that the issue was related to my Xcode setting that stored my build products in folders within the project folder instead of a unique DerivedData folder.

The project would compile without error with Xcode 16.2, but reproducibly with Xcode 16.3. The detailed issue is available at their project: https://github.com/StanfordSpezi/SpeziTemplateApplication/issues/103

In that report, you can see the advanced settings I was using with Xcode. I had a Build folder at the project's top level containing separate folders for intermediate and product files. All other Xcode locations settings for DerivedData were the default values.

I would be happy to help you more if you'd like.

Dlemex avatar Apr 16 '25 19:04 Dlemex