xcodebuild: error: Unknown build action
<p>When I'm try to build from the command line:</p>

<pre><code>xcodebuild -target -project myApp.xcodeproj -scheme myApp -sdk iphoneos -configuration Release archive -archivePath $PWD/build/DDCiOSClient.xcarchive
</code></pre>

<p>I'm getting this error:</p>

<pre><code>User defaults from command line:
    IDEArchivePathOverride = /depot/myApp/myApp.xcarchive

Build settings from command line:
    SDKROOT = iphoneos9.3

xcodebuild: error: Unknown build action 'myApp.xcodeproj'.
</code></pre>

<p>Any of you knows why of this error?</p>