CodableWrapper icon indicating copy to clipboard operation
CodableWrapper copied to clipboard

External macro implementation type 'CodableWrapperMacros.Codable' could not be found for macro 'Codable(wiseInit:)'; No such file or directory

Open yzxcool123 opened this issue 1 year ago • 4 comments

发生这个错误是为啥啊?之前好好的,升级Xcode16.0之后也好好的,后来clean了一下项目,还执行了pod install,然后就无法编译通过了,报错:External macro implementation type 'CodableWrapperMacros.Codable' could not be found for macro 'Codable(wiseInit:)'; No such file or directory

yzxcool123 avatar Sep 26 '24 05:09 yzxcool123

测试发现Cocoapods兼容Macro在XCode16的情况变得复杂了,暂时没法解决(Cocoapods兼容XCode16自身也有问题)。 欢迎PR

winddpan avatar Sep 26 '24 09:09 winddpan

External macro implementation type 'CodableWrapperMacros.Codable' could not be found for macro 'Codable(wiseInit:)' Xcode版本15.3, Cocopods版本1.15.2。 image

iAmMccc avatar Sep 27 '24 03:09 iAmMccc

改成了SPM集成,暂时没有问题了。

yzxcool123 avatar Oct 12 '24 01:10 yzxcool123

改成了SPM集成,暂时没有问题了。

1.1.1修复了,主要是Xcode16重新编译后不识别编译产物导致的

CarnivalOoO avatar Feb 06 '25 08:02 CarnivalOoO