Salesforce は、予定された有効期限に先立ち、事前に Apple の証明書を更新しましたが、更新時に Apple が従来の署名証明書を無効としてマークしました。
その結果、iOS MobilePush SDK バージョン 8.1.1 および 8.1.2 に現在有効な署名証明書がなくなり、iOS アプリケーションの実装時に次のビルド検証エラーが発生しました。
署名証明書が失効しました (CSSMERR_TP_CERT_REVOKED)
これは Apple App Store で現在リリースされているアプリケーションには影響せず、iOS SDK バージョン 8.1.1 および 8.1.2 を使用した、開発中の新規アプリケーションまたはリリース済みアプリの新しいバージョンのアプリケーションビルドプロセスにのみ影響します。
このビルド検証エラーを解決するには、次の手順で SDK の署名証明書に再署名する必要があります。
手動でのインテグレーション
手動でインテグレーションする場合は、更新されたコード署名を持つ次のリンクから、同じバージョンまたは最新バージョンの SDK をダウンロードしてください。
sfmc-sdk:
https://github.com/salesforce-marketingcloud/sfmc-sdk-ios/releases
MarketingCloudSDK:
https://github.com/salesforce-marketingcloud/MarketingCloudSDK-iOS/releases
CocoaPods
CocoaPods を使用する場合は、ポッドのインストールを行う前に、次のコマンドで古いポッドを削除してキャッシュをクリアしてください。
//ポッドを削除してキャッシュをクリアし、ポッドを再インストールするrm -rf Pods/MarketingCloud-SFMCSdk/ Pods/MarketingCloudSDK/ && pod cache clean 'MarketingCloudSDK' && pod cache clean 'MarketingCloud-SFMCSdk' && pod install
ポッドのキャッシュクリアを実行する際は、現在使用しているバージョンを選択していることを確かめてください。
SPM
MarketingCloudSDK および SFMCSDK パッケージを再度ダウンロードしてください。エラーが発生した場合は、次のコマンドを使用して SPM キャッシュフォルダを削除してください。
//Deletes spm cacherm -rf ~/Library/Caches/org.swift.swiftpmrm -rf ~/Library/org.swift.swiftpm
001664951

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.