---
title: next()
framework: swift-package-manager
role: symbol
role_heading: Instance Method
path: swift-package-manager/documentation/packageplugin/pathlist/iterator/next()
---

# next()

Inherited from IteratorProtocol.next().

## Declaration

```swift
mutating func next() -> Path?
```
