Use double quotes so variable gets expanded. (#17105)

This commit is contained in:
Edward Chen 2023-08-11 09:05:41 -07:00 committed by GitHub
parent ebaeda6c23
commit e7e974b23f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,6 +115,6 @@ stages:
cp "$(Pipeline.Workspace)/ios_packaging_artifacts_full/pod-archive-onnxruntime-c-$(ortPodVersion).zip" swift/
export ORT_IOS_POD_LOCAL_PATH="swift/pod-archive-onnxruntime-c-$(ortPodVersion).zip"
xcodebuild test -scheme onnxruntime -destination 'platform=iOS Simulator,id=${SIMULATOR_DEVICE_ID}'
xcodebuild test -scheme onnxruntime -destination "platform=iOS Simulator,id=${SIMULATOR_DEVICE_ID}"
rm swift/pod-archive-onnxruntime-c-$(ortPodVersion).zip
displayName: "Test Package.swift usage"