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

新建项目集成FirebaseUI pod报错:无法找到AppAuth.framework

Xcode集成FirebaseUI编译报错解决方案

报错信息

编译运行时输出错误日志:

Frameworks/AppAuth.framework: No such file or directory Command PhaseScriptExecution failed with a nonzero exit code

中文释义:找不到Frameworks/AppAuth.framework文件,PhaseScriptExecution命令执行后返回了非0的错误退出码

修复步骤

  • 确认当前打开的是项目根目录下的.xcworkspace文件,CocoaPods集成依赖后不可直接打开.xcodeproj文件,否则会加载不到Pods引入的第三方框架
  • 执行Xcode缓存清理:按下Command + Shift + K清理现有构建产物,再按下Command + Option + Shift + K确认清空全部衍生数据,重启Xcode后重新尝试编译
  • 重新安装Pod依赖:在项目根目录打开终端,依次执行pod deintegrate移除现有Pods配置,再执行pod install --repo-update拉取最新版依赖库完成安装
  • 检查Xcode构建配置:进入项目TARGETS配置页的「Build Phases」栏目,查看「Link Binary With Libraries」列表中是否存在AppAuth.framework,若缺失手动添加,同时确认「Embed Frameworks」中该框架的状态为Embed & Sign
  • 校验框架搜索路径:进入「Build Settings」栏目,搜索「Framework Search Paths」,确认配置项中已包含Pods生成的框架目录,默认会自动添加${PODS_ROOT}/AppAuth相关路径,若缺失手动补全

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.10.03 07:48:03