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

Unknown attribute 'Codec' #3

Closed
yangguanghei opened this issue Jul 29, 2021 · 4 comments
Closed

Unknown attribute 'Codec' #3

yangguanghei opened this issue Jul 29, 2021 · 4 comments

Comments

@yangguanghei
Copy link

use "@codec var stringVal: String = "OK""
error: "Unknown attribute 'Codec'"

@Scyano
Copy link
Collaborator

Scyano commented Jul 29, 2021

你看下是不是忘记导入库了 import CodableWrapper

@yangguanghei
Copy link
Author

你看下是不是忘记导入库了 import CodableWrapper

刚发现是版本号的问题,无法怎么pod repo update,索引库中最新的版本号多是0.1.2

@Scyano
Copy link
Collaborator

Scyano commented Jul 30, 2021

忘了 push podspec 了, 抱歉😅😅😅
最近用的 SPM, 有点日子没用 cocoapods

@Scyano Scyano closed this as completed Jul 30, 2021
@yangguanghei
Copy link
Author

忘了 push podspec 了, 抱歉😅😅😅
最近用的 SPM, 有点日子没用 cocoapods

后来直接下载源码了😄,顺便了解了下你说的SPM(Swift Package Manager )

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

No branches or pull requests

2 participants