Xcode 14 報錯

Dependency for P1:target-xxx-f33cd0a4df60f3a91c3439d6d9991c1c9440858e1a4caf6687455f6b146b994c-:Debug:SwiftDriver Compilation Requirements xxx normal x86_64 com.apple.xcode.tools.swift.compiler is not absolute (Pods/xx/xx.framework/Headers/xx.h).

解決方案:

For others: In your .framework file, look for module.modulemap in Modules folder.

I had module declared like
framework module ABC {}

after changing that to
framework module ABC [system] {} I got rid of the errors.

注意:哪個三方庫報錯了,就把哪個三方庫的module.modulemap文件里面新增[system]即可

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。