How to -disable-dynamic-actor-isolation FLAG

When I built my app with xCode16.2, the app crashed at runtime.

When building, I got a warning "UIWebView' is deprecated: first deprecated in iOS 12.0 - No longer supported; please adopt WKWebView.", so I suspected the dynamic actor isolation check.

When building, I tried setting the "-disable-dynamic-actor-isolation" flag, but the app still crashed.

However, I think the flag is not set properly, so how should I set the "-disable-dynamic-actor-isolation" flag?

I tried setting it as follows. Is this the correct way to set it?

Swift Compiler - Custom Flags

Other Swift Flags

Debug

Any Architecuture | Any SDK -disable-dynamic-actor-isolation

Release

Any Architecuture | Any SDK -disable-dynamic-actor-isolation

How to -disable-dynamic-actor-isolation FLAG
 
 
Q