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
After including a package resource to my swift package, I get the following error when running swift test commands from the command line:
Fatal error: could not load resource bundle: /Applications/Xcode.app/Contents/Developer/usr/bin/BeartoothSDK_BeartoothSDKTests.bundle: file BeartoothSDKTests/resource_bundle_accessor.swift, line 7 Exited with signal code 4
Some additional information:
The swift package builds and tests run without issue in Xcode 12
I am using `Bundle.module` to access the resources.
The resources are only used in my test target for test cases.
Environment
macOS Catalina 10.15.7
Additional Detail from JIRA
md5: d604344178dcd72bfa14ab736f8a5205
duplicates:
Issue Description:
After including a package resource to my swift package, I get the following error when running swift test commands from the command line:
Fatal error: could not load resource bundle: /Applications/Xcode.app/Contents/Developer/usr/bin/BeartoothSDK_BeartoothSDKTests.bundle: file BeartoothSDKTests/resource_bundle_accessor.swift, line 7
Exited with signal code 4
Some additional information:
The swift package builds and tests run without issue in Xcode 12
I am using `Bundle.module` to access the resources.
The resources are only used in my test target for test cases.
Here is a copy of my package manifest:
Here is a copy of test class using the bundle:
The text was updated successfully, but these errors were encountered: