在本機執行測試

本指南說明如何在本地執行 iOS 測試,以便在 Firebase Test Lab 中執行測試前,檢查測試行為的品質。

在本機執行 XCTest

如要確認 Test Lab 能否安裝應用程式和測試,請在本機執行下列操作,並透過 USB 連接裝置:

xcodebuild test-without-building \
    -xctestrun "Derived Data/Build/Products/YourApp.xctestrun" \
    -destination id=your-phone-id

在本機執行遊戲迴圈測試