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

升级Xcode 11.4后构建Firebase项目重复报错求助

Fixing Pods-Project19-resources.sh Error After Upgrading Xcode to 11.4 for Firebase Projects

Hey there, sorry you're stuck with this build error after updating Xcode to 11.4 on your Firebase project. I’ve helped troubleshoot similar issues before, so let’s go through practical steps to get this resolved:

Common Fixes to Try

1. Wipe Xcode Caches and Build Folder

Corrupted cached data is often the culprit here. Let’s clear it out:

  • Close Xcode completely first.
  • Run this command in Terminal to delete Xcode’s derived data:
    rm -rf ~/Library/Developer/Xcode/DerivedData
    
  • Reopen your project, press Cmd+Shift+K to clean the current project’s build folder, then try rebuilding with Cmd+B.

2. Fully Reintegrate Pods with Compatibility Checks

Just deleting Podfile.lock might not be enough—let’s do a full reset and verify Firebase versions:

  • Run this in Terminal to completely remove all Pods from your project:
    pod deintegrate
    
  • Open your Podfile and double-check that your Firebase dependencies are compatible with Xcode 11.4. For example, you can specify a stable, Xcode 11-friendly version like:
    pod 'Firebase/Core', '~> 6.33.0'
    pod 'Firebase/Analytics', '~> 6.33.0'
    
    (Adjust versions based on the latest stable releases that support Xcode 11.x)
  • Delete Podfile.lock again, then run pod install to fresh-install all dependencies.

3. Fix Execution Permissions for the Resources Script

Sometimes the Pods-Project19-resources.sh script loses its executable permissions, causing build failures:

  • Navigate to Pods/Target Support Files/Pods-Project19/ in your project directory.
  • Run this command to grant execute access to the script:
    chmod +x Pods-Project19-resources.sh
    
  • Try rebuilding your project afterward.

4. Audit Resource File Paths and Names

Xcode 11.4 has stricter handling of file paths. Check if any of your project’s resources (images, storyboards, xibs) have:

  • Special characters (like !@#$%^&*) in their names or paths
  • Non-ASCII characters (like Chinese characters)
    Rename these files or adjust their paths to use only alphanumeric characters and underscores/hyphens, then rebuild.

If None of the Above Work

Try creating a brand new empty Xcode 11.4 project, integrate the same Firebase dependencies, and see if it builds successfully. If it does, compare the new project’s build settings and Pod configuration with your original project to spot any mismatches.

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.07 12:22:41