Set a DerivedData path for iOS test builds. (GH-118621)

This commit is contained in:
Russell Keith-Magee 2024-05-06 11:58:14 +08:00 committed by GitHub
parent dd37e85518
commit 1506d5adc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2067,7 +2067,7 @@ testios:
# Run the test suite for the Xcode project, targeting the iOS simulator.
# If the suite fails, touch a file in the test folder as a marker
if ! xcodebuild test -project $(XCFOLDER)/iOSTestbed.xcodeproj -scheme "iOSTestbed" -destination "platform=iOS Simulator,name=iPhone SE (3rd Generation)" -resultBundlePath $(XCRESULT) ; then \
if ! xcodebuild test -project $(XCFOLDER)/iOSTestbed.xcodeproj -scheme "iOSTestbed" -destination "platform=iOS Simulator,name=iPhone SE (3rd Generation)" -resultBundlePath $(XCRESULT) -derivedDataPath $(XCFOLDER)/DerivedData ; then \
touch $(XCFOLDER)/failed; \
fi