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-10-30 UTC.
  
  
  
    
      [null,null,["Last updated 2025-10-30 UTC."],[],[]]