Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-13345] SwiftPM project with binaryTarget providing dynamic xcframework fails on devices #4514

swift-ci opened this issue Aug 4, 2020 · 0 comments


Copy link

swift-ci commented Aug 4, 2020

Previous ID SR-13345
Radar None
Original Reporter opi-smccoole (JIRA User)
Type Bug

Attachment: Download


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

{{ Referenced from: /private/var/containers/Bundle/Application/7A1FAC24-FD6F-4E06-8EE7-B71319C182EF/}}

{{ Reason: image not found}}

dyld: launch, loading dependent libraries



Multiple xcframeworks tried, all produce the same results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants