xcodebuild archive command failed
Hello, I would like to archive my project using a terminal command. The project compiles and archives successfully using the IDE, but I encounter the same error every time I attempt to use the 'xcodebuild' command
xcodebuild -workspace Project.xcworkspace -scheme ProjectScheme -sdk iphonesimulator -configuration Release -archivePath build/Project.xcarchive archive
P.S: it's working well with example project