Closed markst closed 2 years ago
If I create a example shell task:
{
"version": "2.0.0",
"options": {
"env": {
"derivedDataPath": "~/Library/Developer/Xcode/DerivedData/xx"
}
},
"tasks": [
{
"label": "echo",
"type": "shell",
"command": "echo",
"args": [
"-configuration",
"Debug",
"-sdk",
"${command:ios-debug.targetSdk}",
"-derivedDataPath",
"${derivedDataPath}",
"-allowProvisioningUpdates",
"ARCHS=arm64"
]
},
the output is as follows:
-configuration Debug -sdk iphonesimulator -derivedDataPath ~/Library/Developer/Xcode/DerivedData/xx -allowProvisioningUpdates ARCHS=arm64
Oh I see, this is due to process
type rather than being a vscode-ios-debug
related issue.
I'd like use Environment Variables in my args array such as:
But the xcode build command doesn't replace the variables: