Why can't you use Xcode 12 ? That would be the simplest and safest way.
Because binaries compiled in swift 4.2 are not compatible with swift 5. I have a binary framework dependency compiled with swift 4.2.1.
Code in attach.
AES.swift - https://developer.apple.com/forums/content/attachment/7b4cc77a-0224-4819-b666-a74b2f5765c6
Topic:
Programming Languages
SubTopic:
Swift
Tags: