kdoctor used to be run automatically when i opened...
# compose-ios
c
kdoctor used to be run automatically when i opened a kmp project for the first time. how can i invoke it again. i dont have it installed through brew... but it definitely ran kdoctor at some point
c
I think this was a feature of Fleet.
z
In Fleet it runs every time you open a KMP project, but by default it only pops up if something went wrong with the checks. So you don't see it when everything's fine.
c
interesting. it didn't show when i opened a new project. but i installed kdoctor via brew and brew kdoctor showed issues. I wonder if its worth filing a feature request to see if kdoctor can be invoked as an action in fleet. lol either way. i just re-downloaded the kmp template and now I don't get some weird "xcode cannot be found" issue or something.
z
You can set this in
settings.json
to force preflight checks to always appear (though they'll probably get a little annoying this way, so remember that you can turn them off 😄)
Copy code
"ff.alwaysShowKdoctor": true,
c
NOICE. Thanks! I don't know what it was about my project. But i edited something that prevented ios builds from running. and i couldn't figure it out. but like i said. i only added like two lines to my app. so I just deleted that project and started from scratch and it worked again. Got up to 800% cpu usage when opening up a project in fleet again, so I need to go ahead and file a bug on that too. 😅
z
Out of curiosity, why does 800% CPU usage strike you as a problem? Are you assuming that it's doing unnecessary work, or would you rather have it run fewer things in parallel and take longer?
c
Fleet is the only app on my m3 macbook that causes the fans to go absolutely wild
Like its legit going to take off. lmao. its what android studio used to do to intel macbooks like 10 years ago. tbh. i didn't even realize the 14 inch macbook had fans until i opened up the template from kmp.jetbrains.com. opened it in fleet. and then after smart mode (lightning bolt icon) is doing its thing. it just goes absolutely wild.
but it happens... every. time. I download a new template from kmp.jetbrains.com like once a week? (just playing with toy/poc apps) and every version of fleet for like the past 6 months + has had that same behavior. 🤷
z
We're tracking this on this issue, realized it was internal for now so I made it public + linked to this thread, thanks for the detailed feedback!
c
thanks. im surprised it seems to only be a macbook thing. can't believe its been almost a year!
z
Probably not just MacBooks, but it's the easy and obvious thing to report 😀
👍 1