You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xcode 12 beta 3. SwiftPM tools 5.3. Targeting iOS 13.0+. Tested running on iPhone X hardware.
Additional Detail from JIRA
Votes
14
Component/s
Package Manager
Labels
Bug
Assignee
None
Priority
Medium
md5: 739184e4d679284c17efaa50f5e36644
Issue Description:
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
Attachment: Download
Environment
Xcode 12 beta 3. SwiftPM tools 5.3. Targeting iOS 13.0+. Tested running on iPhone X hardware.
Additional Detail from JIRA
md5: 739184e4d679284c17efaa50f5e36644
Issue Description:
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
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
Multiple xcframeworks tried, all produce the same results.
The text was updated successfully, but these errors were encountered: