Xcode 存档时没有此类文件或目录

Xcode 存档时没有此类文件或目录,xcode,cocoapods,Xcode,Cocoapods,我使用cocoapods将Firebase添加到我的Xcode项目中。我可以构建并成功,我只收到以下警告: ld: warning: directory not found for option '-F/Users/.../Library/Developer/Xcode/DerivedData/game-dwgqybwtgjx..../Build/Intermediates/ArchiveIntermediates/game/BuildProductsPath/Release-iphoneos/

我使用cocoapods将Firebase添加到我的Xcode项目中。我可以构建并成功,我只收到以下警告:

ld: warning: directory not found for option '-F/Users/.../Library/Developer/Xcode/DerivedData/game-dwgqybwtgjx..../Build/Intermediates/ArchiveIntermediates/game/BuildProductsPath/Release-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-F/Users/.../Library/Developer/Xcode/DerivedData/game-dwgqybwtgj..../Build/Intermediates/ArchiveIntermediates/game/BuildProductsPath/Release-iphoneos/Protobuf'
生成成功,但存档未成功

单击“存档”时,会收到以下警告和错误:

/Users/..../Library/Developer/Xcode/DerivedData/game-dwgqybwtg.../Build/Intermediates/ArchiveIntermediates/game/InstallationBuildProductsLocation/Applications/game.app/Frameworks/GoogleToolboxForMac.framework: No such file or directory

通过更新macOS和Xcode解决了这个问题