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
Please consider submitting the following information (if relevant):
Library setup method: Swift Package Manager.
Version of the library. 23.0
Xcode version. Example: 12.1 GM
OS version. Example: iOS 14.1
Hi there, I just updated my project to Xcode 12.1, and I've started to get a build warning from a usage of Cosmos which was previously fine:
BookDetails.storyboard: warning: IB Designables: Ignoring user defined runtime attribute for key path "updateOnTouch" on instance of "UIView". Hit an exception when attempting to set its value: [<UIView 0x7fb0cd5d31f0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key updateOnTouch.
It reports that a build failed within the IBDesignable view in a storyboard, but when I actually build and run the app it works fine.
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue. I can see a similar one when I open the storyboard for the demo app in Xcode 12 in this project. It showed Cosmos view and had no errors at some point, but then it started showing these red exclamation marks for me with errors. I have no idea how to fix it sorry. I followed this solution, but it did not work for me.
Yes, I would not be surprised. CosmosView class uses IBInspectable, IBDesignable attributes to allow changing star colors and sizes from the storyboard. This has never worked 100% reliably in the past.
The start show up for me when I create a new project in Xcode 12 though, but don't work in existing app created in older Xcode.
Please consider submitting the following information (if relevant):
Hi there, I just updated my project to Xcode 12.1, and I've started to get a build warning from a usage of Cosmos which was previously fine:
It reports that a build failed within the IBDesignable view in a storyboard, but when I actually build and run the app it works fine.
The text was updated successfully, but these errors were encountered: