Hello, I am struggling with providing assets via Swift Package Manager and an assets folder.
I have a swift package "A" that has an assets folder with a "image". I am able to build a preview and see the image in SPM "A". ππ»
Now I have a swift package "B" that depends on "A". In "B" I would like to have access of the "image". When I build and preview in "B" I get the following error: "Fatal error: unable to find bundle named [redacted]: file [redacted]/resource_bundle_accessor.swift", line 27" π’ please help.
I am exposing the image via a public var that returns Image("image", bundle: .module)
Post
Replies
Boosts
Views
Activity
Any help with preview crash on an App that is building just fine and runs on simulator fine?
Are there logs that I can access somehow?
The previews were working just fine, but then stopped and I have reverted all changes since and the previews are still broken.
I just updated to Xcode 12 beta 4, watchOS 7.0 beta 4, iOS 14 beta 4 and Xcode is unable to install a watch extension App for testing. I receive an error stating: "There are no valid accounts registered with Xcode that have the ability to access this resource."
I signed out and back in to my developer account in Xcode preferences, quit Xcode, disconnected and reconnected my iPhone, and also tried to unpair / repair the device with Xcode.
Any help?