PR

[iOS][Xcode]古いシミュレーターを削除する方法

iOS

はじめに

MacでiOSやMacのアプリ開発をしていると段々とMacの容量が逼迫していることはないでしょうか?

今回は、その原因対策を紹介します。

環境

  • MacBook Pro (14inch, 2021)
  • macOS Monterey(12.1)

原因

原因はXcodeバージョンアップによって、使わなくなった古いシミュレーターがいつまでも残り続けてしまうことです。

Xcodeをバージョンアップしたら、勝手に消えると思っていましたが残り続けるようです。

対策

まずは現状を把握するために以下のコマンドをターミナルで打ち込みます。

% xcrun simctl list

すると

% xcrun simctl list
== Device Types ==
iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
iPhone SE (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE)
iPhone 7 (com.apple.CoreSimulator.SimDeviceType.iPhone-7)
iPhone 7 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus)
iPhone 8 (com.apple.CoreSimulator.SimDeviceType.iPhone-8)
iPhone 8 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus)
iPhone X (com.apple.CoreSimulator.SimDeviceType.iPhone-X)
iPhone Xs (com.apple.CoreSimulator.SimDeviceType.iPhone-XS)
iPhone Xs Max (com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max)
iPhone Xʀ (com.apple.CoreSimulator.SimDeviceType.iPhone-XR)
iPhone 11 (com.apple.CoreSimulator.SimDeviceType.iPhone-11)
iPhone 11 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro)
iPhone 11 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max)
iPhone SE (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-)
iPhone 12 mini (com.apple.CoreSimulator.SimDeviceType.iPhone-12-mini)
iPhone 12 (com.apple.CoreSimulator.SimDeviceType.iPhone-12)
iPhone 12 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro)
iPhone 12 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max)
iPhone 13 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro)
iPhone 13 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro-Max)
iPhone 13 mini (com.apple.CoreSimulator.SimDeviceType.iPhone-13-mini)
iPhone 13 (com.apple.CoreSimulator.SimDeviceType.iPhone-13)
iPod touch (7th generation) (com.apple.CoreSimulator.SimDeviceType.iPod-touch--7th-generation-)
iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
iPad mini 2 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-2)
iPad mini 3 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-3)
iPad mini 4 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-4)
iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)
iPad Pro (9.7-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-)
iPad Pro (12.9-inch) (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro)
iPad (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--5th-generation-)
iPad Pro (12.9-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-)
iPad Pro (10.5-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-)
iPad (6th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--6th-generation-)
iPad (7th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-)
iPad Pro (11-inch) (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch-)
iPad Pro (12.9-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-)
iPad Pro (11-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-)
iPad Pro (12.9-inch) (4th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-generation-)
iPad mini (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-mini--5th-generation-)
iPad Air (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-)
iPad (8th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--8th-generation-)
iPad (9th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation)
iPad Air (4th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air--4th-generation-)
iPad Pro (11-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation)
iPad Pro (12.9-inch) (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation)
iPad mini (6th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation)
Apple TV (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p)
Apple TV 4K (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K)
Apple TV 4K (at 1080p) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p)
Apple TV 4K (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-4K)
Apple TV 4K (at 1080p) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-1080p)
Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)
Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)
Apple Watch Series 2 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-38mm)
Apple Watch Series 2 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm)
Apple Watch Series 3 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-38mm)
Apple Watch Series 3 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-42mm)
Apple Watch Series 4 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm)
Apple Watch Series 4 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm)
Apple Watch Series 5 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm)
Apple Watch Series 5 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm)
Apple Watch SE - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-40mm)
Apple Watch SE - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-44mm)
Apple Watch Series 6 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-40mm)
Apple Watch Series 6 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-44mm)
Apple Watch Series 7 - 41mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-41mm)
Apple Watch Series 7 - 45mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-45mm)
== Runtimes ==
iOS 15.2 (15.2 - 19C51) - com.apple.CoreSimulator.SimRuntime.iOS-15-2
tvOS 15.2 (15.2 - 19K50) - com.apple.CoreSimulator.SimRuntime.tvOS-15-2
watchOS 8.3 (8.3 - 19S51) - com.apple.CoreSimulator.SimRuntime.watchOS-8-3
== Devices ==
-- iOS 15.2 --
    iPhone 8 (CC5933AF-6D57-401A-A6A6-E4B1CC0E492C) (Shutdown)
    iPhone 8 Plus (C1DF6130-F5DC-4DAB-9750-1CF7FB5697E4) (Shutdown)
    iPhone 11 (2C1BE46A-98FF-43CF-90E9-34DD6ED459BD) (Shutdown)
    iPhone 11 Pro (06942677-F4E9-4B81-9E9F-DBCC33A55AC4) (Shutdown)
    iPhone 11 Pro Max (CD7AD085-85A4-4CCB-898A-11954E979B1B) (Shutdown)
    iPhone SE (2nd generation) (C7971E3D-9F55-406A-B6A0-AFDB8B37DB7D) (Shutdown)
    iPhone 12 mini (010F150A-209E-4F9F-916F-656EBF484B09) (Shutdown)
    iPhone 12 (4BE92B8B-C971-4C7A-A28B-809B6C66170E) (Shutdown)
    iPhone 12 Pro (690CB5DF-2C08-4626-B6E2-CA06DE2EAB76) (Shutdown)
    iPhone 12 Pro Max (7878D740-4C8B-449C-9FCD-4D447C1CEB19) (Shutdown)
    iPhone 13 Pro (6FD5E64D-AF00-4DE7-87DF-1B5A5F281183) (Shutdown)
    iPhone 13 Pro Max (799D2F8A-D61E-4B55-BAA9-484B72B7299E) (Shutdown)
    iPhone 13 mini (A1ACB282-48C5-4315-BA69-D5B47F2C6BA8) (Shutdown)
    iPhone 13 (22CEE040-9CD5-4CEB-8D07-B8FCDC50392C) (Shutdown)
    iPod touch (7th generation) (4B932B71-D422-4E0F-8C47-E18D319CB8FD) (Shutdown)
    iPad Pro (9.7-inch) (C65F544E-A069-4A85-92E8-E2A10436B71D) (Shutdown)
    iPad (9th generation) (A26325AE-9345-4D04-8921-826E7C8E9FB4) (Shutdown)
    iPad Air (4th generation) (56AD20D4-24FA-4FE2-9AB6-B859C7161E79) (Shutdown)
    iPad Pro (11-inch) (3rd generation) (A451E3B9-B526-45DD-8250-835D4DB959FF) (Shutdown)
    iPad Pro (12.9-inch) (5th generation) (B53E5596-2E35-432F-AFCE-B8104B4CAB6C) (Shutdown)
    iPad mini (6th generation) (14C660D0-76D9-41F8-88B1-2E42DCFAFF00) (Shutdown)
-- tvOS 15.2 --
    Apple TV (4D09ACDF-4006-406E-B4D6-7FE548B8013D) (Shutdown)
    Apple TV 4K (2nd generation) (82104811-3776-40A7-BEF5-0A0DF77E8524) (Shutdown)
    Apple TV 4K (at 1080p) (2nd generation) (05C38E65-CEDD-4BAD-B180-4C1C076C2160) (Shutdown)
-- watchOS 8.3 --
    Apple Watch Series 5 - 40mm (128BF6F5-67A8-4CF7-9933-52230F4D3420) (Shutdown)
    Apple Watch Series 5 - 44mm (7158CEAC-A03F-457A-9E15-1970B45ABDF1) (Shutdown)
    Apple Watch Series 6 - 40mm (C236EEB5-EFD8-4964-9EAF-D73F6A03AB2F) (Shutdown)
    Apple Watch Series 6 - 44mm (27614137-418B-4C9B-A0BB-27896C7CA105) (Shutdown)
    Apple Watch Series 7 - 41mm (48A30A25-1908-4F43-93F9-E0E583B071F1) (Shutdown)
    Apple Watch Series 7 - 45mm (21873BAC-473C-4BC8-8DE5-57E4230E813C) (Shutdown)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-15-0 --
    iPhone 8 (A3253957-A95B-4382-8BDB-D7A681B5A811) (Shutdown) (unavailable, runtime profile not found)
    iPhone 8 Plus (ED795361-197B-464F-8A81-66E3A3538E18) (Shutdown) (unavailable, runtime profile not found)
    iPhone 11 (89371191-AAA2-4E8F-AE6A-81373CC6DEAD) (Shutdown) (unavailable, runtime profile not found)
    iPhone 11 Pro (9E84BF8B-6DDF-4E9C-960C-B22CB00E390C) (Shutdown) (unavailable, runtime profile not found)
    iPhone 11 Pro Max (9363BB9D-ED83-4CC5-865F-68F13489A87A) (Shutdown) (unavailable, runtime profile not found)
    iPhone SE (2nd generation) (98E6EFEC-6CF6-47A6-95B4-BAE35DD22675) (Shutdown) (unavailable, runtime profile not found)
    iPhone 12 mini (C017A2DB-4281-4505-85AA-9CDC3030B49B) (Shutdown) (unavailable, runtime profile not found)
    iPhone 12 (7D76337F-2BE1-435C-BC37-6E46854818BC) (Shutdown) (unavailable, runtime profile not found)
    iPhone 12 Pro (2BC23143-A33D-40EA-908F-7CED79BE7625) (Shutdown) (unavailable, runtime profile not found)
    iPhone 12 Pro Max (642A444A-A96A-4FBB-A9DF-D4AD2004E198) (Shutdown) (unavailable, runtime profile not found)
    iPhone 13 Pro (15F0B979-1AC8-4B4A-9DAB-E4A1C7AB475B) (Shutdown) (unavailable, runtime profile not found)
    iPhone 13 Pro Max (3BC40DC6-7989-498B-979D-7A9DE4CF131F) (Shutdown) (unavailable, runtime profile not found)
    iPhone 13 mini (76F0847A-928B-468B-BEFA-30C113FE1076) (Shutdown) (unavailable, runtime profile not found)
    iPhone 13 (292691BB-6CBB-446A-8C6E-3717CBF6743F) (Shutdown) (unavailable, runtime profile not found)
    iPod touch (7th generation) (A3FC2789-D478-49F6-AC94-B19B31EB4D0A) (Shutdown) (unavailable, runtime profile not found)
    iPad Pro (9.7-inch) (D30AEEAF-AD21-4E74-8E84-F0343CD29818) (Shutdown) (unavailable, runtime profile not found)
    iPad (9th generation) (991E5793-DCE0-4CB4-9592-76184B485EF8) (Shutdown) (unavailable, runtime profile not found)
    iPad Air (4th generation) (B30D688F-445C-4EDB-8335-8F22E0722E5D) (Shutdown) (unavailable, runtime profile not found)
    iPad Pro (11-inch) (3rd generation) (5C16B037-7C80-47A5-8140-A7A86FC0F106) (Shutdown) (unavailable, runtime profile not found)
    iPad Pro (12.9-inch) (5th generation) (4155144C-A99D-419D-9E43-A9A4A90AADF9) (Shutdown) (unavailable, runtime profile not found)
    iPad mini (6th generation) (95A6C8DB-D92D-4C9F-A98C-C45C12F4641D) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.tvOS-15-0 --
    Apple TV (496021AD-7CBE-4066-BD98-4F2228E3B3C2) (Shutdown) (unavailable, runtime profile not found)
    Apple TV 4K (2nd generation) (52F94935-BF5F-4674-95AA-A7109A4F1A48) (Shutdown) (unavailable, runtime profile not found)
    Apple TV 4K (at 1080p) (2nd generation) (391BC61B-736B-4813-A79B-B77853C46D7F) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-8-0 --
    Apple Watch Series 5 - 40mm (BCDD2FB5-2800-42BB-9930-059470FEBA94) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch Series 5 - 44mm (C755A7E1-11C7-4EDA-A65A-EC387DF6220C) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch Series 6 - 40mm (3F881909-6164-4C59-ABF9-57EBA00CB4A7) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch Series 6 - 44mm (27E412D6-48D5-49AF-B8BC-4F6DF377A10B) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch Series 7 - 41mm (EBA1FC20-E49A-489C-B5CE-2F1E520850E7) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch Series 7 - 45mm (BC8A485D-0584-4FF4-B3DF-E1D7F618508C) (Shutdown) (unavailable, runtime profile not found)
== Device Pairs ==
859FB270-9F2B-4983-BDE2-0581280A71D5 (active, disconnected)
    Watch: Apple Watch Series 5 - 40mm (128BF6F5-67A8-4CF7-9933-52230F4D3420) (Shutdown)
    Phone: iPhone 12 Pro (690CB5DF-2C08-4626-B6E2-CA06DE2EAB76) (Shutdown)
08D84BCA-08EC-4BA4-B14E-E58A95D11F50 (active, disconnected)
    Watch: Apple Watch Series 5 - 44mm (7158CEAC-A03F-457A-9E15-1970B45ABDF1) (Shutdown)
    Phone: iPhone 12 Pro Max (7878D740-4C8B-449C-9FCD-4D447C1CEB19) (Shutdown)
800BAE8D-D62D-4F6C-9402-037C8C8B226E (active, disconnected)
    Watch: Apple Watch Series 6 - 40mm (C236EEB5-EFD8-4964-9EAF-D73F6A03AB2F) (Shutdown)
    Phone: iPhone 13 Pro (6FD5E64D-AF00-4DE7-87DF-1B5A5F281183) (Shutdown)
DFDC9C6E-7A7B-431D-A5C1-62261EF50A71 (active, disconnected)
    Watch: Apple Watch Series 6 - 44mm (27614137-418B-4C9B-A0BB-27896C7CA105) (Shutdown)
    Phone: iPhone 13 Pro Max (799D2F8A-D61E-4B55-BAA9-484B72B7299E) (Shutdown)
