There was a useful comment on how to do this using a combination of xcodebuild and scripting to extract the ..swiftinterface files: