App crashing when setting text on UILabel [Xcode 11.5]

Experiencing a weird crash with Xcode 11.5, app uses Viper, when setting a UILabel's text with presenter.text app crashes (on a random view from another framework) however it does not crash when setting the title to a variable, then providing the variable to the UILabel.text

This crashes:

Code Block
$0.text = presenter.title

This Doesn't:

Code Block
let title = presenter.title
$0.text = title


My first thought is to immediately assume it's Xcode/Swift due to this never happening before and happening now, it also only happens on certain devices and on release environments.

Crash:

Code Block
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000f477ecf70
CellFromAnotherFramework.swift - Line 110 outlined bridged method (mbgnn) of @objc UILabel.text.setter + 110

Found a ticket on swift forums from June, same issue.

https://bugs.swift.org/browse/SR-13038

Has anyone found a simple workaround?
Thanks for this. I hit the same issue after updating the project from Xcode 11.3.1. The workaround mentioned in the swift bug link seems to work well (move the assignment to a function which copies the property to a local variable).
I have same problem

When executing SWActivityContainer.init - self.messageLabel.text = message;
SiwonEmptyView.init - self.messageLabel.text = message; is executed;

I was trying to fix this by renaming, but nothing is resolved.
And I found that this problem is raised only in Release Mode

let label = ... is not solution T.T
The problem has been resolved after removing DerivedData directory...
App crashing when setting text on UILabel [Xcode 11.5]
 
 
Q