I seem to get this error in my own setup as well as the demo using Xcode with objective C. It all is turned to warnings when I try again with swift but the app itself won’t connect to the FLIR One Pro.
The Mach-O error can occur when attempting to build and run on a simulated device rather than a physical one in Xcode. Currently, the FLIR One SDK doesn’t run on simulated devices in Xcode so if that is the case please try connecting to a physical device and running on there.
Alternatively, sometimes this error can occur due to bitcode being enabled. To turn off bitcode, go to your project’s root/setting file and find your way to the “Build Settings” tab. Use the search bar to find “Bitcode” and change the setting to “No”.
As for Swift, unfortunately, the FLIR One SDK does not currently have Swift support. There are some other members in the community here that may be able to help you.
Hopefully, this helps, please keep us posted on your progress.