To generate the API Swift file, first checkout the correct ref, e.g., develop or update-neovim. Then, ./bin/generate_sources.sh