File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,20 +70,21 @@ jobs:
7070
7171 # Build WDA using xcodebuild without signing (safe for CI)
7272 echo "Building WebDriverAgentRunner..."
73- xcodebuild -project "$WDA_DIR/WebDriverAgent.xcodeproj" \
73+ xcodebuild build-for-testing
74+ -project "$WDA_DIR/WebDriverAgent.xcodeproj" \
7475 -scheme WebDriverAgentRunner \
7576 -destination "id=$SIMULATOR_ID" \
7677 CODE_SIGNING_ALLOWED=NO \
77- build-for-testing
78+ -derivedDataPath /Users/runner/Library/Developer/Xcode/DerivedData/WebDriverAgent
7879
7980 # Verify build output
80- echo "Looking for WDA build output..."
81- WDA_APP=$(find "$DERIVED_DATA" -type d -name "WebDriverAgentRunner-Runner.app" | head -n 1)
82- if [ -z "$WDA_APP" ]; then
83- echo "::error ::Failed to locate built WebDriverAgentRunner-Runner.app"
84- exit 1
85- fi
86- echo "Found built WDA app at: $WDA_APP"
81+ # echo "Looking for WDA build output..."
82+ # WDA_APP=$(find "$DERIVED_DATA" -type d -name "WebDriverAgentRunner-Runner.app" | head -n 1)
83+ # if [ -z "$WDA_APP" ]; then
84+ # echo "::error ::Failed to locate built WebDriverAgentRunner-Runner.app"
85+ # exit 1
86+ # fi
87+ # echo "Found built WDA app at: $WDA_APP"
8788
8889 # Install app to simulator
8990 echo "Installing WDA app to simulator $SIMULATOR_ID..."
You can’t perform that action at this time.
0 commit comments