I'm trying to create a for loop but can't seem to understand how to get rid of this error

My code:

```
for i:CGFloat in 0 ..< 2 + self.frame.size.width / (movingGroundTexture.size().width) { 
        let sprite = SKSpriteNode(texture: movingGroundTexture)
        sprite.zPosition = 0
        sprite.anchorPoint = CGPointMake(0, 0)
        sprite.position = CGPointMake(i * sprite.size.width, 0)
        addChild(sprite)
    }

```

The error is on `for` line on `self.frame.size.width` and `(movingGroundTexture.aize().width)`