Using Xcode 8.2.1 (Mac OS 10.12.3) and starting with a fresh Swift project, I followed the setup for Objective C and included the bridging file as well as setting up libLeap.dylib in target > build Phases > Copy Files. The app won't compile and I get the error:
/Users/me/Desktop/myapp/myapp/LeapMath.h:12:10: error: 'cmath' file not found
#include <cmath>
^
<unknown>:0: error: failed to import bridging header '/Users/me/Desktop/myapp/myapp/myapp-Bridging-Header.h'
In Build Settings for the target the C++ Language Dialect is set to GNU++11 ... and the C++ Standard Library is set to libc++ ...
Is there any sample using current OS and Xcode and Swift 3?