Does Update run on iOS while game is minimized?

The first part of this question is in the topic. also, to specify, I’m making a tower defense. I need resources to generate while the app is closed.

No, nothing runs when the game is closed.