iOSのレガシーコードのメンテナンスは修羅の道。
というわけで、過去の開発、及び、テスト環境を再現するために必要なのでまとめてみた。
Apple Developer Centerや歴代のXcodeのRelease Noteを見てもよくわからなかったので、実際に仮想環境のMac OS XにXcodeをインストールして確認しています。
ただし、さすがに古すぎるものや非公式の組み合わせは調査していません。
例えば、iOS 4.3のSimulatorが必要なら、Mac OS X 10.7(Lion)とXcode 4.6.3が最新の組み合わせと言うことになります。
Versions compare table of Xcode and Mac OS X
Runs on versions of Mac OS X | Version of Xcode | OS X SDK(s) | Min OS X Deployment Target | iOS SDK | Min iOS Deployment Target | iOS simulator(s) | iOS arm supported |
---|---|---|---|---|---|---|---|
10.10 | 6.1.0 | 10.10,10.9 | 10.4 | 8.1 | 4.3 | 8.1,7.1 | 64,v7s,v7 |
10.9 | 6.1.0 | 10.10,10.9 | 10.4 | 8.1 | 4.3 | 8.1,7.1,7.0 | 64,v7s,v7 |
10.9 | 6.0.1 | 10.9 | 10.4 | 8.0 | 4.3 | 8.0,7.1,7.0 | 64,v7s,v7 |
10.9 | 5.1.1 | 10.9,10.8 | 10.4 | 7.1 | 4.3 | 7.1,6.1 | 64,v7s,v7 |
10.9 | 5.0.2 | 10.9,10.8 | 10.4 | 7.0 | 4.3 | 7.0,6.1,6.0 | 64,v7s,v7 |
10.8 | 5.1.1 | 10.9,10.8 | 10.4 | 7.1 | 4.3 | 7.1,6.1,6.0 | 64,v7s,v7 |
10.8 | 5.0.2 | 10.9,10.8 | 10.4 | 7.0 | 4.3 | 7.0,6.1,6.0,5.1,5.0 | 64,v7s,v7 |
10.8 | 4.6.3 | 10.8,10.7 | 10.4 | 6.1 | 4.3 | 6.1,6.0,5.1,5.0 | v7s,v7 |
10.8 | 4.5.2 | 10.8,10.7 | 10.4 | 6.0 | 4.3 | 6.0,5.1,5.0 | v7s,v7 |
10.8 | 4.4.1 | 10.8,10.7 | 10.4 | 5.1 | 3.0 | 5.1,5.0 | v7,v6 |
10.7 | 4.6.3 | 10.8,10.7 | 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