Sorry for not responding so long, I didn't receive any notification about your reply...
I'm just referencing the OpenSSL XCFramework in my targets, having Xcode picking the correct architecture. Of course I needed to update the HEADER_SEARCH_PATHS to reflect the framework's location, but that's all.
Mattes