winddpan / CodableWrapper

@CodingKey("encoder", "decoder") var cool: Bool = true
MIT License
361 stars 30 forks source link

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

Open yzxcool123 opened 2 months ago

yzxcool123 commented 2 months ago

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

winddpan commented 2 months ago

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

mancongiOS commented 2 months ago

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

yzxcool123 commented 1 month ago

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