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
相关推荐
qq_401700415 小时前
嵌入式Linux网口MAC地址修改
linux·运维·macos
睡觉早点8 小时前
IntelliJ IDEA下载安装过程(含Java环境搭建)
java·ide·jdk·maven·intellij-idea
草酸艾司西酞普兰9 小时前
idea中使用Qoder插件
java·ide·intellij-idea
芽芽_09 小时前
idea无法打开:Cannot collect JVM options
java·ide·intellij-idea
Flying_Fish_roe9 小时前
IntelliJ IDEA 2025 版本与其他历史版本的全面专业对比分析
java·ide·intellij-idea
天庭鸡腿哥11 小时前
无须激活,安装即是Pro版!
microsoft·macos·visual studio·everything
DeadPool loves Star15 小时前
VSCode关闭Shell内联建议
ide·vscode·编辑器
超哥归来15 小时前
关闭vscode中git的行历史提示
ide·git·vscode·编辑器
勇往直前plus15 小时前
PyCharm 找不到包?Anaconda base 环境 pip 装到用户目录的排查与修复
ide·python·pycharm·conda·pip
golang学习记15 小时前
GoLand 2025.3 正式发布:Claude Agent 深度集成!
ide·idea·goland