Skip to content

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

Open
bigbangvn wants to merge 1 commit into
TakeScoop:masterfrom
bigbangvn:1.8.0_library_evolution
Open

Enable LibraryEvolution since the library is stable and avoid ABI bre…#364
bigbangvn wants to merge 1 commit into
TakeScoop:masterfrom
bigbangvn:1.8.0_library_evolution

Conversation

@bigbangvn

Copy link
Copy Markdown

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 an xcframework uses SwiftyRSA
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