firebase-ios-sdk: I am getting "multiple command produce gRPCCertificates.bundle" error in Firestore when archiving

[REQUIRED] Step 2: Describe your environment

  • Xcode version: 10.0 (10A255)
  • Firebase SDK version: Firebase 5.13.0, FirebaseFirestore (0.15.0)
  • Firebase Component: FirebaseFirestore (0.15.0)
  • Component version: 0.15.0

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

install firestore through pod

pod 'Firebase/Firestore' and archive

Relevant Code:

 platform :ios, '11.0'

target 'FireCheck' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for FireCheck
 
 pod 'Firebase/Firestore'

end

It produce following error in archiving

Multiple commands produce ‘…iphoneos/gRPCCertificates.bundle’:

  1. Target ‘gRPC-C+±gRPCCertificates’ has create directory command with output ‘…/iphoneos/gRPCCertificates.bundle’

  2. Target ‘FirebaseFirestore-gRPCCertificates’ has create directory command with output ‘…iphoneos/gRPCCertificates.bundle’

I have already tried clean, deleting derive data, de-integrating and reintegrating pods , nothing works I am using XCode 10.

Any help is appreciated

It only happens when i do build and archive … normal run/debug works It also only happens in MacOS 10.14 (18A391) not in previous version of the macOS High Sierra

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 23 (14 by maintainers)

Most upvoted comments

The gRPC team just pushed version 0.0.5 of gRPC-C++.

I did a pod update and now the quickstart successfully archives.

@mharrisweb, similar advice applies.

Additionally, is there any reason you’re pinning yourself to the Firebase 5.12.0 version of Firestore?

ive with previous version of MacOS High Sierra with same XCode version same CocoaPods version these lines are not generated in Pods-resources.sh file

Where can I find the Pods-resource.sh file? I’m experiencing the same issue and in the Podlock file, I’m at gRPC-C++ (= 0.0.6) and its still an issue for me.

As already noted, it works for normal builds in both release and debug mode, but fails when archiving.

macOS: 10.14.1 Xcode: 10.1 Build System: New Cocoa Pods: 1.5.3 Firebase: 5.13.0

error: Multiple commands produce '/Users/simon/Library/Developer/Xcode/DerivedData/Equilab-diuebwrozpbtmxgmckrqnamouvgo/Build/Intermediates.noindex/ArchiveIntermediates/Release/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/gRPCCertificates.bundle':
1) Target 'gRPC-C++-gRPCCertificates' has create directory command with output '/Users/simon/Library/Developer/Xcode/DerivedData/Equilab-diuebwrozpbtmxgmckrqnamouvgo/Build/Intermediates.noindex/ArchiveIntermediates/Release/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/gRPCCertificates.bundle'
2) Target 'FirebaseFirestore-gRPCCertificates' has create directory command with output '/Users/simon/Library/Developer/Xcode/DerivedData/Equilab-diuebwrozpbtmxgmckrqnamouvgo/Build/Intermediates.noindex/ArchiveIntermediates/Release/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/gRPCCertificates.bundle'

Podfile.lock buildlog.txt