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-14555 Bundle.module searches for bundle in swift binary location instead of Bundle.main of compiled binary
Issue Description:
#3463 fixed an issue with how the resource bundle accessor is synthesized in SwiftPM. In particular, it restored the ability to relocate the resource bundle next to the executable.
The fix has a unit test for the contents of the accessor, but we should also add a functional test that:
builds an executable that has a resource and that asserts that it can be loaded
verifies that the resource bundle gets created correctly
moves the executable and its resource bundle to some other location
runs the executable in the new location, making sure that it finds the resource bundle in the deployment location
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 97b766476e7b4d6db5fba20bf68d2a8c
relates to:
Issue Description:
#3463 fixed an issue with how the resource bundle accessor is synthesized in SwiftPM. In particular, it restored the ability to relocate the resource bundle next to the executable.
The fix has a unit test for the contents of the accessor, but we should also add a functional test that:
builds an executable that has a resource and that asserts that it can be loaded
verifies that the resource bundle gets created correctly
moves the executable and its resource bundle to some other location
runs the executable in the new location, making sure that it finds the resource bundle in the deployment location
The text was updated successfully, but these errors were encountered: