• Xcode 9中模拟器的位置


    Xcode 9中模拟器的位置 /Users/username/Library/Developer/CoreSimulator/Devices

    1. 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)

    2. 3

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

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

    3. 4

      5. 因此,Application目录在:

      /Users/username/Library/Developer/CoreSimulator/Devices/D2A94C2D-3216-4737-A502-5B64B38F6124/data/Containers/Data/Application/

  • 相关阅读:
    ASP.NET Web API 2 之文件下载
    Windows 查看某个端口号是否被占用
    C# 数据类型之 String(字符串)
    数据表对应关系(一对一、一对多、多对多)
    嫁给程序员的好处,你get到了吗?
    ASP.NET Web API 2 之 HttpRequestMessage 对象
    C# 使用 log4net 记录日志
    Chrome 浏览器快捷键
    C# 获取程序运行时路径
    SpringBoot整合Pagehelper分页插件
  • 原文地址:https://www.cnblogs.com/linganxiong/p/9076964.html
Copyright © 2020-2023  润新知