美文网首页
Xcode 14 报错

Xcode 14 报错

作者: iLeooooo | 来源:发表于2022-12-28 11:59 被阅读0次

    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]即可

    相关文章

      网友评论

          本文标题:Xcode 14 报错

          本文链接:https://www.haomeiwen.com/subject/bwvoqdtx.html