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

[Question] Apple APM Requirement Firebase Signed xcframework

Open hendri-voodoo opened this issue 10 months ago • 4 comments

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2022.3.22f1
  • Firebase Unity SDK version: 11.8.1++
  • Source you installed the SDK: .unitypackage
  • Problematic Firebase Component: all
  • Other Firebase Components in use: all
  • Platform you are using the Unity editor on: Mac
  • Platform you are targeting: iOS
  • Scripting Runtime: IL2CPP

[REQUIRED] Please describe the question here:

Apple will start enforcing its APM requirements by the end of April 2024, and one of them is that all xcframeworks must be codesigned. When I checked the Firebase iOS SDK, it is mentioned that an update will be released by 8 April 2024 https://github.com/firebase/firebase-ios-sdk/issues/12238#issuecomment-2026217595

Do you have an ETA for when the iOS update will be added to the Firebase Unity SDK Package?

hendri-voodoo avatar Apr 02 '24 08:04 hendri-voodoo

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 Apr 02 '24 08:04 google-oss-bot

The Firebase iOS SDK update is a bit confusing, only the Swift Package Manager version of the libraries have the code signing. The Cocoapods don't but are planned for the next release, and when that is available, we will update ASAP.

Though to expand, most of the Firebase libraries are source libraries, which do not require code signing (and can't be signed), though some, like Analytics, are built libraries and those will be signed.

a-maurice avatar Apr 02 '24 23:04 a-maurice

Hi @a-maurice thanks for the clarification, but it also means that most of the Unity developer wont get the update ontime then? since unity only support Cocoapods and if cocoapods release is delayed to next cycle from 8th April it means that the unity version wont get it until May?

If we are using only Crashlytics and Analytics do we need the signed library? Or we can move forward with current version of Firebase Unity Sdk?

hendri-voodoo avatar Apr 03 '24 08:04 hendri-voodoo

Hi @hendri-voodoo, Firebase iOS SDK's Crashlytics pod is source, so no code signature is required for it. Firebase iOS SDK's Analytics pod contains a binary, but Analytics is not on Apple's list so I don't believe a signed binary will be required on May 1. That being said, as you pointed out, the Firebase iOS SDK will be releasing next week to ensure that all binary SDKs (regardless of whether they are on Apple's list or not) are signed.

ncooke3 avatar Apr 05 '24 14:04 ncooke3

Hi @ncooke3 , thank you for the info. Since now the Firebase iOS 10.24.0 is out, when can we expect to have the Unity SDK that contain that version? Since the 10.23.0 also have issue with crashlytics 😢

hendri-voodoo avatar Apr 12 '24 10:04 hendri-voodoo

We aim to have a new release out next week with the updated Cocoapods. In the meantime, you can also use the previous 11.8.1 release, and manually update the pod versions, and that should work as well.

a-maurice avatar Apr 12 '24 21:04 a-maurice

hi @a-maurice , so if I use the firebase-unity-sdk 11.8.1 and manually change the ios dependency in the xml file to 10.24.0 it wont cause another issue right?

hendri-voodoo avatar Apr 15 '24 07:04 hendri-voodoo

The latest Unity SDK release is now available, https://github.com/firebase/firebase-unity-sdk/releases/tag/v11.9.0

It uses the Firebase iOS SDK at 10.24.0, and so should have everything signed as needed.

a-maurice avatar Apr 18 '24 20:04 a-maurice