-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Code signature validation failed on v10.24.0 #12740
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
We're also seeing this behaviour but in Xcode |
Thanks for reporting. @tristan-warner-smith, are you also using a script to process the Firebase.zip? |
@psbss, when downgrading, try to delete the directory containing the XCFrameworks and all references to the framework paths. I would also clean Xcode's cache. The fact that the same error appears after downgrading could mean that Xcode is remembering some state from the 10.24 installation. |
We're not processing it, we've been using this to generate binary target frameworks for a couple of years. |
I suspect this issue may be caused by the introduction of symlinks within XCFrameworks in 10.24.0. If the XCFrameworks are copied, it's possible that the symlinks are not preserved which would break the code signature. @psbss, instead of |
Hi @ncooke3
some libraries signature verified but these libraries are not.
Expand
|
Hi @bforrose Script file#!/bin/sh
version=`cat .firebase-version`
curl -L https://github.com/firebase/firebase-ios-sdk/releases/download/${version}/Firebase.zip -o .firebase/Firebase.zip --create-dirs
unzip -o .firebase/Firebase.zip -d .firebase
# FirebaseCrashlytics
cp -rfp .firebase/Firebase/FirebaseCrashlytics/ MyAppPackage/XCFrameworks/FirebaseCrashlytics/
cp -rfp .firebase/Firebase/FirebaseCrashlytics/upload-symbols scripts/FirebaseCrashlytics/
cp -rfp .firebase/Firebase/FirebaseCrashlytics/run scripts/FirebaseCrashlytics/
# FirebaseAnalytics
cp -rfp .firebase/Firebase/FirebaseAnalytics/ MyAppPackage/XCFrameworks/FirebaseAnalytics/
# FirebaseInAppMessaging and FirebaseMessaging
cp -rfp .firebase/Firebase/FirebaseInAppMessaging/ MyAppPackage/XCFrameworks/FirebaseInAppMessaging/
cp -rfp .firebase/Firebase/FirebaseMessaging/ MyAppPackage/XCFrameworks/FirebaseMessaging/
## FirebaseRemoteConfig
cp -rfp .firebase/Firebase/FirebaseRemoteConfig/ MyAppPackage/XCFrameworks/FirebaseRemoteConfig/
# FirebaseAuth
cp -rfp .firebase/Firebase/FirebaseAuth/ MyAppPackage/XCFrameworks/FirebaseAuth/
# FirebasePerformance
cp -rfp .firebase/Firebase/FirebasePerformance/ MyAppPackage/XCFrameworks/FirebasePerformance/
|
Hi @psbss |
Thank you replay! but still failed signature verification 😢 |
This should be treated with high priority, we are also encountering the same issue on multiple projects using various script systems, please remove the symlinks as it's causing only problems. |
We recently added the symlinks because Apple started blocking App Store submission without them. Details in #12668 |
@psbss, could you share a screenshot of one of the copied XCFrameworks that is not working (similar to the screenshot in #12740 (comment))? |
Hi @ncooke3
|
|
There should not be a privacy manifest bundle in the framework folder. It should only be in the Resources folder. Make sure to remove the previous version's xcframework before copying in the new one. Pre-10.24.0, the macOS/Catalyst slices had the privacy manifest bundle at the root of the framework, but now we added them in the Resources directory Perhaps when you did the copy, the framework-level bundle stuck around and wasn't overwritten/deleted, so it is breaking the signature. |
Oh no, I forgot to remove the tmp download directory. After deleting it, it was verified correctly. |
Description
Hi
Today, I updated firebase-ios-sdk v10.24.0 from v10.22.0 using Zip file.
I faced XCFramework signature error.
I did downgrade to v10.22.0 and rebuild again but it is failed same error.
Does anyone have ideas to fix this issue?
Script file is here
Expand
download-firebase.sh
snippetReproducing the issue
Just update to v10.24.0 from v10.22.0
Firebase SDK Version
10.24.0
Xcode Version
15.3
Installation Method
Zip
Firebase Product(s)
AB Testing, Analytics, Authentication, Crashlytics, In-App Messaging, Performance, Remote Config
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetN/A
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetN/A
The text was updated successfully, but these errors were encountered: