Steps:
- Add SwiftGen (https://github.com/SwiftGen/SwiftGen) as a dependency in Xcode -> Project -> Package Dependencies (just the executable).
- Remove
swiftgenas a library from the target underFrameworks, Libraries and Embedded Content(don't remove the package if Xcode says it's not used). - Add new run script phase in a
Build Phases:
# echo "Running SwiftGen script"