Xcode 14.3 新版问题总结

  1. "xxx/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/xxxx" failed: No such file or directory

解决:Pods/Targets Support Files/Pods-App-frameworks.sh中

复制代码
if [ -L "${source}" ]; then
    echo "Symlinked..."
    # source="$(readlink "${source}")"  修改为 source="$(readlink -f "${source}")" 
    source="$(readlink -f "${source}")" 
fi
  1. DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead.

解决:Podfile中添加如下处理:

ruby 复制代码
post_install do |installer|
  installer.aggregate_targets.each do |target|
    target.xcconfigs.each do |variant, xcconfig|
      xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
      IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
    end
  end

  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
        xcconfig_path = config.base_configuration_reference.real_path
        IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
      end
    end
  end
end
相关推荐
学习非暴力沟通的程序员5 小时前
Mac 自动定时打开指定URL(无日历版)操作文档
macos
Pocker_Spades_A8 小时前
在家写的代码,办公室接着改?Jupyter通过cpolar实现远程访问这么玩
ide·python·jupyter
liwulin05069 小时前
【ESP32-S3-CAM】如何在Arduino IDE中关闭调试
ide
三更两点10 小时前
第196期 TRAE 与 Amazon Kiro 智能体驱动集成开发环境(Agentic IDE)对比
ide
ol木子李lo1 天前
Visual studio 2022高亮汇编(ASM)语法方法
汇编·ide·windows·visual studio
mixboot1 天前
macOS Homebrew 安装 Nmap
macos·nmap
Dream-Y.ocean1 天前
告别设备束缚!网易 UU 远程 Mac 被控体验:免费高清 + 多场景丝滑,跨端办公刚需神器
macos
❀͜͡傀儡师2 天前
docker安装mac系统
macos·docker·容器
曹牧2 天前
Eclipse为方法添加注释
java·ide·eclipse
zandy10112 天前
2025年11月AI IDE权深度测榜:深度分析不同场景的落地选型攻略
ide·人工智能·ai编程·ai代码·腾讯云ai代码助手