When I tried sample AVCAM swift with Xcode Version 9.0 beta 5 (9M202q). I found errors.
Undefined symbols for architecture x86_64: \"__T0So22AVC
Try to add AVFoundation to linked frameworks (Target -> Build Phases -> Link Binary with Libraries)