iOSシミュレータの録画が面倒だったのでどうにかしてみた

7f2e0d6b54e2bd2a6527b9d468b1c4f6?s=47 huin
January 10, 2018

 iOSシミュレータの録画が面倒だったのでどうにかしてみた

2018/01/10にSmartNewsさんで行われた「「iOS 11 Programming」刊行記念 Night」(https://peaks.connpass.com/event/74553/) で発表したスライドです。

7f2e0d6b54e2bd2a6527b9d468b1c4f6?s=128

huin

January 10, 2018
Tweet

Transcript

  1. 4.

    4 What’s New in Xcode You can take a screenshot

    or a video recording of the simulator using the xcrun command-line utility.
  2. 15.

    15 γϛϡϨʔλҰཡͷදࣔ > xcrun simctl list
 
 == Device Types

    == == Runtimes == == Devices == -- iOS 10.3 — -- iOS 11.2 — iPhone X (2638D67D-7C6C-4BE7-893C-9A11DB294314) (Booted) iPhone 8 (D1152492-CA99-46FF-A828-9E7CD1E9B0FC) (Shutdown)
  3. 21.

    21

  4. 23.

    23 JSONͰදࣔͯ͠ύʔε͢Ε͹ىಈதͷσόΠεΛऔΓग़ͤΔʂ > xcrun simctl list —json { “devicetypes”: [

    … ], “runtimes”: [ … ], “devices”: { “iOS 11.2”: [ { “state”: “Booted”, “availability”: “(available)”, “name”: “iPhone X”, “udid”: “F421F28A-D26D-47D0-…”, } ] } }
  5. 25.

    25 Swift Package Manager ͷར༻ > mkdir simio && cd

    simio > swift package init —type executable > > swift package generate-xcodeproj
  6. 26.

    26

  7. 27.

    27