Posts

Post not yet marked as solved
0 Replies
256 Views
when I upgrade xcode13 and distribution some base components with xcframework, I got some issue below: property 'bounds' isolated to global actor 'MainActor' can not be referenced from this synchronous context 17:49:37 17:49:37 @_Concurrency.MainActor(unsafe) public func setPlaceholder(text: Swift.String, Width: CoreGraphics.CGFloat = UIScreen.main.bounds.size.witdth) when general swiftinterface file with Xcode13, will auto add @_Concurrency for some UI-related function. but UIKit property UIScreen.main.bounds.size.witdth is not mask as _Concurrency. I try to add @objcMembers to swift Class, the problem is missed. I think It's an Xcode13 issue~~~
Posted
by jamy_gush.
Last updated
.