F80D337D-62FD-4323-B6B1-975D90CBE2B6 (active, disconnected)
    Watch: Apple Watch Series 7 - 41mm (48A30A25-1908-4F43-93F9-E0E583B071F1) (Shutdown)
    Phone: iPhone 13 mini (A1ACB282-48C5-4315-BA69-D5B47F2C6BA8) (Shutdown)
11B16153-5250-4ED3-8504-4C448CB30BAE (active, disconnected)
    Watch: Apple Watch Series 7 - 45mm (21873BAC-473C-4BC8-8DE5-57E4230E813C) (Shutdown)
    Phone: iPhone 13 (22CEE040-9CD5-4CEB-8D07-B8FCDC50392C) (Shutdown)
05330F67-0E7A-4204-AE87-4D5A34A58302 (unavailable)
    Watch: Apple Watch Series 5 - 40mm (BCDD2FB5-2800-42BB-9930-059470FEBA94) (Shutdown)
    Phone: iPhone 12 Pro (2BC23143-A33D-40EA-908F-7CED79BE7625) (Shutdown)
D5235203-6C6B-435D-A29E-B874A7748D4C (unavailable)
    Watch: Apple Watch Series 5 - 44mm (C755A7E1-11C7-4EDA-A65A-EC387DF6220C) (Shutdown)
    Phone: iPhone 12 Pro Max (642A444A-A96A-4FBB-A9DF-D4AD2004E198) (Shutdown)
6DC3695C-FFE6-42EF-95F5-F3F182B49A3D (unavailable)
    Watch: Apple Watch Series 6 - 40mm (3F881909-6164-4C59-ABF9-57EBA00CB4A7) (Shutdown)
    Phone: iPhone 13 Pro (15F0B979-1AC8-4B4A-9DAB-E4A1C7AB475B) (Shutdown)
907C7841-5BEB-4556-A324-589DB950196C (unavailable)
    Watch: Apple Watch Series 6 - 44mm (27E412D6-48D5-49AF-B8BC-4F6DF377A10B) (Shutdown)
    Phone: iPhone 13 Pro Max (3BC40DC6-7989-498B-979D-7A9DE4CF131F) (Shutdown)
EDC8A666-DB17-4A57-89EA-72DF87CCECB7 (unavailable)
    Watch: Apple Watch Series 7 - 41mm (EBA1FC20-E49A-489C-B5CE-2F1E520850E7) (Shutdown)
    Phone: iPhone 13 mini (76F0847A-928B-468B-BEFA-30C113FE1076) (Shutdown)
9C59DE46-68EC-4BEA-9678-FA9ECB45335F (unavailable)
    Watch: Apple Watch Series 7 - 45mm (BC8A485D-0584-4FF4-B3DF-E1D7F618508C) (Shutdown)
    Phone: iPhone 13 (292691BB-6CBB-446A-8C6E-3717CBF6743F) (Shutdown)

ここで表示された「Unavailable」というものが不要なシミューレーターです。

これを「~/Library/Developer/CoreSimulator/Devices」に入っているUUIDと同じものを1つ1つ消すのは辛いですが、コマンド一つで一気に消せます

不要なシミュレーターを一気に消す場合は以下のコマンドをターミナルに打ち込みます。

% xcrun simctl delete unavailable

実際に試した後に、もう一度確認コマンドを打つと。。。

% xcrun simctl delete unavailable
% xcrun simctl list
== Device Types ==
iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
iPhone SE (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE)
iPhone 7 (com.apple.CoreSimulator.SimDeviceType.iPhone-7)
iPhone 7 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus)
iPhone 8 (com.apple.CoreSimulator.SimDeviceType.iPhone-8)
iPhone 8 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus)
iPhone X (com.apple.CoreSimulator.SimDeviceType.iPhone-X)
iPhone Xs (com.apple.CoreSimulator.SimDeviceType.iPhone-XS)
iPhone Xs Max (com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max)
iPhone Xʀ (com.apple.CoreSimulator.SimDeviceType.iPhone-XR)
iPhone 11 (com.apple.CoreSimulator.SimDeviceType.iPhone-11)
iPhone 11 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro)
iPhone 11 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max)
iPhone SE (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-)
iPhone 12 mini (com.apple.CoreSimulator.SimDeviceType.iPhone-12-mini)
iPhone 12 (com.apple.CoreSimulator.SimDeviceType.iPhone-12)
iPhone 12 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro)
iPhone 12 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max)
iPhone 13 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro)
iPhone 13 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro-Max)
iPhone 13 mini (com.apple.CoreSimulator.SimDeviceType.iPhone-13-mini)
iPhone 13 (com.apple.CoreSimulator.SimDeviceType.iPhone-13)
iPod touch (7th generation) (com.apple.CoreSimulator.SimDeviceType.iPod-touch--7th-generation-)
iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
iPad mini 2 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-2)
iPad mini 3 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-3)
iPad mini 4 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-4)
iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)
iPad Pro (9.7-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-)
iPad Pro (12.9-inch) (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro)
iPad (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--5th-generation-)
iPad Pro (12.9-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-)
iPad Pro (10.5-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-)
iPad (6th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--6th-generation-)
iPad (7th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-)
iPad Pro (11-inch) (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch-)
iPad Pro (12.9-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-)
iPad Pro (11-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-)
iPad Pro (12.9-inch) (4th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-generation-)
iPad mini (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-mini--5th-generation-)
iPad Air (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-)
iPad (8th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--8th-generation-)
iPad (9th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation)
iPad Air (4th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air--4th-generation-)
iPad Pro (11-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation)
iPad Pro (12.9-inch) (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation)
iPad mini (6th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation)
Apple TV (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p)
Apple TV 4K (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K)
Apple TV 4K (at 1080p) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p)
Apple TV 4K (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-4K)
Apple TV 4K (at 1080p) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-1080p)
Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)
Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)
Apple Watch Series 2 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-38mm)
Apple Watch Series 2 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm)
Apple Watch Series 3 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-38mm)
Apple Watch Series 3 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-42mm)
Apple Watch Series 4 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm)
Apple Watch Series 4 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm)
Apple Watch Series 5 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm)
Apple Watch Series 5 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm)
Apple Watch SE - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-40mm)
Apple Watch SE - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-44mm)
Apple Watch Series 6 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-40mm)
Apple Watch Series 6 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-44mm)
Apple Watch Series 7 - 41mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-41mm)
Apple Watch Series 7 - 45mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-45mm)
== Runtimes ==
iOS 15.2 (15.2 - 19C51) - com.apple.CoreSimulator.SimRuntime.iOS-15-2
tvOS 15.2 (15.2 - 19K50) - com.apple.CoreSimulator.SimRuntime.tvOS-15-2
watchOS 8.3 (8.3 - 19S51) - com.apple.CoreSimulator.SimRuntime.watchOS-8-3
== Devices ==
-- iOS 15.2 --
    iPhone 8 (CC5933AF-6D57-401A-A6A6-E4B1CC0E492C) (Shutdown)
    iPhone 8 Plus (C1DF6130-F5DC-4DAB-9750-1CF7FB5697E4) (Shutdown)
    iPhone 11 (2C1BE46A-98FF-43CF-90E9-34DD6ED459BD) (Shutdown)
    iPhone 11 Pro (06942677-F4E9-4B81-9E9F-DBCC33A55AC4) (Shutdown)
    iPhone 11 Pro Max (CD7AD085-85A4-4CCB-898A-11954E979B1B) (Shutdown)
    iPhone SE (2nd generation) (C7971E3D-9F55-406A-B6A0-AFDB8B37DB7D) (Shutdown)
    iPhone 12 mini (010F150A-209E-4F9F-916F-656EBF484B09) (Shutdown)
    iPhone 12 (4BE92B8B-C971-4C7A-A28B-809B6C66170E) (Shutdown)
    iPhone 12 Pro (690CB5DF-2C08-4626-B6E2-CA06DE2EAB76) (Shutdown)
    iPhone 12 Pro Max (7878D740-4C8B-449C-9FCD-4D447C1CEB19) (Shutdown)
    iPhone 13 Pro (6FD5E64D-AF00-4DE7-87DF-1B5A5F281183) (Shutdown)
    iPhone 13 Pro Max (799D2F8A-D61E-4B55-BAA9-484B72B7299E) (Shutdown)
    iPhone 13 mini (A1ACB282-48C5-4315-BA69-D5B47F2C6BA8) (Shutdown)
    iPhone 13 (22CEE040-9CD5-4CEB-8D07-B8FCDC50392C) (Shutdown)
    iPod touch (7th generation) (4B932B71-D422-4E0F-8C47-E18D319CB8FD) (Shutdown)
    iPad Pro (9.7-inch) (C65F544E-A069-4A85-92E8-E2A10436B71D) (Shutdown)
    iPad (9th generation) (A26325AE-9345-4D04-8921-826E7C8E9FB4) (Shutdown)
    iPad Air (4th generation) (56AD20D4-24FA-4FE2-9AB6-B859C7161E79) (Shutdown)
    iPad Pro (11-inch) (3rd generation) (A451E3B9-B526-45DD-8250-835D4DB959FF) (Shutdown)
    iPad Pro (12.9-inch) (5th generation) (B53E5596-2E35-432F-AFCE-B8104B4CAB6C) (Shutdown)
    iPad mini (6th generation) (14C660D0-76D9-41F8-88B1-2E42DCFAFF00) (Shutdown)
-- tvOS 15.2 --
    Apple TV (4D09ACDF-4006-406E-B4D6-7FE548B8013D) (Shutdown)
    Apple TV 4K (2nd generation) (82104811-3776-40A7-BEF5-0A0DF77E8524) (Shutdown)
    Apple TV 4K (at 1080p) (2nd generation) (05C38E65-CEDD-4BAD-B180-4C1C076C2160) (Shutdown)
-- watchOS 8.3 --
    Apple Watch Series 5 - 40mm (128BF6F5-67A8-4CF7-9933-52230F4D3420) (Shutdown)
    Apple Watch Series 5 - 44mm (7158CEAC-A03F-457A-9E15-1970B45ABDF1) (Shutdown)
    Apple Watch Series 6 - 40mm (C236EEB5-EFD8-4964-9EAF-D73F6A03AB2F) (Shutdown)
    Apple Watch Series 6 - 44mm (27614137-418B-4C9B-A0BB-27896C7CA105) (Shutdown)
    Apple Watch Series 7 - 41mm (48A30A25-1908-4F43-93F9-E0E583B071F1) (Shutdown)
    Apple Watch Series 7 - 45mm (21873BAC-473C-4BC8-8DE5-57E4230E813C) (Shutdown)
== Device Pairs ==
859FB270-9F2B-4983-BDE2-0581280A71D5 (active, disconnected)
    Watch: Apple Watch Series 5 - 40mm (128BF6F5-67A8-4CF7-9933-52230F4D3420) (Shutdown)
    Phone: iPhone 12 Pro (690CB5DF-2C08-4626-B6E2-CA06DE2EAB76) (Shutdown)
08D84BCA-08EC-4BA4-B14E-E58A95D11F50 (active, disconnected)
    Watch: Apple Watch Series 5 - 44mm (7158CEAC-A03F-457A-9E15-1970B45ABDF1) (Shutdown)
    Phone: iPhone 12 Pro Max (7878D740-4C8B-449C-9FCD-4D447C1CEB19) (Shutdown)
800BAE8D-D62D-4F6C-9402-037C8C8B226E (active, disconnected)
    Watch: Apple Watch Series 6 - 40mm (C236EEB5-EFD8-4964-9EAF-D73F6A03AB2F) (Shutdown)
    Phone: iPhone 13 Pro (6FD5E64D-AF00-4DE7-87DF-1B5A5F281183) (Shutdown)
DFDC9C6E-7A7B-431D-A5C1-62261EF50A71 (active, disconnected)
    Watch: Apple Watch Series 6 - 44mm (27614137-418B-4C9B-A0BB-27896C7CA105) (Shutdown)
    Phone: iPhone 13 Pro Max (799D2F8A-D61E-4B55-BAA9-484B72B7299E) (Shutdown)
F80D337D-62FD-4323-B6B1-975D90CBE2B6 (active, disconnected)
    Watch: Apple Watch Series 7 - 41mm (48A30A25-1908-4F43-93F9-E0E583B071F1) (Shutdown)
    Phone: iPhone 13 mini (A1ACB282-48C5-4315-BA69-D5B47F2C6BA8) (Shutdown)
11B16153-5250-4ED3-8504-4C448CB30BAE (active, disconnected)
    Watch: Apple Watch Series 7 - 45mm (21873BAC-473C-4BC8-8DE5-57E4230E813C) (Shutdown)
    Phone: iPhone 13 (22CEE040-9CD5-4CEB-8D07-B8FCDC50392C) (Shutdown)

Unavailable」の項目が全て消えているのがわかります。

Xcodeをバージョンアップした際は必ず実行するようにしましょう!

さいごに

ていうか、バージョンアップしたら勝手に消してくれよ。。。

おすすめ参考書

参考

Xcode の古いシミュレータを削除して Mac のディスクを節約
Mac Book Air で Xcode を使っていると、すぐにディスク不足になってしまいます。 消費量を調べてみると、使わなくなった古い iOS シミュレータが残ったままになっていたので 掃除方法を調べてみたのですがググっても情報が少なか...

コメント

タイトルとURLをコピーしました