Xcode build warning - Target Integrity - Provisioning profile is expiring only for the ProjectnameTests Target

前端 未结 9 1849
醉话见心
醉话见心 2021-01-31 13:51

All my apps that i\'ve created so far do this. It does nothing to the app or being able to run it but it\'s just annoying always having that 1 warning.

I\'m Using Xcode

9条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-31 14:02

    I had this problem because a provisioning profile I used was signed with a certificate that was revoked/expired. First, go to the member center and delete expired and invalid provisioning profiles. Regenerate the ones you need. To clean up Xcode, go to Preferences-> Accounts, select your account.

    Click view details.

    Right click any profile -> Show in finder. Delete all of them. Then go back to XCode, close details and reopen (to refresh) and re-download the ones you need (there'll be a download button for each profile).

    Warning gone. Xcode might complain about code signing issues, but clicking "Resolve" automatically clears this up.

    Then everything worked.

提交回复
热议问题