Linker errors with Xcode 26.2 beta

Hi all,

I’m working on a project with third-party dependencies (Composable Architecture and SQLiteData), but ever since I upgraded to Xcode 26.2 beta, I’m getting linker errors with Apple frameworks. My project was compiling perfectly fine before I upgraded from Xcode 16. I’ve attached a screenshot of the warnings and errors. I’ve tried cleaning my build folder several times, and resetting the package graph. I think the third-party packages themselves are fine. Any help would be much appreciated!

Just use Xcode 26.1.

Unfortunately, no dice. I used the latest release version of Xcode (26.1.1), and still got the same errors.

Double check to make sure you have the iOS 26.1 SDK, version 23B77, installed (click the i next to the Platform Support entry for iOS). There was some weirdness last week with Xcode needing a new version installed. Otherwise, start a new project, see if it builds, then try to reproduce your existing project until it doesn't. Apple's auto linking has been buggy for a few years now, but I'm not sure what settings are really responsible.

2 Likes

Ah I figured it out!

It turns out I had a testing library linked to the main target. Once I removed that, it built perfectly.