Skip to content

Unable to install app on device when adding FirebaseAnalyticsOnDeviceConversion via SPM #10126

Closed
@gbrixey

Description

@gbrixey

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 13.4.1 (13F100)
  • Firebase SDK version: 9.4.1
  • Installation method: Swift Package Manager
  • Firebase Component: FirebaseAnalyticsOnDeviceConversion
  • Target platform(s): iOS

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

  • Integrate Firebase into the app using Swift Package Manager.
  • Add FirebaseAnalyticsOnDeviceConversion to the app target.
  • Run the app on a connected device.
  • Xcode will fail to install the app on device, and will present an error message similar to the following:
Unable to install "(App Name)"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
User Info: {
    DVTErrorCreationDateKey = "2022-08-22 18:17:24 +0000";
    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
The code signature version is no longer supported.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
...

See the full text of the error message here.

This error only appears when running the app on a physical device; there is no such error when running on simulator.

This issue is similar to another one that was reported and closed recently: #9938. The repro steps are slightly different for me, as I am using SPM and I am not attempting to embed FirebaseAnalyticsOnDeviceConversion. The Firebase SDK version is also different.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions