Hi,
Unexpectedly, iOS system colors have disappeared from Assets Color panel and now I have warnings about "Unable to find system color named: systemPurpleColor, older systems will not see the expected value" as a compile result.
Some remarks:
while iOS system colors have disappeared from the 'Color Set' panel at the dropdown list 'Color > Content', their macOS and tvOS counterparts are still available.
my project is assigned to iOS15 and iPhone + iPad devices.
when built and run on a real iPhone, the colors are rendered correctly so I assume that this is a Xcode issue.
Xcode Version 13.0 beta 3 (13A5192i)
Is there a way to revert back the iOS system colors ?
Best regards
Post
Replies
Boosts
Views
Activity
I had this Xcode 15 beta 4 failing to build on a SwiftUI project.
There was no clear indication on the cause of the failure.
The build log hinted at a compiler errors with a file hosting an @Observable class.
This class have some properties that have function types.
To fix the issue, I made them "@ObservationIgnored" as they were not "@Published" when still under conformance with "@ObservableObject".
The source code fixed:
@available(iOS 17, *)
@Observable
final class LiveSprints: LiveRecords {
typealias Entity = Sprint
typealias Store = DBStore
@ObservationIgnored
var filtering: (Sprint) -> Bool = { _ in true }
@ObservationIgnored
var ordering: (Sprint, Sprint) -> Bool = { _, _ in true }
var masterID: UUID? = nil
@ObservationIgnored
var observer: MultiObserver<DB>? = nil
var records: [Hierarchized<Sprint>] = []
}