Xcode crash when refreshing provisioning profiles

后端 未结 4 1768
攒了一身酷
攒了一身酷 2020-12-04 06:07

I cant seem to refresh my provisioning profiles in Xcode without crashes. Every time I press the refresh button in organizer it crashes and I retrieve this line from the err

相关标签:
4条回答
  • 2020-12-04 06:46

    Removing this file worked for me.

    ~/Library/Developer/Xcode/connect1.apple.com 4.6.1.db

    Thanks!

    0 讨论(0)
  • 2020-12-04 06:50

    Someone had this problem at NSCoder Night this week. Cleared by removing:

    ~/Library/Caches/com.apple.dt.Xcode.

    sqlite3 ~/Library/Caches/com.apple.dt.Xcode/PortalData/connect1.apple.com
    

    Shows that file to be an SQLite database, with references to certificates, teams, and profiles. I suspect (but haven't tried) that removing the PortalData folder would be sufficient to clear the error.

    0 讨论(0)
  • 2020-12-04 07:07

    Remove this file:

    ~/Library/Developer/Xcode/connect1.apple.com 4.6.1.db
    

    before running Xcode 4.6.1.

    0 讨论(0)
  • 2020-12-04 07:08

    Here is apple's official workaround:

    Run this command in terminal:

    mkdir ~/Library/Developer/Xcode/OldPortalDBs; mv ~/Library/Developer/Xcode/connect1.apple.com* ~/Library/Developer/Xcode/OldPortalDBs
    

    Worked like a charm for me.

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