1, 解決辦法,進入開發者賬號重建一個 Provisioning Profiles(或配套證書) 文件,把證書添加正確就可以了 (應該是最有效的)
2, 將p12文件重新安裝下
3, 在 iPhone配置實用工具 中使用 Delete 鍵 刪除過期及invalid 的profiles
4, 登錄Member Center 刪除所有 invalid 的 profiles
5, Just created a new project, copied all classes and resources and then it worked!
6, 在命令行下 執行
sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate /usr/bin