firebase-ios-sdk: Xcode 15 beta and Firestore 10.10: The signature of “gRPC-C++.xcframework” cannot be verified
Description
In Xcode 15 beta, updating to Firebase 10.10 throws a build error. “The signature of “gRPC-C++.xcframework” cannot be verified.”
The full error is:
/Users/username/Library/Developer/Xcode/DerivedData/OptimisingFirestore-ejvnmdkwtmsvjjbnruaonpkfzunf/SourcePackages/artifacts/grpc-binary/gRPC-C++/gRPC-C++.xcframework:1:1: error: The signature of “gRPC-C++.xcframework” cannot be verified.
note: Codesign verification failed
note: /Users/username/Library/Developer/Xcode/DerivedData/OptimisingFirestore-ejvnmdkwtmsvjjbnruaonpkfzunf/SourcePackages/artifacts/grpc-binary/gRPC-C++/gRPC-C++.xcframework: bundle format unrecognized, invalid, or unsuitable
This issue does not occur when using Xcode 14.3, even when building for iOS 17 targets. As a temporary fix, downgrading to Firebase 10.8.1 resolves the issue.
Reproducing the issue
- Download Xcode 15
- Download the sample project (or just create a new Xcode project in Xcode 15 and install Firestore)
- Observe that there are no issues when building
- Update Firebase to 10.10
- Observe that the error listed above is thrown
Firebase SDK Version
10.10
Xcode Version
15
Installation Method
Swift Package Manager
Firebase Product(s)
Firestore
Targeted Platforms
iOS
Relevant Log Output
/Users/username/Library/Developer/Xcode/DerivedData/OptimisingFirestore-ejvnmdkwtmsvjjbnruaonpkfzunf/SourcePackages/artifacts/grpc-binary/gRPC-C++/gRPC-C++.xcframework:1:1: error: The signature of “gRPC-C++.xcframework” cannot be verified.
note: Codesign verification failed
note: /Users/username/Library/Developer/Xcode/DerivedData/OptimisingFirestore-ejvnmdkwtmsvjjbnruaonpkfzunf/SourcePackages/artifacts/grpc-binary/gRPC-C++/gRPC-C++.xcframework: bundle format unrecognized, invalid, or unsuitable
If using Swift Package Manager, the project’s Package.resolved
Expand Package.resolved snippet
{
"pins" : [
{
"identity" : "abseil-cpp-binary",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/abseil-cpp-binary.git",
"state" : {
"revision" : "bfc0b6f81adc06ce5121eb23f628473638d67c5c",
"version" : "1.2022062300.0"
}
},
{
"identity" : "firebase-ios-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/firebase-ios-sdk",
"state" : {
"revision" : "5034479ca0c4f32f299677fb0ba1fe4d3e3e20b4",
"version" : "10.10.0"
}
},
{
"identity" : "googleappmeasurement",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleAppMeasurement.git",
"state" : {
"revision" : "69f5b8425dd473d2f2475bba7f88f82cd9da0e36",
"version" : "10.10.0"
}
},
{
"identity" : "googledatatransport",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleDataTransport.git",
"state" : {
"revision" : "7874c1b48cbffd086ce8a052c4be873a78613775",
"version" : "9.2.3"
}
},
{
"identity" : "googleutilities",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleUtilities.git",
"state" : {
"revision" : "871d43135925cde39ef7421d8723ce47edfdcc39",
"version" : "7.11.1"
}
},
{
"identity" : "grpc-binary",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/grpc-binary.git",
"state" : {
"revision" : "2b7656d8ee892cd39db460b1a0d849de618405e6",
"version" : "1.50.1"
}
},
{
"identity" : "gtm-session-fetcher",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/gtm-session-fetcher.git",
"state" : {
"revision" : "d415594121c9e8a4f9d79cecee0965cf35e74dbd",
"version" : "3.1.1"
}
},
{
"identity" : "leveldb",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/leveldb.git",
"state" : {
"revision" : "0706abcc6b0bd9cedfbb015ba840e4a780b5159b",
"version" : "1.22.2"
}
},
{
"identity" : "nanopb",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/nanopb.git",
"state" : {
"revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692",
"version" : "2.30909.0"
}
},
{
"identity" : "promises",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/promises.git",
"state" : {
"revision" : "ec957ccddbcc710ccc64c9dcbd4c7006fcf8b73a",
"version" : "2.2.0"
}
},
{
"identity" : "swift-protobuf",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-protobuf.git",
"state" : {
"revision" : "f25867a208f459d3c5a06935dceb9083b11cd539",
"version" : "1.22.0"
}
}
],
"version" : 2
}
If using CocoaPods, the project’s Podfile.lock
Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 7
- Comments: 27 (10 by maintainers)
In the meantime, a workaround would be to go back to the Firestore source distribution in Firebase 10.7.0 or earlier.
IIUC, the “signature” issue is solved and simulator development and some device development is now functional. Perhaps we should open a separate issue for the Segmentation fault on deployment to iOS 17?
Build and deploying works and everything working fine on Firebase 10.7.0, I guess the problem is firebase therefore?
I read a lot of articles saying that bit coding is deprecated since Xcode 14
Hi everyone, Not sure if others are still experiencing the issue & I’m going to be honest – I am not at all a pro when it comes to Xcode but, after the whole day of trying different things and suggestions I managed to resolve the issue by:
No idea if they’re fully connected together but, it seemed to have work & my app is running as it was with firebase and no more errors are appearing.
@ncooke3 yes deleted all those files; also cleaned build folder via Xcode several times, still running into this