I'm getting a warning when trying to build my project in Xcode 8. It uses a mix of Objective-C/C++ and Swift 3, and links against some dependencies (Cocoapods). The warning is:
ld: warning: Some object files have incompatible Objective-C category definitions. Some category metadata may be lost. All files containing Objective-C categories should be built using the same compiler.
Does anyone know why this might be happening or how to fix it?