Skip to content

Messaging.messaging().token returns error in iOS 26 Simulator #15327

@makwanbarzan

Description

@makwanbarzan

Description

While trying to fetch the Messaging token in iOS 26.0 Simulator, the domain: "com.google.fcm" - code: 505 error is being returned. This issue has started to appear in Xcode 26.0 + iOS 26.0, but it works fine while running it on iOS 18 and physical devices on iOS 26.0 with the same Xcode version.

It's worth mentioning that the request is being triggered after some seconds, which is not too early.

Reproducing the issue

Install Xcode 26.0 RC with iOS 26.0 Simulator and call Messaging.messaging().token

Firebase SDK Version

12.2.0

Xcode Version

26.0 RC

Installation Method

Swift Package Manager

Firebase Product(s)

Crashlytics, Installations, Remote Config, App Check

Targeted Platforms

iOS

Relevant Log Output

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

Expand Package.resolved snippet
{
  "originHash" : "XXX",
  "pins" : [
    {
      "identity" : "abseil-cpp-binary",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/abseil-cpp-binary.git",
      "state" : {
        "revision" : "bbe8b69694d7873315fd3a4ad41efe043e1c07c5",
        "version" : "1.2024072200.0"
      }
    },
    {
      "identity" : "app-check",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/app-check.git",
      "state" : {
        "revision" : "61b85103a1aeed8218f17c794687781505fbbef5",
        "version" : "11.2.0"
      }
    },
    {
      "identity" : "firebase-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/firebase-ios-sdk",
      "state" : {
        "revision" : "e2a3c3fbcaa1df3fd549b5b3f1175bc8a11912fd",
        "version" : "12.2.0"
      }
    },
    {
      "identity" : "google-ads-on-device-conversion-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/googleads/google-ads-on-device-conversion-ios-sdk",
      "state" : {
        "revision" : "a2d0f1f1666de591eb1a811f40b1706f5c63a2ed",
        "version" : "2.3.0"
      }
    },
    {
      "identity" : "googleappmeasurement",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleAppMeasurement.git",
      "state" : {
        "revision" : "1c7edd5cc6e4ad22d2b81166bb9b208b9e63058a",
        "version" : "12.2.0"
      }
    },
    {
      "identity" : "googledatatransport",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleDataTransport.git",
      "state" : {
        "revision" : "617af071af9aa1d6a091d59a202910ac482128f9",
        "version" : "10.1.0"
      }
    },
    {
      "identity" : "googleutilities",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleUtilities.git",
      "state" : {
        "revision" : "60da361632d0de02786f709bdc0c4df340f7613e",
        "version" : "8.1.0"
      }
    }
  ],
  "version" : 3
}

If using CocoaPods, the project's Podfile.lock

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions