I would like to contribute to the iOS side of the MAVLink project. There is already a Swift example in the GitHub repository, but it is very outdated and only supports basic functionalities like arming and disarming. It does not allow sending raw MAVLink messages.
As the developer mentioned, mavlink-swift is outdated and does not support all the features available in the C++ implementation.
I decided to build MAVLink from scratch, and I have already done so, but it only exports mavsdk_server, which is essentially a basic gRPC language wrapper server.
To use MAVLink in Xcode, I generated Objective-C files using the command below. Now, I have mavsdk_server.xcframework along with Objective-C headers and .mm files. However, I am encountering a "mavlink.h" does not exist error.
python -m pymavlink.tools.mavgen --lang=Cpp --wire-protocol=2.0 --output=generated/include/mavlink/v2.0 message_definitions/v1.0/common.xml
Upon inspecting the Objective-C file output, I noticed that one of the files is trying to import mavlink.h, but the file does not exist. Can anyone help me figure out what I’m missing? I really want to run MAVLink on my iOS device and send raw messages through it.