SOLVED: Just got the correct answer in a bug filed to Apple Feedback Assistant:
This issue can be resolved by removing “SwiftUI” from the “Generate Swift Asset Symbol Framework Support” build setting
Post
Replies
Boosts
Views
Activity
Hi Quinn,
thank you for your great advice of ripping.
I found out that an Images.xcassets triggered the "import SwiftUI".
Please try to add an image asset to your test framework and see if you also get the "import SwiftUI" now.
So, Apple effectively desupported iOS 12 with Xcode 15.3 ?
Deleting the image asset is not really an option, I could hack with grep/sed to delete the "import SwiftUI" line from arm64-apple-ios.private.swiftinterface, but would that affect iOS13+ ?
Also it doesn't seem like a sustainable solution...