Firebase-ios-sdk: Unable to install after SPM integration

Created on 1 Oct 2020  路  7Comments  路  Source: firebase/firebase-ios-sdk

  • Xcode version: Version 12.0.1 (12A7300)
  • Firebase SDK version: 6.34-spm-beta
  • Firebase Component: Analytics, Crashlytics
  • Component version: latest
  • Installation method: Swift Package Manager

Steps to reproduce:

Add dependencies through SMP with https://github.com/firebase/firebase-ios-sdk.git and selected branch 6.34-spm-beta
Change the import from #import to @import
I already have -Objc to my linker flag
Add the frameworks to my three targets needed

I got this error in the install:

Unable to install
No code signature found.
Error code: -402620388

Swift Package Manager analytics needs-attention

Most helpful comment

I was able to reproduce the issue with Analytics dependency.

All 7 comments

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@martinobonfiglioli Sorry you have an issue. From the first glance it looks like a generic app signing issue. Could you please confirm that the app can be installed to the device after removing Firebase? If no, I would suggest to check signing settings of the targets.

Hi @maksymmalyhin
I confirm that switching to the manual adding .framework I can install the app without issues.

I can add that yesterday I was working on integrations with 6.34-spm-beta but I found a different problems that I can't remember. Today I can't find that branch so switching to the 6.33-spm-beta and I had the install issue.

I was able to reproduce the issue with Analytics dependency.

Does the workaround discussed in #6472 work?

The workaround mentioned on the #6472(comment) fixed the issue for me.

@martinobonfiglioli I'm closing issue so far but feel free to continue conversation or reopen if it doesn't work for you.

Thanks @maksymmalyhin I'll follow what you have linked

Was this page helpful?
0 / 5 - 0 ratings