【DoKit生态场景】-描述出现的问题
@jtsky is already working on this.
Since Dec 3, 2025.
Assessment
This issue has not been assessed yet.
Description
iOS Crash问题:
集成最新版本SDK后在如下行出现crash:
DoraemonHomeCloseCell *closeCell = [collectionView dequeueReusableCellWithReuseIdentifier:DoraemonHomeCloseCellID forIndexPath: indexPath]; return closeCell;
崩溃日志:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Expected dequeued view to be returned to the collection view in preparation for display. When the collection view's data source is asked to provide a view for a given index path, ensure that a single view is dequeued and returned to the collection view. Avoid dequeuing views without a request from the collection view. For retrieving an existing view in the collection view, use -[UICollectionView cellForItemAtIndexPath:] or -[UICollectionView supplementaryViewForElementKind:atIndexPath:]. Dequeued view: <DoraemonHomeCell: 0x12e4d4780; baseClass = UICollectionViewCell; frame = (0 1051.5; 414 55.2); backgroundColor = <UIDynamicSystemColor: 0x114436000; name = systemBackgroundColor>; layer = <CALayer: 0x11d3be1a0>>; Collection view: <UICollectionView: 0x11d3d0000; frame = (0 0; 414 896); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x11d3c95c0>; backgroundColor = <UIDynamicSystemColor: 0x114436000; name = systemBackgroundColor>; layer = <CALayer: 0x11d3bd1e0>; contentOffset: {0, 45}; contentSize: {414, 1150.6239999999998}; adjustedContentInset: {92, 0, 34, 0}; layout: <UICollectionViewFlowLayout: 0x1144e8a00>; dataSource: <DoraemonHomeViewController: 0x11d1aa000>>'
- Dominant language
- Java
- Stars
- 20.4k
- Forks
- 3.2k
- Avg merge
- 43m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from didi/DoKit
-
Difficulty 4/5 3-5 days Newbie friendliness 3/100
-
【iOS】-打开【布局边框】时必现崩溃,使用了@"_statusBarWindow"导致May be free again @jtsky claimed this 90 days ago, and no pull request is open. Open
-
Android 16 显示异常Open
Difficulty 4/5 3-5 days Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
hermes-queue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
chrisalunlloyd2-sudo/mindpalace#425 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
documentation enhancement first-time-contributor good first issue
Difficulty 1/5 Under an hour Newbie friendliness 84/100
SasanLabs/VulnerableApp#961 · 1 comment ·
Maintainers usually reply within 1 day