From afbe0837bab35e8ce948761fbc5f9e9e12de7859 Mon Sep 17 00:00:00 2001 From: Joseph Mattello Date: Wed, 4 Jan 2023 09:32:04 -0500 Subject: [PATCH] allow simulator to launch w/o pairing file Signed-off-by: Joseph Mattello --- AltStore/LaunchViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AltStore/LaunchViewController.swift b/AltStore/LaunchViewController.swift index 83e8c47e..5bf3eb4a 100644 --- a/AltStore/LaunchViewController.swift +++ b/AltStore/LaunchViewController.swift @@ -47,6 +47,7 @@ class LaunchViewController: RSTLaunchViewController, UIDocumentPickerDelegate override func viewDidAppear(_ animated: Bool) { super.viewDidAppear(true) + #if !targetEnvironment(simulator) start_em_proxy(bind_addr: Consts.Proxy.serverURL) guard let pf = fetchPairingFile() else { @@ -54,6 +55,7 @@ class LaunchViewController: RSTLaunchViewController, UIDocumentPickerDelegate return } start_minimuxer_threads(pf) + #endif } func fetchPairingFile() -> String? {