bazelbuild / rules_swift

Bazel rules to build Swift on Apple and Linux platforms
Apache License 2.0
311 stars 136 forks source link

Update `swift_import` docs and add warning #1186

Closed luispadron closed 7 months ago

luispadron commented 7 months ago

Updates the swift_import documentation to provide more information on the swiftinterface attribute. This attribute is required when importing pre-built Swift targets across Xcode and/or OS versions.

Additionally, adds a warning when swiftinterface is used alongside swiftmodule as this used to just drop swiftinterface silently. We'll make this a failure in a new major version to not break users.