simlay

Results 89 comments of simlay

> I don't think this crate is maintained anymore Yeah. Various people doing iOS stuff use [`tracing-oslog`](https://github.com/Absolucy/tracing-oslog). @steven-joruk just might not check the github notifications on this repo often.

@eugenehp I've tried to load the sine example into a vision pro simulator using dinghy and it crashes without a stacktrace. I don't own a vision pro so it's not...

> The keyboard input seems to not work on iphones & there is a black bar at the bottom. I don't actually know fully what the context is on this...

I'll admit that I'm not sure how to actually get an instance of a `OSLogEnumerator` but the [`objc2_os_log` crate has bindings to the `OSLogEnumerator`](https://docs.rs/objc2-os-log/0.3.1/objc2_os_log/struct.OSLogEnumerator.html). [Looking around github](https://github.com/SAP/power-monitoring-tool-for-macos/blob/d1638d2ec99087ecc8e7a92a80702cbfe8798979/source/PowerMonitorDaemon/Classes/MTPowerMonitorDaemon.m#L302-L322), I think [`OSLogStore::entriesEnumeratorWithOptions_position_predicate_error`...

I also just tried this. `OSLogStore::new()` is a short hand to `init` and `alloc` but `init` is deprecated. I also got the segfault a few times. Here's what I got...

It took me a while to figure out what the `AnyObject` in the enumeration but it's an `OSLogEntry`. This spits out a bunch of stuff: ``` use objc2_os_log::{OSLogStore, OSLogStoreScope, OSLogEntry};...

> BTW: If you comment out the println!(), do you still get output from the log system on the terminal? Huh. yeah looks like stderr is getting this: ``` Wall...

Hmm. I copied your exact example and I could not reproduce your error. I'm on an m1 mac, macOS 15.5, xcode 26 beta (but the non-beta should also work fine).