Darwin Build Environment Help Center

GIDSignIn.h Missing Error

append delete Jay

Windows 11 Home 23H2
Builder version 3.74
iOS SDK 18.5

This is super weird.
I have been building for a long time without issues. Suddenly. I'm getting this error. The last time I built was like 10 days back, and there was no issue.
But when I opened the builder exe today, there was a pop-up saying some Apple cert had expired and was removed. I didn't pay much attention to it because if it was related to the provisioning profile, it should be missing, and I would go to the dev portal to recreate it. But my digital signing identity (provisioning profile, cert to use, associated private key) is all still there.

I built 2 twice, and I have the same error:
```
+ [arm64] Compiling Libraries\AppleAuth\Native\iOS\AppleAuthManager.m...
+ [arm64] Compiling Libraries\AppleAuth\Native\iOS\AppleAuthSerializer.m...
In file included from Libraries\Plugins\iOS\GoogleSignIn\GoogleSignIn.mm:16:
Libraries\Plugins\iOS\GoogleSignIn\GoogleSignIn.h(16,9): fatal error: 'GoogleSignIn/GIDSignIn.h' file not found
16 | #import <GoogleSignIn/GIDSignIn.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
detected compiler error, aborting multithreaded build.

Press any key to continue . . .
```

```
+ [arm64] Compiling Libraries\Plugins\iOS\GoogleSignIn\GoogleSignIn.mm...
+ [arm64] Compiling Libraries\AppleAuth\Native\iOS\AppleAuthManager.m...
In file included from Libraries\Plugins\iOS\GoogleSignIn\GoogleSignIn.mm:16:
Libraries\Plugins\iOS\GoogleSignIn\GoogleSignIn.h(16,9): fatal error: 'GoogleSignIn/GIDSignIn.h' file not found
16 | #import <GoogleSignIn/GIDSignIn.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
+ [arm64] Compiling Libraries\AppleAuth\Native\iOS\AppleAuthSerializer.m...
1 error generated.
detected compiler error, aborting multithreaded build.

Press any key to continue . . .
```

These are my flags:

Extra compiler flags:
-F"C:/Users/JayH1V2/Downloads/Firebase iOS v7.7.0/Firebase/GoogleSignIn"
-F"C:/Users/JayH1V2/Downloads/Firebase Apple 10.14.0/Firebase/Google-Mobile-Ads-SDK/GoogleMobileAds.xcframework/ios-arm64"
-F"C:/Users/JayH1V2/Downloads/Firebase Apple 10.14.0/Firebase/Google-Mobile-Ads-SDK"
-F"C:/Users/JayH1V2/Downloads/Firebase Apple 10.14.0/Firebase/FirebaseAnalytics"

Extra linker flags:
-F"C:/Users/JayH1V2/Downloads/Firebase iOS v7.7.0/Firebase/GoogleSignIn"
-framework GoogleSignIn
-framework AuthenticationServices
-framework LocalAuthentication
-framework SafariServices
-F"C:/Users/JayH1V2/Downloads/Firebase Apple 10.14.0/Firebase/Google-Mobile-Ads-SDK/GoogleMobileAds.xcframework/ios-arm64"
-framework GoogleMobileAds
-framework AdSupport
-framework CoreTelephony
-framework JavaScriptCore
-framework MediaPlayer
-framework MessageUI
-framework MobileCoreServices
-framework WebKit
-lsqlite3
-lz
-F"C:/Users/JayH1V2/Downloads/Firebase Apple 10.14.0/Firebase/Google-Mobile-Ads-SDK"
-framework UserMessagingPlatform
-framework AppAuth
-framework GTMAppAuth
-framework GTMSessionFetcher
-F"C:/Users/JayH1V2/Downloads/Firebase Apple 10.14.0/Firebase/FirebaseAnalytics"
-framework GoogleAppMeasurement
-lc++
-framework GoogleUtilities
-framework nanopb
-framework FBLPromises
-ObjC

Any idea what happened?
Note that it was working fine 10 days ago. Today, there was a pop-up, but I didn't read it properly, and it says something expired.

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello Jay

The popup you got was unrelated. It was about an Apple intermediary certificate that expired - but it's been replaced by a newer one. Certificates are only used at the final stage of the build, to construct a "trust chain" and stamp it in the executable using your private key + passphrase. As the problem you describe happens before the code signing step, it's totally unrelated.

It looks like something on your computer made files disappear from the Google Firebase SDK you downloaded. At this point, the first remediation step I'd undertake would be to download that Firebase SDK again (exact same version), put it back in place, empty your compiler cache and tick the "rebuild all" checkbox.

Let me know if that wasn't enough to take care of the problem.

append delete #2. Jay

You are right!
Thank you for explaining the Apple intermediary certificate!
It doesn't cause any issues, and the app gets built successfully!

What happened was that, because of the Apple intermediary certificate pop-up, the flags were gone. Luckily, I have it saved in a text file. So I copied over. But the content in the text file was based on an older builder version that was able to handle spaces (Firebase SDK vX). The current one can't have spaces (Firebase_SDK_vX), and you told me this in an older thread here!

I have two separate questions:

1. How to search all the threads I have started here? Not by content (example: "Hi Jay,...") but by the author's name?

2. How to programatically click on the "Build" button of the builder? I made a custom editor button in Unity that auto switches platform and build for iOS, then opens the folder where the builder exe is. But I'd like to also be able to auto-click the "Build" button. Is it possible?

append delete #3. Pierre-Marie Baty

1. The forum is too rudimentary for that so, currently you can't. I take note this is a possible improvement.

2. Just call build.cmd from the command line! :-) Check the relevant part of the documentation about that.

append delete #4. Jay

Thank you so much!

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty