Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

iPhone Doesn't Support App's Architectures (SwiftPM)

Hi, after recently upgrading Xcode to the latest version, I encountered a new bug that prevented me from building the app on my iPhone. Puzzlingly, the app still builds and runs fine on a simulator.

Because I am working with a Swift Playground file, the option is not available to simply change the architecture setting. I found a similar setting within the Schemes, but after trying a combination of different architecture settings, the app still doesn't build properly.

I noticed the BuildAction seemed to be changing, so I believe that the setting was properly affecting the Architecture setting.

Even with a separate dummy test project (SwiftPM), I still ran into the same issues. I updated my iPhone OS to the latest version as well after initially encountering the bug.

I'm wondering if anybody is running into the same issues, and if any solutions have been found.

Answered by svarrall in 835662022

Confirmed it's definitely not an issue with Xcode 16.2 (16C5032a), so using that again as a workaround for now.

Submitted feedback: FB17262993

Yes, seems to be an issue with the latest Xcode Version 16.3 (16E140). It's no longer possible to build/install to a physical iPhone/iPad, simulators are unaffected.

I will often author an app using Swift Playgrounds on the iPad, open the .swiftpm file via Xcode to install directly onto a device for debugging. This is no longer an option.

Accepted Answer

Confirmed it's definitely not an issue with Xcode 16.2 (16C5032a), so using that again as a workaround for now.

Submitted feedback: FB17262993

Thanks, using Xcode 16.2 (16C5032a) I no longer run into the same issue and the app builds on my iPhone properly!

iPhone Doesn't Support App's Architectures (SwiftPM)
 
 
Q