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
Compile Error: Duplicate interface definition for class 'TTGTextTagCollectionView' #109
Comments
@darkengine Which version ? |
Version TTGTagCollectionView (2.0.1) |
@darkengine I try myself on my Mac mini M1 on a pure new project and it works fine. (2.0.1 version) Maybe you should clean your cocoapods cache and run |
@darkengine Is this problem solved? |
Hi @zekunyan and @kinmoLun , Thanks for the advice. I start a new Objective-C project (With XCode 12.5) and add "TTGTagCollectionView" using cocoapods. Unfortunately, it shows the same error message. The codes in my ViewControll.m is:
|
Update! I get it works by changing the import file to:
The old import statement works in the previous version. |
@darkengine Great work ! Maybe the new version of Cocoapods you used needs strict import rules. |
Compile with XCode 12.5, get error message:
/Pods/TTGTagCollectionView/Sources/TextTag/TTGTextTagCollectionView.h:46:1:
Duplicate interface definition for class 'TTGTextTagCollectionView'
The duplicate interface definition is happened in "TTGTextTagCollectionView.h:46", so have no idea how to modify this.
The text was updated successfully, but these errors were encountered: