Jeśli to Twój pierwszy test, w sekcji iOS kliknij Rozpocznij. Jeśli wcześniej przeprowadzono test, kliknij Run a Test (Przeprowadź test), a następnie wybierz Run an XCTest (Przeprowadź XCTest).
Kliknij Przeglądaj i znajdź utworzony plik .zip.
Zaznacz pole obok każdego urządzenia, wersji, orientacji i ustawień regionalnych, w przypadku których chcesz przeprowadzić test.
(Opcjonalnie) Aby łatwiej identyfikować i znajdować macierze testów w Firebasekonsoli, możesz dodać do nich etykietę, wpisując jej nazwę w polu Etykieta macierzy testów (opcjonalnie).
Kliknij Rozpocznij testy.
Test pętli gry
Na stronie Test Lab w Firebase konsoli kliknij Przeprowadź pierwszy test > Przeprowadź test pętli gry na iOS.
W sekcji Prześlij aplikację kliknij Przeglądaj, a następnie wybierz plik IPA aplikacji (jeśli jeszcze tego nie zrobisz, wygeneruj plik IPA
dla swojej aplikacji).
(Opcjonalnie) Aby łatwiej identyfikować i znajdować macierze testowe w Firebasekonsoli, możesz dodać do nich etykietę, wpisując jej nazwę w polu Etykieta macierzy testowej (opcjonalnie).
(Opcjonalnie) Jeśli chcesz uruchomić kilka pętli (czyli scenariuszy) naraz lub wybrać konkretne pętle do uruchomienia, wpisz numery pętli w polu Scenariusze.
Na przykład po wpisaniu „1–3, 5” Test Lab odtworzy pętle 1, 2, 3 i 5.
Domyślnie (jeśli nie wpiszesz niczego w polu Scenariusze)Test Lab uruchamia tylko pętlę 1.
W sekcji Urządzenia wybierz co najmniej 1 urządzenie fizyczne, na którym chcesz przetestować aplikację, a następnie kliknij Rozpocznij testy.
Krok 3. Sprawdzanie wyników testu
Po rozpoczęciu testu automatycznie przekierujemy Cię na stronę z wynikami.
Przeprowadzenie testów może potrwać kilka minut w zależności od liczby wybranych konfiguracji i czasu oczekiwania na wynik testu. Po przeprowadzeniu testów możesz sprawdzić ich wyniki. Więcej informacji o interpretowaniu wyników testu znajdziesz w sekcji Analizowanie wyników Firebase Test Lab.
[null,null,["Ostatnia aktualizacja: 2025-08-16 UTC."],[],[],null,["\u003cbr /\u003e\n\nThis guide describes how to run iOS tests using the Firebase console.\n\nStep 1. Create a Firebase project\n\nIf you haven't yet, go to the [Firebase console](https://console.firebase.google.com/)\nand create a new Firebase project.\n| **Note:** If you're working on a shared Firebase project, you'll need to have ownership or edit permissions for the project.\n\nStep 2. Upload and run your test \n\nXCTest\n\n1. Open Test Lab in the [Firebase console](https://console.firebase.google.com/project/_/testlab).\n\n2. If it's your first test, click **Get Started** under iOS. If you\n previously ran a test, click **Run a Test** , and then select\n **Run an XCTest**.\n\n3. Click **Browse** , and find the `.zip` file you\n created.\n\n4. Check the box for each device, version, orientation, and locale you'd like to\n test against.\n\n5. (Optional) To help you identify and locate your test matrices in the\n Firebase console, you can add a label to your test matrix by entering a\n label name in the **Test matrix label (optional)** field.\n\n6. Click **Start Tests**.\n\nGame Loop test\n\n1. On the Test Lab page of the [Firebase console](https://console.firebase.google.com/project/_/testlab),\n click **Run Your First Test \\\u003e Run an iOS Game Loop**.\n\n2. In the **Upload App** section, click **Browse** , then select your app's\n IPA file (if you haven't already, [generate an IPA file](/docs/test-lab/ios/run-game-loop-test#package-app)\n for your app).\n\n3. (Optional) To help you identify and locate your test matrices in the\n Firebase console, you can add a label to your test matrix by entering\n a label name in the **Test matrix label (optional)** field.\n\n4. (Optional) If you want to run multiple loops (aka scenarios) at a time or\n select specific loops to run, enter the loop numbers in the **Scenarios**\n field.\n\n For example, when you enter \"1-3, 5\", Test Lab runs loops 1, 2, 3, and 5.\n By default (if you don't enter anything in the **Scenarios** field),\n Test Lab only runs loop 1.\n5. In the **Devices** section, select one or more physical devices you want to\n test your app on, then click **Start Tests**.\n\nStep 3. Investigate your test results\n\nWhen the test starts, you're automatically redirected to the test results page.\nTests can take a few minutes to run, depending on the number of different\nconfigurations you have selected and the test timeout duration set for your\ntests. After your tests have run, you can review test results. See\n[Analyzing Firebase Test Lab Results](/docs/test-lab/ios/analyzing-results) to learn more\nabout how to interpret the test results."]]