Run a test locally
Stay organized with collections
Save and categorize content based on your preferences.
This guide describes how to run an iOS test locally so you can quality check
the test's behavior before running it in Firebase Test Lab.
Run an XCTest locally
You can verify that Test Lab will be able to install your app and tests by
running locally with a USB-connected device as follows:
xcodebuild test-without-building \
-xctestrun "Derived Data/Build/Products/YourApp.xctestrun" \
-destination id=your-phone-id
Run a Game Loop test locally
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-15 UTC.
[null,null,["Last updated 2025-08-15 UTC."],[],[],null,["\u003cbr /\u003e\n\nThis guide describes how to run an iOS test locally so you can quality check\nthe test's behavior before running it in Firebase Test Lab.\n\nRun an XCTest locally\n\nYou can verify that Test Lab will be able to install your app and tests by\nrunning locally with a USB-connected device as follows: \n\n```\nxcodebuild test-without-building \\\n -xctestrun \"Derived Data/Build/Products/YourApp.xctestrun\" \\\n -destination id=your-phone-id\n```\n\nRun a Game Loop test locally"]]