-
Notifications
You must be signed in to change notification settings - Fork 748
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
swift messages error #128
Comments
Please provide the relevant code and the crash log. |
I've same error. In my case, the crash is on Theme.swift line 37.
|
Does the demo project work? |
I didn't use the demo project I just upgraded my car
…On Thursday, October 5, 2017, Timothy Moose ***@***.***> wrote:
Does the demo project work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#128 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOS4XnLALI4VF9DOdZFvRVSBx8zaq_cRks5spQx8gaJpZM4PvUkC>
.
|
I'm asking you and/or @logicsb to test the demo project and tell me if it works. It doesn't crash for me, so I'm going to need you to work with me to figure out what's going on. I can't do anything with the limited amount of information you've given me so far.
|
I'm seeing this crash as well. It crashes since following line returns nil and is force unwrapped. I'm using Xcode 9 and iPhone 8 - iOS 11.0 simulator. Cocoapod version 1.3.1. |
@ajithrnayak The original poster hasn't provided a stack trace, so I have no reason to believe that you are seeing the same crash. But, I suggest clearing your derived data and doing a |
@wtmoose Here's the stack trace
Attaching the |
It seems that it's all related: #96, #12, #31, #55, #9. I have the same problem. It crashes with Could not load the "errorIcon" image referenced from a nib in the bundle with identifier "org.cocoapods.SwiftMessages" on return UIImage(named: rawValue, in: Bundle.sm_frameworkBundle(), compatibleWith: nil)! |
@woyhat @ajithrnayak could one of you guys step through the |
@woyhat @ajithrnayak I have created a branch
|
@wtmoose yes, correct bundle is being found - |
@woyhat I don't know. You can try running this from your bundle folder and see if the images are there:
I did this for the framework attached above and |
Fix on head of master if anyone wants to verify. |
As expected it fixes the issue. I've just verified it by switching between 4.0.0 and 4.0.1. |
Fixed in 4.1.0 release |
@srstanic @defagos @raven @qx89l4 @triskybro I updated this project using cocoapods to the latest version after upgrading to xcode 9. I use swiftmessages all over my project and this is by far the best alert I've ever seen. The old version worked perfectly but this version crashes when I try to display the alert. can you help me. I think there is a bug in this project.
The text was updated successfully, but these errors were encountered: