firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

GDTCCTUploader-upload background task not ending while app is in foreground

Open dsngeu opened this issue 8 months ago • 2 comments

Description

Even though the app is in the foreground and no Firebase APIs are being called explicitly. Xcode Console warning - Background Task 90 ("GDTCCTUploader-upload"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.

Firebase (11.7.0)

Reproducing the issue

No response

Firebase SDK Version

11.7.0

Xcode Version

16.3

Installation Method

CocoaPods

Firebase Product(s)

All

Targeted Platforms

iOS

Relevant Log Output

Background Task 90 ("GDTCCTUploader-upload"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

dsngeu avatar Jun 05 '25 11:06 dsngeu

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Jun 05 '25 11:06 google-oss-bot

Please share the Podfile.lock

paulb777 avatar Jun 05 '25 13:06 paulb777

Hey @dsngeu. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Jul 17 '25 01:07 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@dsngeu if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Jul 23 '25 18:07 google-oss-bot