Error: "minimum deployment target of iOS 15.5"

I'm trying to build a project from the command line but I get an error. I can build the project using xcode.

The project: https://github.com/boken-engine/boken-engine

The command:

xcodebuild -project BokenEngine.xcodeproj -sdk iphonesimulator15.5 -destination "OS=15.5"

The error:

/Users/josecelano/Documents/github/boken-engine/boken-engine/Sources/BokenEngine/Classes/AudioManager.swift:9:8: error: compiling for iOS 13.0, but module 'PathKit' has a minimum deployment target of iOS 15.5: /Users/josecelano/Documents/github/boken-engine/boken-engine/build/Release-iphonesimulator/PathKit.framework/Modules/PathKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
import PathKit
    ^

You have probably defined the deployment target in your project as 13.0. Change to 15.5.

Error: "minimum deployment target of iOS 15.5"
 
 
Q