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
[SR-14198] [SwiftPM] Frameworks which include an embedded Swift package which contains resources, is missing the resource bundle when the framework is archived
#4451
Open
swift-ci opened this issue
Feb 12, 2021
· 1 comment
Environment
swift build --version
Additional Detail from JIRA
md5: afa2e8136c1c74c18f30531f765bcf78
Issue Description:
Frameworks which include an embedded Swift package which contains resources, is missing the resource bundle when the framework is archived.
This leads to a crash whenever an attempt is made to access the resources by the app using the framework.
Expected behaviour: When the framework is archived, the bundle with the Swift package resources is present in the .framework or .xcframework.
Apps which integrate the framework can use the resources without crashing.
Current behaviour: When the framework is archived, the bundle with the Swift package resources is missing in the .framework or .xcframework.
Apps which use the framework crash when the code tries to access any of the missing resources.
Additional info:
See also the package manager resources proposal: https://forums.swift.org/t/accepted-with-modifications-se-0271-package-manager-resources/31021
The text was updated successfully, but these errors were encountered: