Download issues

Trying to download swift on IPad, says not enough space for app.
Over 2 GB available still an issue.

The game is listed as 2.4GB in size, and it’s not unusual for apps to require more space than their total in order to decompress and overwrite files. I don’t know how iOS works in this regard, but I suspect you need more than 2GB free.