How to fix warning CoreUI: RunTimeThemeRefForBundleIdentifierAndName() couldn't find Assets.car in bundle with identifier: '(null)'?
I found out that problem was not related to
CoreUI: RunTimeThemeRefForBundleIdentifierAndName() couldn't find Assets.car in bundle with identifier: '(null)'
On target screen was used custom UILabel. The root cause of app freezing and memory issue was reentrant looping between its methods
override var text: String? {
didSet {
guard let text = text else { return }
let textRange = NSMakeRange(0, text.count)
// Kern attribute needed to do letter spacing over text
let attributedText = NSMutableAttributedString(string: text)
attributedText.addAttribute(NSAttributedStringKey.kern , value: 2.0, range: textRange)
// Add other attributes if needed
self.attributedText = attributedText
}
}
and
override public func layoutSubviews() {
super.layoutSubviews()
if let text = self.text {
self.text = text.uppercased()
}
}
probably new SDK version invokes layoutSubviews() when attributedText
field has changed
GCKUICastButton not visible in production
Google just released a new SDK version and the Cast button disappearing problem is solved there.
The earlier version was: 4.5.3, Current version is:4.6.0
Cast SDK 4.6.0
Just do a "pod update" from your terminal and then run your app.
Related Topics
Swiftui Onhover Doesn't Register Mouse Leaving the Element If Mouse Moves Too Fast
How to Move a Rotated Scnnode in Scenekit
What Is the Role of Avcapturedevicetype.Builtindualcamera
Navigationview Doesn't Display Correctly When Using Tabview in Swiftui
How to Make Alphabetically Section Headers in Table View with a Mutable Data Source
How to Remove Numbers from a String in Swift
Swift: Loop Over Array Elements and Access Previous and Next Elements
Convert Float Value to String in Swift
Swift "Where" Array Extensions
How to Append a Character to a String in Swift
How to Set Countdowntimer Mode in Datepicker on Swiftui
Load a Collada (Dae) File into Scnnode (Swift - Scenekit)
Pass Optional Block or Closure to a Function in Swift
In Swift, Does Resetting the Property Inside Didset Trigger Another Didset
Peak Detection for Growing Time Series Using Swift
Swiftui: Navigation Bar Title in Reusable Cross-Platform (iOS & MACos) View