New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when attempting to init subclassed BaseMessageCollectionViewCell - Release only #99
Comments
Are you seeing this in ChattoApp? I can't reproduce it either on master or dev branches. |
You're right, I can't reproduce in the ChattoApp - I'm not sure if there's an extension or something that I'm missing, but simply calling |
Can you provide an example project where it reproduces? |
I've put together a project that quickly shows the problem I'm referencing, it should build if you download the zipped project, I'm not using Carthage or Pods, it's already setup to run in release. |
Thanks @TimMumsnet Looks like a compiler bug. I will try to isolate and reproduce it in a smaller project when I have some spare time. In the meanwhile disable whole-module-optimization for ChattoAdditions. Also, feel free to fill a bug report in https://bugs.swift.org, we might get some earlier feedback from Apple ( and post it here if you do so please ) |
Great, thanks @diegosanchezr - that works for now and I'll let you know. |
Fixed with Xcode 7.3.1 |
Great, thanks! Tim Windsor Brown
|
I'm finding that initializing the TextMessageCollectionViewCell in the
release
build configuration causes a crash, for example:TextMessageCollectionViewCell.sizingCell()
will call
For some reason in
release
,self
is typeBaseMessageCollectionViewCell
NOTTextMessageCollectionViewCell
. But in thedebug
configuration,self
is of typeTextMessageCollectionViewCell
(as expected).Any ideas what could be triggering this?
Using Swift 2.2, Xcode 7.3
The text was updated successfully, but these errors were encountered: