-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hi. We've built the library with one version of swift compiler (Xcode 15.1/15.2) using BUILD_LIBRARY_FOR_DISTRIBUTION=YES and linked the library to a project that uses Xcode 15.3. After adding the library the project cannot be compiled anymore. The reason is names collision because of Swift compiler bug swiftlang/swift#56573. We fixed it by modifying private.swiftinterface file after it being built.
Xcode shows such error when open the project analytics-connector-ios
Public class 'AnalyticsConnector.AnalyticsConnector' shadows module 'AnalyticsConnector', which may cause failures when importing 'AnalyticsConnector' or its clients in some configurations; please rename either the class 'AnalyticsConnector.AnalyticsConnector' or the module 'AnalyticsConnector', or see swiftlang/swift#56573 for workarounds