Closed kusaanko closed 3 weeks ago
Frankly speaking, I haven’t tested the app on macOS 13 yet. I’ve made some improvements, but it’s not ready for release.
As for the feature set, I believe you should expand it to include all the features. You don’t necessarily need private access (that’s my attempt to use an outdated API to install apps on iOS devices).
I’ll delve deeper into this issue tomorrow.
latest version should be good.
This is good default for you:
[dependencies]
cidre = { path = "../cidre/cidre", features = [
"blocks",
"async",
"dispatch",
"av",
"cm",
"ns",
"sc",
"macos_13_0"
], default-features = false}
It works! Thank you so much.
But I got a clippy warning. Could you fix this warning?
warning: transmute from a reference to a pointer
--> src/****.rs:224:5
|
224 | / cidre::define_obj_type!(
225 | | SCKitAudioRecorder + cidre::sc::stream::OutputImpl,
226 | | SCKitAudioRecorderInner,
227 | | AUDIO_RECORDER
228 | | );
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
= note: `#[warn(clippy::useless_transmute)]` on by default
= note: this warning originates in the macro `cidre::define_obj_type` (in Nightly builds, run with -Z macro-backtrace for more info)
objc.rs(417, 26): Actual error occurred here
https://github.com/yury/cidre/blob/83a6f8b5ef5ce36af6c109b9a9f67d4951aa4bba/cidre/src/objc.rs#L417
Fixed
Great job! Thank you.
I want to set the deployment target to macos_13_0 and use ScreenCaptureKit.
How do I fix the problem? Is the features usage correct?