Giter Club home page Giter Club logo

Comments (4)

vitonzhangtt avatar vitonzhangtt commented on September 24, 2024 1

@ksigWyatt In my application, I get the similar crash stack as the following. I finally fix this crash by check the following points:

  • A) The IBOutlet property should be exactly with Outlets (Connections Inspector) in .storyboard file. This is maybe the reason of your crashlog.
  • B) Another point that should be checked is User Defined Runtime Attributes in Identity Inspector. Your custom class should have the properties exactly as key path that used in User Defined Runtime Attributes. This is the reason of the following crashlog in my application.

I hope that would give you a hint when fix your crashlog.

frame #0: 0x000000010dfa4111 libobjc.A.dylib`objc_exception_throw
frame #1: 0x000000010f1cca59 CoreFoundation`-[NSException raise] + 9
frame #2: 0x000000010dab9e8b Foundation`-[NSObject(NSKeyValueCoding) setValue:forKey:] + 292
frame #3: 0x000000010c2cfab8 UIKit`-[UIView(CALayerDelegate) setValue:forKey:] + 172
frame #4: 0x000000010ca57ae5 UIKit`-[UINibKeyValuePair apply] + 63
frame #5: 0x000000010f172e8d CoreFoundation`-[NSArray makeObjectsPerformSelector:] + 269
frame #6: 0x000000010c61405c UIKit`-[UINib instantiateWithOwner:options:] + 1837
frame #7: 0x000000010c3aec73 UIKit`-[UIViewController _loadViewFromNibNamed:bundle:] + 381
frame #8: 0x000000010c3af589 UIKit`-[UIViewController loadView] + 177
frame #9: 0x000000010c3af8ba UIKit`-[UIViewController loadViewIfRequired] + 195
frame #10: 0x000000010c3b6056 UIKit`-[UIViewController __viewWillAppear:] + 118
frame #11: 0x000000010c3e0078 UIKit`-[UINavigationController _startCustomTransition:] + 1305
frame #12: 0x000000010c3f0617 UIKit`-[UINavigationController _startDeferredTransitionIfNeeded:] + 687
frame #13: 0x000000010c3f17f1 UIKit`-[UINavigationController __viewWillLayoutSubviews] + 58
frame #14: 0x000000010c5e32bc UIKit`-[UILayoutContainerView layoutSubviews] + 231
frame #15: 0x000000010c2d020b UIKit`-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1268

from thrivechurchofficialapp.

ksigWyatt avatar ksigWyatt commented on September 24, 2024 1

Thanks for your helpful post @vitonzhangtt. But unfortunately, I think this issue might be caused by something else. I looked at what you had suggested, and the IBActions in the segue directly match the Outlets in the Connections of the targeted ViewController in the Storyboard file. I'm not using any User Defined Runtime Attributes so I don't think that is the issue either.

It definitely has to be something with the Connections. Because, when I disconnect them from each other the view loads. But since they aren't connected there's no data that displays from the .swift file.

I'm using Xcode 9 beta 3, so it's possible that it could just be a bug in the developer release version. I might try to test a few more routes and see what ends up being the solution to the crash. Perhaps a bug report on Xcode about might be beneficial in this case. It's also possible that I'm missing something simple. I'll have to take a closer look at some other time.

from thrivechurchofficialapp.

ksigWyatt avatar ksigWyatt commented on September 24, 2024

NEW Crash Log for iOS 11

Notes:
Might this have something to do with Allow Arbitrary Loads? This crash only occurs on a Simulator, where the web filters might not have been configured.
But it works on a physical device for some reason.

Full Simulator Crash Log

Error message: Thread 6 (or 5): EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) 
on line 35 of CoreFoundation `CFRetain


WF: === Starting WebFilter logging for process Thrive Church Official App
WF: _userSettingsForUser : (null)
WF: _WebFilterIsActive returning: NO
[BoringSSL] Function boringssl_context_get_peer_sct_list: line 1559 received sct extension length is less than sct data length
2017-07-30 00:56:32.267245-0400 Thrive Church Official App[19482:542356] [BoringSSL] Function boringssl_context_get_peer_sct_list: line 1559 received sct extension length is less than sct data length
[BoringSSL] Function boringssl_context_get_peer_sct_list: line 1559 received sct extension length is less than sct data length
WF: _userSettingsForUser : (null)
WF: _WebFilterIsActive returning: NO
[BoringSSL] Function boringssl_context_get_peer_sct_list: line 1559 received sct extension length is less than sct data length
[BoringSSL] Function boringssl_context_get_peer_sct_list: line 1559 received sct extension length is less than sct data length
WF: _userSettingsForUser : (null)
WF: _WebFilterIsActive returning: NO
[] <<<< AVOutputContext (FigEndpointPicker) >>>> +[AVFigEndpointPickerOutputContextImpl sharedAudioPresentationOutputContext]: Audio presentation output context not supported by FigEndpointPicker

EDIT

Log from physical device: iOS 11.0 beta 3 (15A5327g) | iPhone 6s

_userSettingsForUser mobile: {
    filterBlacklist =     (
    );
    filterWhitelist =     (
    );
    restrictWeb = 1;
    useContentFilter = 0;
    useContentFilterOverrides = 0;
    whitelistEnabled = 0;
}

from thrivechurchofficialapp.

ksigWyatt avatar ksigWyatt commented on September 24, 2024

Update

Passing on Physical Device running iOS 11

Localization Testing

  • iOS
    • all - PASS
  • Platform
    • all - PASS

from thrivechurchofficialapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.