firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.67k stars 1.49k forks source link

The code signature version is no longer supported. Firebase no supported xcframework #8667

Closed bruce-ios closed 3 years ago

bruce-ios commented 3 years ago

Step 0: Are you in the right place?

[REQUIRED] Step 1: Describe your environment

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

I use carthage update --platform iOS --use-xcframeworks And find the Firebase alse .framework, not xcframework. Next when I run in real device and got an error.

Unable to install "xxx"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
User Info: {
    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
The code signature version is no longer supported.
Domain: com.apple.dt.MobileDeviceErrorDomain
......
......

When I do not embed Firebase.framework and run my device, it's work fine. But my crashlytic report don't get any crash error data in the firebase console.

When I embed Firebase.framework and run in simulator, I can get the crash error data in the firebase console.

How to fix this issue?

google-oss-bot commented 3 years ago

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

paulb777 commented 3 years ago

Firebase.framework should not be embedded. See the Delete Firebase.framework from the Link Binary With Libraries Build Phase. step at https://github.com/firebase/firebase-ios-sdk/blob/master/Carthage.md

Please review related issues or open another issue if you're still having trouble with Crashlytics when it is excluded.