Component/s: Package Manager
Xcode 12 beta 3. SwiftPM tools 5.3. Targeting iOS 13.0+. Tested running on iPhone X hardware.
If I provide a SwiftPM package with a dynamic xcframework using binaryTarget, the application will fail when I try to run it on a device. Integrating the xcframework into the project manually works, so I believe the xcframework itself should be correct. When attempting to run the project on device hardware it cannot find the dynamic library in the xcframework and throws:
dyld: Library not loaded: @rpath/openssl.framework/openssl
Referenced from: /private/var/containers/Bundle/Application/7A1FAC24-FD6F-4E06-8EE7-B71319C182EF/OpensslTest.app/OpensslTest
Reason: image not found
dyld: launch, loading dependent libraries
Multiple xcframeworks tried, all produce the same results.