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
I have tried to move from Pod to SPM.
With Pods I was using the latest one - 6.1.0.
With SPM I had to point to "master", as there is no version/tag that contains the Package.swift yet.
However, when I run the SPM version, the buttons aren't getting their expected images/icons. It looks like the resolving of images from the bundle isn't working as expected.
In SKButton this po UIImage(named: "SKPhotoBrowser.bundle/images/\(imageName)", in: bundle, compatibleWith: nil) resolves to nil.
I have tried to move from Pod to SPM.
With Pods I was using the latest one - 6.1.0.
With SPM I had to point to "master", as there is no version/tag that contains the Package.swift yet.
However, when I run the SPM version, the buttons aren't getting their expected images/icons. It looks like the resolving of images from the bundle isn't working as expected.
In SKButton this
po UIImage(named: "SKPhotoBrowser.bundle/images/\(imageName)", in: bundle, compatibleWith: nil)
resolves to nil.Some more info is here
https://developer.apple.com/documentation/swift_packages/bundling_resources_with_a_swift_package
The text was updated successfully, but these errors were encountered: