@axello I encourage you to first review what Quinn wrote above as they provided a number of possible solutions. The route I went with is specific to my use-case as I already have an existing build of OpenSSL and curl that I'm trying to bring over.
In any event, all I ended up having to do was adding the module map to the .xcframework file for each build configuration (platform+arch).
I'm only including a single header (aes.h) in this example just to keep things short, but in actuality there's about 140 headers
openssl.xcframework/ios-arm64/openssl.framework/Headers/aes.h
openssl.xcframework/ios-arm64/openssl.framework/Modules/module.modulemap
openssl.xcframework/ios-arm64/openssl.framework/info.plist
openssl.xcframework/ios-arm64/openssl.framework/openssl
The contents of the modulemap file just link all of the headers:
framework module OpenSSL {
header "aes.h"
export *
}
Topic:
Programming Languages
SubTopic:
Swift
Tags: