初始化提交

This commit is contained in:
2026-02-03 16:52:44 +08:00
commit d2f9806384
512 changed files with 65167 additions and 0 deletions

24
Scripts/ci/build-real.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
xcodebuild clean build-for-testing \
-project WebDriverAgent.xcodeproj \
-derivedDataPath $DERIVED_DATA_PATH \
-scheme $SCHEME \
-destination "$DESTINATION" \
CODE_SIGNING_ALLOWED=NO ARCHS=arm64
pushd $WD
# The reason why here excludes several frameworks are:
# - to remove test packages to refer to the device local instead of embedded ones
# XCTAutomationSupport.framework, XCTest.framewor, XCTestCore.framework,
# XCUIAutomation.framework, XCUnit.framework.
# This can be excluded only for real devices.
# - Xcode 16 started generating 5.9MB of 'Testing.framework', but it might not be necessary for WDA.
# - libXCTestSwiftSupport is used for Swift testing. WDA doesn't include Swift stuff, thus this is not needed.
zip -r $ZIP_PKG_NAME $SCHEME-Runner.app \
-x "$SCHEME-Runner.app/Frameworks/XC*.framework*" \
"$SCHEME-Runner.app/Frameworks/Testing.framework*" \
"$SCHEME-Runner.app/Frameworks/libXCTestSwiftSupport.dylib"
popd
mv $WD/$ZIP_PKG_NAME ./