You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

触发新断点时Xcode15卡顿3分钟后崩溃,求解决方法

解决Xcode15触发断点卡顿崩溃(CoreGraphics模块缺失)问题

问题现象

启动应用触发新断点时,Xcode15卡顿3分钟后崩溃,启动后即出现卡顿,日志提示CoreGraphics模块的pcm文件不存在,该问题关联第三方SDK TXLoginoauthSDK 的 TXLoginUIModel.o 文件。

报错日志:

/Users/sanjiusijiushijingshan/szplusnews/SZPlusNews/SZPlusNews/ThirdParty/TXLoginoauthSDK/TXLoginoauthSDK.framework/TXLoginoauthSDK(TXLoginUIModel.o) 0x00002133: unable to locate module needed for external types: /Users/apple/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/DR87TTK87G07/CoreGraphics-1TH4RJJRQVFOC.pcm error: '/Users/apple/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/DR87TTK87G07/CoreGraphics-1TH4RJJRQVFOC.pcm' does not exist Debugging will be degraded due to missing types. Rebuilding the project will regenerate the needed module files.

解决方案

  • 清理DerivedData缓存:打开Xcode的Settings > Locations,找到DerivedData路径并删除文件夹内所有内容;或执行命令:rm -rf ~/Library/Developer/Xcode/DerivedData/*
  • 清理项目构建缓存:按Cmd+Shift+K清理当前项目构建产物,再按Cmd+Option+Shift+K清理全局构建缓存
  • 更新第三方SDK:检查TXLoginoauthSDK版本,替换为适配Xcode15的最新版本,重新添加到项目并确保Embed & Sign配置正确
  • 验证CoreGraphics依赖:在项目Build Phases > Link Binary With Libraries中确认添加了CoreGraphics.framework;检查Build Settings中Enable Modules (C and Objective-C)设置为YES
  • 重置Xcode模块缓存:关闭Xcode,执行命令rm -rf ~/Library/Developer/Xcode/ModuleCache.noindex/*,重启Xcode后重新构建项目

内容的提问来源于stack exchange,提问作者jrjian

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.07 17:30:13