Option obsoleted by module selectors (OptionObsoletedByModuleSelectors)
Warnings that indicate a compiler option has been obsoleted by the module selectors feature (0491 Module Selectors).
Overview
The module selectors feature superseded certain compiler options related to controlling the contents of generated .swiftinterface files. When one of these obsoleted options is passed to the compiler, it is ignored and a warning is emitted:
warning: ignoring '<option>'; this option has been obsoleted by module selectors (add '-disable-module-selectors-in-module-interface' to restore original behavior) [#OptionObsoletedByModuleSelectors]To silence the warning, remove the obsoleted option from your build settings. If you need the original behavior that the option provided, pass -disable-module-selectors-in-module-interface instead.
See Also
@dynamicCallable implementation requirements (DynamicCallable)Add @preconcurrency import (AddPreconcurrencyImport)Always enabled availability domains (AlwaysAvailableDomain)Argument matching for trailing closures (TrailingClosureMatching)Calling a mutating async actor-isolated method (ActorIsolatedMutatingAsync)Calling an actor-isolated method from a synchronous nonisolated context (ActorIsolatedCall)Captures in a `@Sendable` closure (SendableClosureCaptures)Compilation caching (CompilationCaching)Conforming to `StringInterpolationProtocol` (StringInterpolationConformance)Conversion from `@isolated(any)` function type to synchronous function type (ConversionFromIsolatedAnyToSynchronous)Cross-isolation data race (RegionIsolationCrossIsolationDataRace)Deprecated declaration warnings (DeprecatedDeclaration)Deprecated implementation-only imports (ImplementationOnlyDeprecated)Dynamic exclusivity (DynamicExclusivity)Embedded Swift language restrictions (EmbeddedRestrictions)