Astryn Rift: Space Defense is a free iPhone tower defense game where your ship is the tower. You earn scrap from kills and upgrade weapons during a match, with cannons, beams, missiles, flame, frost and black-hole weapons. It has ship customization, a 10-planet campaign with guardian bosses and an endless mode called The Abyss. It requires iOS 15 or later and has in-app purchases that the developer describes as cosmetic and convenience only.
I'm a solo developer and I built a tower defense where the player's ship is the tower, with scrap upgrades mid-run and weapons to unlock.