


Import import public class GFISClassA : ObjectiveC.NSObject public static var shared: public func public func GFISprintHelloWorld(arg1: Swift.String, arg2: override dynamic public init()Īs you see it additionally it contains: swift-interface-format-version swift-module-flags: -target x86_64-apple-ios12.2-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name UtilsSwiftFramework It looks like: // swift-interface-format-version: 1.0 swiftinterface is stable and do not need to be update when something changed(e.g. swiftmodule which is changeable where you can get Module compiled with _ cannot be imported by the _ compiler swiftmoduleĬonsumer(app) -> import Module ->. previouslyĬonsumer(app) -> import Module -> producer(framework). It is an Swift's alternative for Objective-C's headers. Swift Module Interfaces is a textual representation of module's public API. Swift Module uses the same approach as Objective-C module uses - precompiled binary or Compiled Module. Swift Module Interfaces (.swiftinterface)

To enable it you should use Xcode from v11:īuild Libraries for Distribution (BUILD_LIBRARY_FOR_DISTRIBUTION) Select framework target -> Build Settings -> Build Libraries for Distribution (BUILD_LIBRARY_FOR_DISTRIBUTION) -> Yes Swift v5.1 shipped Module stability and Library evolution support which are applicable for closed source(binary) framework(library)(framework is build separately from consumer)Ĭheck Swift version: Swift Language Version(SWIFT_VERSION) Module stability and Library evolution support for closed source
