You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
latest Xcode (16) and associated SDKs have marked ReferenceFileDocument as Sendable. I inquired in the developer forums about this, and the DTS engineer kindly explained that it has to be Sendable - which means adding some structure in there - because the various methods are called from a number of different isolation domains.
The gist is that the class holds ~3-4 properties that are all possibly mutating, and all of those need to be locked down to Sendable, so wrapped within an OSUnfairAllocatedLock (as per updated ReferenceFileDocument code example).
The text was updated successfully, but these errors were encountered:
latest Xcode (16) and associated SDKs have marked ReferenceFileDocument as Sendable. I inquired in the developer forums about this, and the DTS engineer kindly explained that it has to be Sendable - which means adding some structure in there - because the various methods are called from a number of different isolation domains.
The gist is that the class holds ~3-4 properties that are all possibly mutating, and all of those need to be locked down to Sendable, so wrapped within an OSUnfairAllocatedLock (as per updated ReferenceFileDocument code example).
The text was updated successfully, but these errors were encountered: