当前位置:   article > 正文

Xcode 7中模拟器的位置_xcode模拟器位置

xcode模拟器位置
    1. 1

      1. 在Xcode 7中, 模拟器的位置改变为:

      /Users/username/Library/Developer/CoreSimulator/Devices

      在此目录下,有许多文件夹这就是模拟器啦:



    2. 2. 在Terminal中使用如下命令:

      xcrun simctl list


      3. 显示如下结果:

      == 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 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)

      iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)

      iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)

      iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)

      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 Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)

      iPad Pro (com.apple.CoreSimulator.SimDeviceType.iPad-Pro)

      Apple TV 1080p (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p)

      Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)

      Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)

      == Runtimes ==

      iOS 8.4 (8.4 - 12H141) (com.apple.CoreSimulator.SimRuntime.iOS-8-4)

      iOS 9.3 (9.3 - 13E230) (com.apple.CoreSimulator.SimRuntime.iOS-9-3)

      tvOS 9.2 (9.2 - 13Y227) (com.apple.CoreSimulator.SimRuntime.tvOS-9-2)

      watchOS 2.2 (2.2 - 13V143) (com.apple.CoreSimulator.SimRuntime.watchOS-2-2)

      == Devices ==

      -- iOS 8.4 --

          iPhone 4s (25321B43-CAE6-45F8-BC1B-2E2ABB5861C6) (Shutdown)

          iPhone 5 (3C8D1CC0-8B34-4C52-9A6A-4D534D218A92) (Shutdown)

          iPhone 5s (3E1776A5-AE75-429D-9FE9-5BFA11AEDB68) (Shutdown)

          iPhone 6 (A8FF7DA0-7C64-4C92-B4B8-B058E1D458F0) (Shutdown)

          iPhone 6 Plus (4F2F049F-C76B-4645-9F10-57C83495D21D) (Shutdown)

          iPad 2 (2C12E319-837C-4E79-A94B-955803E4EEE0) (Shutdown)

          iPad Retina (636A2886-D908-47D3-9BAC-3D2F06624A3D) (Shutdown)

          iPad Air (EACE53E0-18BE-4473-800B-38F56A43C05A) (Shutdown)

      -- iOS 9.3 --

          iPhone 4s (20664AEF-DF54-4352-AC5D-919F7636A06B) (Shutdown)

          iPhone 5 (8228673D-F67C-4DC8-917F-E14A6F689BF7) (Shutdown)

          iPhone 5s (355380E0-505B-42E3-8E97-91CA3B1067DD) (Shutdown)

          iPhone 6 (E2011F00-EFAE-4EFC-8042-B3661B7F1D88) (Shutdown)

          iPhone 6 Plus (09F497FC-7E13-41ED-8963-E07E2644AEED) (Shutdown)

          iPhone 6s (60B8F826-8241-498A-A180-35C3F4F59562) (Booted)

          iPhone 6s Plus (22DEC7A2-6F15-404B-B04D-D0F07017989B) (Shutdown)

          iPad 2 (6F35FADA-5605-4194-8B94-2BC23B392773) (Shutdown)

          iPad Retina (9DF9420D-7D39-4BAA-8334-8F73499FE3D1) (Shutdown)

          iPad Air (B16082E3-37D7-490A-9B35-11AD71C1D72E) (Shutdown)

          iPad Air 2 (4E052016-B4A3-4E26-BF0B-480DC262874D) (Shutdown)

          iPad Pro (6454D2F5-2D9D-4DC9-B5EC-B883B080060A) (Shutdown)

      -- tvOS 9.2 --

          Apple TV 1080p (DC2F1D00-3E26-4131-8A0D-8297E4EB3BD9) (Shutdown)

      -- watchOS 2.2 --

          Apple Watch - 38mm (79B5C404-8769-4141-ABEC-36AAE568C6BF) (Shutdown)

          Apple Watch - 42mm (C4CEE5FA-8CBC-4E1A-BC70-AC881CC904D8) (Shutdown)

      -- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-9-0 --

          iPhone 4s (6C0CE7D4-C0AD-4225-B69A-F4A53E37685E) (Shutdown) (unavailable, runtime profile not found)

          iPhone 5 (E7866FED-0319-451D-A29D-935D8D60BF88) (Shutdown) (unavailable, runtime profile not found)

          iPhone 5s (02410E0D-0D52-4C82-BB7A-33B63E6A8F54) (Shutdown) (unavailable, runtime profile not found)

          iPhone 6 (DBFE3475-19C8-4116-9180-26603BFB8122) (Shutdown) (unavailable, runtime profile not found)

          iPhone 6 Plus (7F8E3020-777B-4EEB-8479-042A4CB1F88B) (Shutdown) (unavailable, runtime profile not found)

          iPhone 6s (EAF5EC43-EF26-4333-B41C-8A491CBB65A2) (Shutdown) (unavailable, runtime profile not found)

          iPhone 6s Plus (E7705B34-CF7F-444A-93DB-65EDEB70ED38) (Shutdown) (unavailable, runtime profile not found)

          iPad 2 (1C7B2CCE-CDFD-4FD8-8F33-0EAAFFBB71D1) (Shutdown) (unavailable, runtime profile not found)

          iPad Retina (1580CDA4-6722-4DFB-BBFA-042161F9A966) (Shutdown) (unavailable, runtime profile not found)

          iPad Air (7528664B-0C8E-4439-8995-D6576493435A) (Shutdown) (unavailable, runtime profile not found)

          iPad Air 2 (24EB3296-8FFC-4AA7-9D4C-48BBEE0061F3) (Shutdown) (unavailable, runtime profile not found)

      -- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-2-0 --

          Apple Watch - 38mm (80209CCA-E27D-4EEE-A0E6-5025435858B9) (Shutdown) (unavailable, runtime profile not found)

          Apple Watch - 42mm (C035435D-5C5E-4752-B656-F82CFE7D85B5) (Shutdown) (unavailable, runtime profile not found)

      == Device Pairs ==

      F9D42019-3393-4E7C-BE30-256B2B167BE9 (active, disconnected)

          Watch: Apple Watch - 38mm (79B5C404-8769-4141-ABEC-36AAE568C6BF) (Shutdown)

          Phone: iPhone 6s (60B8F826-8241-498A-A180-35C3F4F59562) (Booted)

      20E5A7CA-5C41-4196-946B-5E8F2CD2D41B (active, disconnected)

          Watch: Apple Watch - 42mm (C4CEE5FA-8CBC-4E1A-BC70-AC881CC904D8) (Shutdown)

          Phone: iPhone 6s Plus (22DEC7A2-6F15-404B-B04D-D0F07017989B) (Shutdown)

      3C215654-BC08-4DF2-855F-327E0B7DA35F (unavailable)

          Watch: Apple Watch - 38mm (80209CCA-E27D-4EEE-A0E6-5025435858B9) (Shutdown)

          Phone: iPhone 6 (DBFE3475-19C8-4116-9180-26603BFB8122) (Shutdown)

      94BACED9-E187-4E30-B99C-6F67DDEE4FE8 (unavailable)

          Watch: Apple Watch - 42mm (C035435D-5C5E-4752-B656-F82CFE7D85B5) (Shutdown)

          Phone: iPhone 6 Plus (7F8E3020-777B-4EEB-8479-042A4CB1F88B) (Shutdown)


    3. 3

      4. 比如,iOS 9.3下,iPhone 6s 为:

      iPhone 6s (60B8F826-8241-498A-A180-35C3F4F59562) (Booted)

    4. 4

      5. 因此,Application目录在:

      /Users/username/Library/Developer/CoreSimulator/Devices/60B8F826-8241-498A-A180-35C3F4F59562/data/Containers/Data/Application/


声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/241953
推荐阅读
相关标签
  

闽ICP备14008679号