Xcode 9.4 fails to record simulator video when Xcode 10b1 is installed

Originator:jp
Number:rdar://41067464 Date Originated:12-Jun-2018 04:55 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9.4 (9F1027a)
Classification:Serious Bug Reproducible:Always
 
Summary:
With Xcode 9.4 xcode-selected, the attached steps fail to record a video. It writes an empty file and just hangs. There is in fact an iOS 11.4 Simulator running and booted

Steps to Reproduce:
$ xcrun simctl io booted recordVideo out.mp4
^C
Recording completed.
$ size out.mp4
  0B  out.mp4
$ xcrun simctl list | grep Booted
    iPhone 8 Plus (B943DBC5-8F90-4AC2-BB50-8798D61CDC1B) (Booted)
    Phone: iPhone 8 Plus (B943DBC5-8F90-4AC2-BB50-8798D61CDC1B) (Booted)
$ ls /Applications | grep Xcode
Xcode-10.app
Xcode-8.3.3.app
Xcode-9.1.app
Xcode-9.2.app
Xcode-9.3.1.app
Xcode-9.4.app
Xcode-9.app
Xcode.app
$ readlink /Applications/Xcode.app
/Applications/Xcode-10.app
$ xcode-select -p
/Applications/Xcode-9.4.app/Contents/Developer

Expected Results:
Video gets recorded (as happened prior to installing Xcode 10b1).

Actual Results:
Empty file gets written to output location.

Version:
Xcode 9.4 (9F1027a)

Notes:
Running macOS 10.13.5 (17F77)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!