Hi. My name is Mike and I’m an iOS Engineer on our Messenger team. I’d like to sincerely apologise to anyone impacted by this issue. We’ve been working today to get this solved as quickly as we can. Here are details about what happened, what we’ve done to mitigate the issue, and what you can do to get the framework working again:
A certificate used to sign our SDK was accidentally revoked on April 5th, leading to the invalidation of previously released SDK versions. This incident has caused errors during the integration of our SDK. We sincerely apologise for any inconvenience caused.
To address this issue, we have re-signed and updated all impacted versions to address these issues.
Below are detailed instructions to help you resolve the issue if you are impacted:
For Customers Integrating via Cocoapods:
1. Begin by removing the current version of the Intercom pod. This is achieved by commenting out the Intercom pod line in your Podfile, then running pod install
. The output should indicate "Removing Intercom."
2. Next, clear the cached versions of the Intercom SDK by running pod cache clean 'Intercom' --all
in your repository.
3. Re-include the Intercom pod in your Podfile by uncommenting the previously commented line.
4. Finally, run pod install
again. A new, valid copy of the SDK will be installed.
If any issues arise during this process, running pod repo update
before reinstalling the pod may be beneficial. This ensures that you have the latest podspecs from the CocoaPods repository.
For Customers Using Swift Package Manager (SPM):
1. Begin by removing the Intercom package from your project.
2. In Terminal, execute the following commands to remove caching related to the Intercom framework, which may be causing persistent errors:
rm ~/Library/org.swift.swiftpm/security/fingerprints/intercom-ios-sp*; rm -rf ~/Library/Caches/org.swift.swiftpm/repositories/intercom-ios-sp*
3. Re-add the desired version of Intercom via SPM. Note that a "Package Resolution Failed" error might occur. If so, selecting "Add Anyway" will resolve the package correctly and address the issue.
For Customers Manually Integrating the SDK:
1. Please re-download the SDK from our GitHub page. Specific versions can be found on this page.
2. Use the newly downloaded version to replace the existing copy in your project. The updated SDK will have valid signing.
Hi @mauro.bianchelli
My name is Brian, I’m one of the iOS Engineers at Intercom. Thanks for reporting this issue. I’m very sorry this has impacted your app. Here are the details of the fix for this issue.
Thanks
Brian
Hello!
How can we reset the issue with SPM on CI machines like Azure?
Tried adding the lines:
rm ~/Library/org.swift.swiftpm/security/fingerprints/intercom-ios-sp*
rm -rf ~/Library/Caches/org.swift.swiftpm/repositories/intercom-ios-sp*
into a command line step but all I got was:
rm: /Users/runner/Library/org.swift.swiftpm/security/fingerprints/intercom-ios-sp*: No such file or directory
but it still fails with:
checksum of downloaded artifact of binary target 'Intercom' (02c5acb0cedfa55a75e5878afebabc9304407fabdce945d21d93408840927df0) does not match checksum specified by the manifest (fa615003f8184f10b7f8bd96ee1e2ff8a9ddf6b8169d51f9e36577dcbe125273)fatalError2024-04-10 08:30:21.700 xcodebuildl3000:12945] Writing error result bundle to /var/folders/m8/zh9fv9zn2dd56m30mrjx20t80000gn/T/ResultBundle_2024-10-04_08-30-0021.xcresult
xcodebuild: error: Could not resolve package dependencies:
checksum of downloaded artifact of binary target 'Intercom' (02c5acb0cedfa55a75e5878afebabc9304407fabdce945d21d93408840927df0) does not match checksum specified by the manifest (fa615003f8184f10b7f8bd96ee1e2ff8a9ddf6b8169d51f9e36577dcbe125273)
fatalError
/08:30:23]: Exit status: 74
Thank you!
UPDATE: the issue above was resolved with this fix