You can build a back-end for an iOS app with whatever you want, although I’m pretty biased toward Elixir/Phoenix.
LiveView is amazing but it seems it is coupled tightly with HTML (for now). Phoenix Channels seems like a great way to build a real-time back-end, and there are Swift clients out there.