原貼:
http://www.cocoachina.com/bbs/read.php?tid=97441&page=1
首先 下載xcode4.3 雙擊dmg檔案開啟 右鍵xcode表徵圖瀏覽裡面的內容 拷貝出上面所說的檔案夾
過程如下:
1. 複製
檔案夾 Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1 (9B176)
到
系統檔案夾 Developer/Platformes/iPhoneOS.platform/DeviceSupport
2. 複製
檔案夾 Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
到
系統檔案夾 Developer/Platformes/iPhoneOS.platform/Developer/SDKs
3. 複製
檔案夾 Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk
到系統檔案夾 Developer/Platformes/iPhoneSimulator.platform/Developer/SDKs/
4. 複製 檔案 Contents/Developer/Platforms/iPhoneOS.platform/version.plist 到系統檔案 /Developer/Platforms/iPhoneOS.platform/version.plist
5. 複製 檔案 Contents/Developer/Platforms/iPhoneSimulator.platform/version.plist 到系統檔案 /Developer/Platforms/iPhoneSimulator.platform/version.plist
6. 複製 檔案夾裡面所有的檔案 Contents/Developer/Documentation/DocSets 到系統檔案夾 /Developer/Documentation/DocSets
7.選擇工程->Build Settings -> Code Signing -> Code Signing Identity ->
Debug -> Any ios SDK 將選項改為:iPhone Developer