We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aa25f8 commit 481aff4Copy full SHA for 481aff4
1 file changed
Core/Sources/XcodeInspector/XcodeInspector.swift
@@ -213,10 +213,10 @@ public final class XcodeAppInstanceInspector: AppInstanceInspector {
213
observeFocusedWindow()
214
observeAXNotifications()
215
216
- if !(focusedWindow is WorkspaceXcodeWindowInspector) {
217
- // Sometimes the focused window may note be ready on app launch.
218
- Task {
219
- try await Task.sleep(nanoseconds: 2_000_000_000)
+ Task {
+ try await Task.sleep(nanoseconds: 3_000_000_000)
+ // Sometimes the focused window may not be ready on app launch.
+ if !(focusedWindow is WorkspaceXcodeWindowInspector) {
220
221
}
222
0 commit comments