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

Codesigning failure on MacOS

Open girishw opened this issue 1 year ago • 6 comments

Description

I have an app with the Firebase SDKs that compiles and works fine for an iOS destination. However, I now have a new MacOS destination and the build fails for it with the following error message:

....../...app: code object is not signed at all In subcomponent: ....../Build/Products/Beta/..../Contents/Frameworks/GoogleAppMeasurement.framework Command CodeSign failed with a nonzero exit code

When I filter the MacOS build log for signing, I see the attached Screenshot 2024-04-03 at 4 15 29 PM

: the frameworks are not getting signed. When I similarly filter for the iOS build, I see that they are getting signed.

Reproducing the issue

No response

Firebase SDK Version

10.23.1

Xcode Version

15.3

Installation Method

Swift Package Manager

Firebase Product(s)

Analytics

Targeted Platforms

macOS

Relevant Log Output

No response

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

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

girishw avatar Apr 03 '24 23:04 girishw

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 03 '24 23:04 google-oss-bot

Thanks for the report. Is this issue occurring on 10.23**.0** as well?

ncooke3 avatar Apr 03 '24 23:04 ncooke3

Thanks for the report. Is this issue occurring on 10.23**.0** as well?

No, this does not occur on 10.23.0. Please note that I am using the new Xcode multiplatform target feature.

girishw avatar Apr 04 '24 18:04 girishw

We are seeing a similar issue with Mac Catalyst after updating to version 10.23.1 from 10.22.0. An iOS destination seems to work fine. I can also confirm that the issue doesn't seem to happen with version 10.23.0.

kevinanderson7 avatar Apr 04 '24 19:04 kevinanderson7

This is also happening to my team for 10.23.1.

My project setup is a single universal app (iOS + iPadOS), targeting iOS 17.0 SDK, Xcode 15.3, nothing special.

Noteworthy, it can also happen for another third party dependency that we use that is also a swift package .binaryTarget.

SwiftNativeDeveloper avatar Apr 05 '24 17:04 SwiftNativeDeveloper

Thanks, everyone. I suspect this issue will be fixed by the 10.24.0 release next week. The next release will contain signed SDKs and SDKs with a fixed structure for macOS/macCatalyst. I will keep this issue open until then.

ncooke3 avatar Apr 05 '24 17:04 ncooke3

10.24.0 is now released and all XCFrameworks have code signatures. I'm marking this as closed, but do let me know below if the issue persists after updating.

ncooke3 avatar Apr 09 '24 21:04 ncooke3