[React-Native] - XCode Archive failed / GoogleUtilities/GULHeartbeatDateStorage.h file not found

react-native
ios
xcode
#1

Bitrise Build Issue Report template

Description of the issue

I’m trying to deploy to testflight, using Bitrise, new builds. It’s a react-native project. I’m getting an error during the process on bitrise during the XCode Archive & Export for iOS:

❌  /Users/vagrant/git/ios/Pods/FirebaseCoreDiagnostics/Firebase/CoreDiagnostics/FIRCDLibrary/FIRCoreDiagnostics.m:26:9: 'GoogleUtilities/GULHeartbeatDateStorage.h' file not found
#import <GoogleUtilities/GULHeartbeatDateStorage.h>

Whereas, Archiving directly from Xcode works well without any problem.
On Bitrise, Pod installation and Carthage installation happening before the failed step, proceed well and are handled without any errors.

Environment:

Where did the issue happen?

bitrise.io / classic flow for a deployment on itunes connect (Testflight)

Which build Step causes the issue and which version of the step?

E.g.: Xcode Archive & Export for iOS

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : Always

Local reproduction

Never succeed to make it fully works .

Build log

0 Likes

#2

Solved by deleting rm -rf Pods/must have been conflicts with cache or something else… Thanks !

0 Likes