Xcode projects allow you to mix Objective C, C++ and Swift in the same project based on these rules:
.m files can contain a mix of ObjC and C
.mm files can contain a mix of ObjC and C++
.swift files can contain only Swift
But you can have both .swift and .mm files in the same project. You need two things: A Bridging Header file that Swift uses to access the ObjC/C++ files. You also have to generate a -Swift.h file so that your ObjC/C++ files can talk the other way.
The current plugin.mm file is heavily organized around C++ calling ObjC methods.
Engineering is working on a Swift based “App” project but it’s not ready yet.
Rob