Skip to content
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

ERR-104: Tag Mismatch - Line 291 #41

Closed
wangmuge opened this issue Apr 17, 2020 · 4 comments
Closed

ERR-104: Tag Mismatch - Line 291 #41

wangmuge opened this issue Apr 17, 2020 · 4 comments
Labels
question Further information is requested

Comments

@wangmuge
Copy link

----------SVPinView Error----------
ERR-104: Tag Mismatch - Line 291

2020-04-17 09:01:25.854738+0800 nookprint[88745:19458510] *** Assertion failure in -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3899.22.15/UICollectionView.m:2248
2020-04-17 09:01:25.858613+0800 nookprint[88745:19458510] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'the cell returned from -collectionView:cellForItemAtIndexPath: does not have a reuseIdentifier - cells must be retrieved by calling -dequeueReusableCellWithReuseIdentifier:forIndexPath:'

@xornorik
Copy link
Owner

@wangmuge Thanks for reporting the error!
Could you confirm if this is happening consistently or if it's just a sporadic behaviour?

@xornorik xornorik added the question Further information is requested label Apr 17, 2020
@snievesZafiro
Copy link

This error is when you copy the files manually and not use cocoapods

@syedrazackimran
Copy link

Hi, I am also facing the same issue. when using manually not in cocoa pods

----------SVPinView Error----------
ERR-104: Tag Mismatch - Line 291
-----------------------------------

*** Assertion failure in -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:], /Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3920.31.102/UICollectionView.m:2331

 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'the cell returned from -collectionView:cellForItemAtIndexPath: does not have a reuseIdentifier - cells must be retrieved by calling -dequeueReusableCellWithReuseIdentifier:forIndexPath:'

@xornorik
Copy link
Owner

xornorik commented Aug 2, 2020

@snievesZafiro
Thank you for diagnosing this issue. I was able to fix it in the latest release.

@wangmuge @syedrazackimran
This happened because after the files were copied, the target for the SVPinField file was set to SVPinView instead of the parent target. Refer #49

I have fixed this in v1.0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants