出現errSecInternalComponent
Xcode簽名機制(code signing mechanism) 的 bug, Xcode 中賬號多了,就會產生很多過期的描述文件,Xcode 沒有自帶刪除功能會導致重復導入provisioning profile.
解決辦法:
Xcode 中所有的PP文件,都在 ~/Library/MobileDevice/Provisioning Profiles 這個文件夾下;刪除不需要的;
進入Xcode, comand+, 打開偏好設置重新下載。