gpt4 book ai didi

ios - Xcode 警告 : Not such file or directory (. pcm 文件)

转载 作者:塔克拉玛干 更新时间:2023-11-02 10:20:35 26 4
gpt4 key购买 nike

我正在处理一个 iOS 项目,Xcode 向我显示以下警告:

warning: /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/Foundation-KJNK6ICRXLXW.pcm: No such file or directory note: while processing /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/Foundation-KJNK6ICRXLXW.pcm note: Linking a static library that was built with -gmodules, but the module cache was not found. Redistributable static libraries should never be built with module debugging enabled. The debug experience will be degraded due to incomplete debug information. warning: /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/UIKit-35ZFG9L90CDZV.pcm: No such file or directory note: while processing /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/UIKit-35ZFG9L90CDZV.pcm warning: /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/FBSDKCoreKit-2R2UGDO79AKYU.pcm: No such file or directory note: while processing /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/FBSDKCoreKit-2R2UGDO79AKYU.pcm warning: /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/Darwin-2GOAYMLU92JOT.pcm: No such file or directory note: while processing /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/Darwin-2GOAYMLU92JOT.pcm warning: /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/Accounts-3S3JQK7N2N5QB.pcm: No such file or directory note: while processing /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/Accounts-3S3JQK7N2N5QB.pcm warning: /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/CoreGraphics-5GV9RND36JIM.pcm: No such file or directory note: while processing /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/CoreGraphics-5GV9RND36JIM.pcm warning: /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/AudioToolbox-1BW8VLA36OG1L.pcm: No such file or directory note: while processing /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/AudioToolbox-1BW8VLA36OG1L.pcm warning: /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/QuartzCore-1EU3UYK02HRLW.pcm: No such file or directory note: while processing /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/QuartzCore-1EU3UYK02HRLW.pcm warning: /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/ObjectiveC-20S1MT415HZXU.pcm: No such file or directory note: while processing /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/ObjectiveC-20S1MT415HZXU.pcm warning: /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/CommonCrypto-210H9VRZX42BI.pcm: No such file or directory note: while processing /var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/CommonCrypto-210H9VRZX42BI.pcm

我尝试过的事情:

  • 删除派生数据,清理构建文件夹并重新构建
  • 禁用 Clang 模块调试
  • 再次取消集成并安装 Pod
  • 使用 dSYM 文件将调试信息格式更改为 DWARF
  • 删除日志中显示的文件,例如rm -rf/var/folders/qj/lk4bdr_x5fs9cvcj4jgx61mmy6f8jd/C/org.llvm.clang.codytwinton/ModuleCache/2UNUM8IHHP92Q/Foundation-KJNK6ICRXLXW.pcm
  • 删除模块缓存:rm -rf/var/folders/v2/vjx2r5k16tz36wn8v4yn_sth0000gn/C/org.llvm.clang.moraleda/ModuleCache

有什么想法吗?

最佳答案

这里相同,因为我向我的项目添加了一个目标以构建我的应用程序的“开发版本”以用于测试目的。

我已经通过将调试信息格式(仅针对我添加的目标)设置为“DWARF”而不是“DWARF with dSym”到 > Build Settings 菜单 > Build Options 来摆脱这些警告。

enter image description here

关于ios - Xcode 警告 : Not such file or directory (. pcm 文件),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53911168/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com