Skip to content

Commit

Permalink
fix: killing macOS app before launch (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-kulik authored Dec 2, 2024
1 parent d6195f9 commit 8132086
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/xcodebuild/platform/device.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ local function launch_app(waitForDebugger, callback)
if waitForDebugger then
return macos.launch_and_debug(settings.appPath, finished)
else
return macos.launch_app(settings.appPath, finished)
vim.defer_fn(function()
macos.launch_app(settings.appPath, finished)
end, 300)
return nil
end
end

Expand Down

0 comments on commit 8132086

Please sign in to comment.