forkingdog / forkingdog/FDStackView
Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named UIStoryboardShowSegueTemplate'
- Langage dominant
- Objective-C
- Étoiles
- 2.5k
- Forks
- 310
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
在项目设定支持到iOS7时,storyboard中controller的build for选择iOS9.0 and later,这种情况下当使用storyboard instantiateViewControllerWithIdentifier:@"XXXXX"或者instantiateInitialViewController取得视图控制器时,会报Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named UIStoryboardShowSegueTemplate错误,工程直接挂掉,而其他没有使用stackView没有改变build for这个选项的storyboard则不会有这种问题
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Reproduce the crash using FDStackView with the project deployment target set to iOS 7 and the storyboard controller's Build For setting set to iOS 9.0 and later. Compare this with a storyboard that does not use stack views, then trace the storyboard instantiation path; done means instantiateViewControllerWithIdentifier: and instantiateInitialViewController no longer raise NSInvalidUnarchiveOperationException.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- objective-c
- Domaine
- mobile
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100