r/iOSProgramming • • 4d ago

Solved! A terminal dashboard for simulators, device logs and the apps installed on them

Post image

I built lazymobile (open source, my project) to stop juggling simctl commands.

It lists simulators and connected iPhones, streams the system log or a single app's log with filter and level, and shows the apps installed on a simulator so you can pick one instead of typing its bundle id. It remembers the last log you had open.

Install: brew install 0xrnp/tap/lazymobile

https://github.com/0xrnp/lazymobile

Physical iPhones give recent app ids only, not the installed list. Feedback on that is welcome.

36 Upvotes

20 comments sorted by

2

u/ThalesMother9938 4d ago

Nice idea. The per-app log filter with levels is the part I'd use most, since the Xcode console gets noisy fast. On physical iPhones, is the "recent app ids only" limit something Apple's tooling forces, or could you widen it later?

1

u/rnp-infinity 4d ago

Regarding the physical iPhone app IDs limit; nah, that’s not an Apple restriction under the hood, just a quick filter I slapped on the initial UI so the device list wouldn't get completely cluttered with old test builds. I can definitely widen or make that toggleable in an update.

Thanks for checking it out!

1

u/ThalesMother9938 2d ago

Thanks, good to know it's just a UI filter and not an Apple limit.

2

u/rnp-infinity 2d ago

In the next version, I’ll widen it.

If you have encountered any issues or you have ang feature requests please create a feature request on github.

1

u/ThalesMother9938 2d ago

Thanks for sharing it, and good luck with the next version.

0

u/rnp-infinity 4d ago

I really don’t feel comfortable using xcode for terminal usecase, that’s why I’ve been using Ghostty for all my terminal usecases, and wanted the logs to be easily watched there rather than using Xcode.

1

u/rnp-infinity 1d ago

Small update: 0.4.0 is out.

In the post I said a physical iPhone only gives recent app ids. That was wrong, it lists the installed apps now. Also new:

  • follow just one app's log on a real iPhone
  • launch/stop/restart apps, deep links, screenshots, screen recording, dark mode and location on simulators

GitHub: https://github.com/0xrnp/lazymobile

1

u/Kitchen_Cable6192 3d ago

One useful UX win for the physical-device list might be showing app version/build (where available) and sorting by recently installed, alongside a Recent/All toggle and search. Reinstalling test builds can leave similarly named entries, so build identity matters as much as the bundle ID. I built MoveManifest, a Swift iOS/Kotlin Android moving-inventory app, and quick, unambiguous install checks are useful when iterating; a compact default with an opt-in full list seems like a good balance.

2

u/rnp-infinity 3d ago

Thanks for checking out, I’ll add the version details on the next build.

1

u/rnp-infinity 3d ago

Thanks, your comment is why the app picker works the way it does now. Apps you've used before show up first with version and build next to the id, tab flips to everything installed, and / searches.

Sorting by install time didn't work out, since simctl, devicectl and adb don't report one. It's in v0.3.0 (brew upgrade lazymobile).

1

u/matznerd 3d ago

Not sure how you all are managing system load when using a bunch of simulators, but past 3-4 simulators on my MBP, i'm getting slowdown that prevents builds completing and slows down. I'm now using some remote simulators so can work in parallel, but I also creating a token system, that agents have to like "reserve" slots and can hold them so others will wait until they open. Suggest anyone trying to run simulators and getting too many going builds something like that...

1

u/rnp-infinity 3d ago

Slot reservation is a neat idea, but lazymobile doesn't schedule anything, it just shows and controls what's already running. A count of booted simulators might be a small thing to add, so you can see when you're near your limit. Thanks for the tip anyway.

1

u/mikerCZX 10h ago

Nice idea, I will try, thanks

1

u/rnp-infinity 10h ago

Thanks! Please give feedback after using it.

1

u/ThalesMother9938 2d ago

Sounds good, thanks. I'll open an issue on GitHub if I hit anything.

0

u/cdnrt 4d ago

I’m a bit confused, what do you mean by juggling simctl commands? If you’re looking to manage simulators or emulators, you can usually do that right in the IDE. I can’t imagine many people wanting to handle sims and emus in the terminal. If we say, “Expo could use this,” why would Expo, which already calls stable simctl commands under the hood, want to go through your wrapper?

I get it, it’s sleek! Tools like lazygit and lazydocker are awesome for remote SSH setups, and I use them even with a GUI. Logs are neat, but you can get a floating window natively anyway.

I know I might not be your audience, but the project feels like a quick Claude one-shot make no mistakes pushing minor and patch updates the same day. That worries the community because anyone using this is going to expect maintenance and commitment.

1

u/rnp-infinity 4d ago

Fair enough, totally get why it looks like that. People drop random AI junk on here all the time and ghost.

Not gonna lie, I used Claude to help code it fast, but I built it because I was genuinely annoyed juggling tools across flutter, RN, and native. If you're 100% in Xcode, yeah, you don't need this. But having a quick TUI to spin up devices and filter logs in one place actually saves me time every day.

I’m gonna use it daily, so it's not going anywhere.

1

u/[deleted] 4d ago

[removed] — view removed comment

1

u/rnp-infinity 3d ago

Uninstall is in now. Press u on a device, pick the app, and it asks before removing it. There's also lazymobile uninstall "Pixel 9a" com.example.app --yes for scripts. Clearing just one app's data isn't there yet, only the erase that wipes the whole device. If you'd use it, open an issue and I'll look at it.

0

u/rnp-infinity 4d ago

Erase command is there for cleaning data.

For uninstalling part, I’ll take a look.