How to remove provisioning profiles from Xcode

后端 未结 16 1355
自闭症患者
自闭症患者 2020-11-29 15:09

Does anyone know how to remove previously installed provisioning profiles from Xcode?

I have seen this link, but I am not able to find that location in my system.

相关标签:
16条回答
  • 2020-11-29 16:01

    open your terminal then use this command

    cd /Users/youruser/Library/MobileDevice/Provisioning\ Profiles/
    

    check first inside your folder by use this command

    ls
    

    then if all files not use, delete by use this command

    rm *
    
    0 讨论(0)
  • 2020-11-29 16:03

    In Xcode 6, you can do this mostly right in Xcode:

    1. Go to Xcode -> Preferences -> Accounts.
    2. Choose your Apple ID in the left column.
    3. In the right pane, click the "View Details..." button.
    4. Right-click on the provisioning profile you want to delete, then click "Show Details".
    5. A Finder window will open up with the provisioning profile highlighted.
    6. Delete the selected provisioning profile.
    0 讨论(0)
  • 2020-11-29 16:05

    With Xcode 9.3, this seems to be resolved by cleaning the project, quitting and restarting Xcode, and, after the restart, cleaning the build folder (hold Option and select Product->Clean Build Folder).

    During the restart I happened to have the Xcode signing-info panel open on the Project navigator and saw a transient message that Xcode was rebuilding the signing profile. Upon trying to run my project on a device, I got a runtime exception due to a Swift framework file having an invalid signature. The second "Clean Build Folder" cleared that up and all works fine now.

    0 讨论(0)
  • 2020-11-29 16:06

    For XCode 9.3, the following steps worked for me.

    1. Go to Applications > Utilities > Keychain Access
    2. Under the login option on the left panel, find Apple Worldwide Developer Relations Certification Authority. Double click to get the options under it.
    3. Under the Trust option, change the When using this certificate option to Always trust .
    4. Exit the keychain access window, quit Xcode and restart Xcode. Rebuild the application. It should work now.
    0 讨论(0)
提交回复
热议问题