【Flutter】Error (Xcode): Provisioning profile “iOS Team Provisioning Profile: com.xxx.AppName” doesn’t include signing certificate “Apple Development: Developer Name (ID)”./【Xcode】Unable to process request – PLA Update available エラーの原因と解決方法

Flutter

はじめに

Flutterアプリ開発中にiPhone端末でビルドした際、以下の証明書に関するエラーが発生しました。ビルドはAndroid Studioで実行しています。

Could not build the precompiled application for the device.
Error (Xcode): Provisioning profile "iOS Team Provisioning Profile: com.xxx.AppName" doesn't include signing certificate "Apple Development: Developer Name (ID)".
/Users/xxx/Documents/flutter_app/app_name/ios/Runner.xcodeproj


It appears that there was a problem signing your application prior to installation on the device.

Verify that the Bundle Identifier in your project is your signing id in Xcode
  open ios/Runner.xcworkspace

Also try selecting 'Product > Build' to fix the problem.

Error launching application on iPhone_dev.

原因と解決方法

XcodeでRunnerを開くと、以下2つのエラーが発生しています。

エラー1つ目。

Unable to process request - PLA Update available
You currently don't have access to this membership resource. To resolve this issue, agree to the latest Program License Agreement in your developer account.
リクエストを処理できません - PLA アップデートが利用可能です
現在、このメンバーシップ リソースにアクセスできません。この問題を解決するには、開発者アカウントで最新のプログラム使用許諾契約に同意してください。

エラー2つ目。

Provisioning profile "iOS Team Provisioning Profile: com.xxx.AppName" doesn't include signing certificate "Apple Development: Developper Name (ID)".
プロビジョニング プロファイル「iOS チーム プロビジョニング プロファイル: com.xxx.AppName」には、署名証明書「Apple Development: 開発者名 (ID)」が含まれていません。

これらは、更新された契約内容に同意していないために発生しています。

解決するために、App Store Connectにログインし、画面上部に表示される警告「Apple Developer Programの使用許諾契約が更新されました」の「アカウント」をクリックします。

「契約を確認」をクリックします。

Xcodeに戻り、エラー発生箇所にある「Try Again」をクリックすると、エラーが解消します。

これで、ビルドも通るようになりました。

タイトルとURLをコピーしました