Reputation: 11
App is crashing on UIStoryboard Instantiate
App is crashing on UIStoryboard Instantiate on shuffling app very frequently between foreground and background. Normally everything work fine, only when you shuffle app very frequently b/w foreground and background only then we have observed this issue in iOS 10.0.
We have checked and found following exception:-
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'There doesn't seem to be a valid compiled storyboard at path '/var/containers/Bundle/Application/serialcode/XXX.app/AppLaunchStoryboard.storyboardc'
Steps to Reproduce:
It's crashing on following request:-
UIStoryboard * storyboard = [UIStoryboard storyboardWithName:storyboardName bundle:nil];
Note:- In normal situation everything is working fine.(i.e if we don't suffle b/w foreground and background very frequently.)
Upvotes: 1
Views: 520
Reputation: 359
Maybe it's strange, but I solved it just delete 'Main storyboard file base name' key from Info.plist and added it again, after that this error never came again.
Upvotes: 1