-
Notifications
You must be signed in to change notification settings - Fork 126
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: 0 MaterialShowcase 0x10405e0 _T016MaterialShowcaseAAC14layoutSubviewsyyF + 6752 #16
Comments
Please check out the latest version. And feel free to open this issue if it still happens. |
@quangctkm9207 on: |
@osama-taha if you run on Xcode 9 try to call code of creating MaterialShowcase object in viewDidAppear() method |
I believe that crash is saying that either targetView or containerView is nil. Most likely the targetView is nil. In which part of the lifecycle are you trying to initialize and show the object? |
Currently, I have no iOS 9 device for testing. |
A similar crash just occurred on an iPhone 5c running iOS 10.3.3 please check @quangctkm9207 0 MaterialShowcase 0x1364d94 _T016MaterialShowcaseAAC9addTarget33_5CB0C9DD903070F6044860CDE57F9C26LLySC7CGPointV2at_tF + 2688 |
I also released an app last week and my top crash is caused by this library (which I'm very thankful for, it's a beautiful way to showcas enew features). Here's my stack trace from Crashlytics:
in my delayWithSeconds, I just call the showAppShowcase function which presents a showcase on a CollectionViewCell. |
@L4grange : Did you check on the development stage? |
@quangctkm9207 Could you please clarify what you mean? |
@L4grange : I see. So that only happens on user's devices but not on your testing one. |
@quangctkm9207 Thanks for replying! :) |
A crash:
library version:0.1.4
iOS 9.3.5
logs:
Crashed: com.apple.main-thread
0 MaterialShowcase 0x10405e0 _T016MaterialShowcaseAAC14layoutSubviewsyyF + 6752
1 MaterialShowcase 0x103ebfc _T016MaterialShowcaseAAC14layoutSubviewsyyF + 124
2 MaterialShowcase 0x104084c _T016MaterialShowcaseAAC14layoutSubviewsyyFTo + 28
3 UIKit 0x26202a73 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 714
4 QuartzCore 0x2429abcd -[CALayer layoutSublayers] + 128
5 QuartzCore 0x24296375 CA::Layer::layout_if_needed(CA::Transaction*) + 348
6 QuartzCore 0x24296209 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 16
7 QuartzCore 0x242956d1 CA::Context::commit_transaction(CA::Transaction*) + 368
8 QuartzCore 0x242953a5 CA::Transaction::commit() + 520
9 QuartzCore 0x2428eb2b CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 138
10 CoreFoundation 0x21c4d6c9 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 20
11 CoreFoundation 0x21c4b9cd __CFRunLoopDoObservers + 280
12 CoreFoundation 0x21c4bdff __CFRunLoopRun + 958
13 CoreFoundation 0x21b9b229 CFRunLoopRunSpecific + 520
14 CoreFoundation 0x21b9b015 CFRunLoopRunInMode + 108
15 GraphicsServices 0x2318bac9 GSEventRunModal + 160
16 UIKit 0x2626f189 UIApplicationMain + 144
17 PrintOSMobile 0xe78af main (main.m:14)
18 libdispatch.dylib 0x21843873 (Missing)
The text was updated successfully, but these errors were encountered: