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

前端 未结 9 1810
醉话见心
醉话见心 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 13:57

    It is a warning that your provisioning profile is about to expire and you should renew it. You can do this at Apple's developer center website. If your developer profile program is also about to expire, you should renew it too.

    0 讨论(0)
  • 2021-01-31 14:00

    I deleted all the provisioning profile from

    cd ~/Library/MobileDevice/Provisioning\ Profiles/

    and it's gone.

    You can use this shell script the get the names of the provisioning profiles

    0 讨论(0)
  • 2021-01-31 14:01

    I got the same warning on my old project today.

    I tried this, and the warning went away.

    At 'Build Settings' -> 'Code Signing Identity', Choose 'Automatic Profile selector'.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2021-01-31 14:03

    For Xcode 6 you need to:

    1. go to the Preferences (Cmd + ,)
    2. Accounts
    3. choose your account
    4. choose your team
    5. Click view details
    6. Choose provisioning profile from warning
    7. right click (show in Finder)
    8. remove from Finder

    Now the warning should disappear or you will need to repeat above steps for another warning

    0 讨论(0)
  • 2021-01-31 14:06

    I had to also restart Xcode after deleting the old profiles to get the warnings to go away.

    0 讨论(0)
提交回复
热议问题