Xcode4.6をインストールする。もしもインストールされている場合は、最新版をインストールする前に、リネームして置きます。
sudo mv /Applications/Xcode.app/ /Applications/Xcode46.app/iOS6のSDKをXcode5のSDKsのディレクトリに追加
(※以下は、シンボリックリンクにしてますが、実体のコピーでも良い)します。
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ sudo ln -s /Applications/Xcode46.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/ ./iPhoneOS6.1.sdk
SDKのリストを管理しているファイルを編集してXMLの記述を追加します。
sudo vi /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/version.plist
<dict> <key>BuildVersion</key> <string>774</string> <key>CFBundleShortVersionString</key> <string>6.1</string> <key>ProductBuildVersion</key> <string>10B141</string> <key>ProjectName</key> <string>iPhonePlatformSupport</string> <key>SourceVersion</key> <string>1824000000000000</string> </dict>
rootユーザとして編集を保存(※viコマンド)
:w !sudo tee %