Skip to content

Enable LibraryEvolution since the library is stable and avoid ABI bre…#1083

Open
bigbangvn wants to merge 1 commit intokrzyzanowskim:mainfrom
bigbangvn:1.9.0_library_evolution
Open

Enable LibraryEvolution since the library is stable and avoid ABI bre…#1083
bigbangvn wants to merge 1 commit intokrzyzanowskim:mainfrom
bigbangvn:1.9.0_library_evolution

Conversation

@bigbangvn
Copy link

Enable LibraryEvolution since the library is stable and avoid ABI breaking issue when an xcframework uses SwiftyRSA

Fixes #

Checklist:

  • Correct file headers (see CONTRIBUTING.md).
  • Formatted with SwiftFormat.
  • Tests added.

Changes proposed in this pull request:

Enable LibraryEvolution since the library is stable and avoid ABI breaking issue when an xcframework uses SwiftyRSA

Example.

  • MyLibrary is compiled to xcframework and it uses SwiftyRSA version x.1
  • MyLibrary is used in application A, that uses SwiftyRSA version x.2
  • SwiftyRSA version x.2 only reorders/inserts a new public function to a class, but without Library Evolution on, that can cause ABI breaking issue -> crash at runtime of application A, unexpected behaviour.

Benefits for prebuilt xcframework:

  • ABI resilient
  • Xcode/swift version compatibility

…aking issue when a xcframework uses CryptoSwift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants