What’s new in privacy

RSS for tag

Discuss the WWDC22 Session What’s new in privacy

Posts under wwdc2022-10096 tag

6 Posts
Sort by:
Post not yet marked as solved
0 Replies
25 Views
Hi, According to https://developer.apple.com/videos/play/wwdc2022/10096/, agent user can disable login item on Ventura. In enterprise environment, IT admin may want some processes are always running in launch daemon. Is there a MDM rule to forbidden agent user to disable special login item? Thank you!
Posted Last updated
.
Post not yet marked as solved
2 Replies
153 Views
Our audio driver uninstaller does not work properly on macOS 13 Ventura Beta. The uninstaller is for removing our Audio Server Plug-in as well as its associated app that resides in /Library/Application Support/ folder. The Audio Server Plug-in can be removed without any problems, but the associated app cannot be removed if it is notarized. Our uninstaller uses SMJobSubmit function to execute a shell script with administrator privileges. I found the following error in the system log: kernel: (Sandbox) System Policy: rm(676) deny(1) file-write-unlink /Library/Application Support/MyDriver/MyApp.app I guess that the app cannot be removed because Gatekeeper protects notarized apps on Ventura. How can our uninstaller remove our notarized app? Thank you.
Posted
by ykaizu.
Last updated
.
Post not yet marked as solved
1 Replies
122 Views
Hi, in the video wwdc2022-10096 at about 05:45 it is explained how to allow other software to update your software by adding team-idetifiers an signing-identifiers to an Info.plist. I would need a few more details. Which Info.plist file do I have to change? I use pkgbuild to build the packages and productbuild to combine them. pkgbuild --analyse --root generates an .plist-file for every single package. Do I have to add the Information there? productbuild --sythesize generates an xml-file discribing the whole thing. This would refer better to the installer as a whole, but it is not an info.plist. How and where exactly to add the information? I tried to use plutil, but it doesn't like array-names to start with numbers as team-identifiers often do. Also it crashes quite often. The .plist-files generated by pkgbuild either contain an empty array or several unnamed items. [ ] Do I even need to add something threre? The other one contains several Items: [   0 => {     "BundleIsRelocatable" => 0     "BundleIsVersionChecked" => 1     "BundleOverwriteAction" => "upgrade"     "NSUpdateSecurityPolicy" => {       "AllowProcesses" => {         "123ABC" => [           0 => "com.example.pal.about"         ]       }     }     "RootRelativeBundlePath" => "Library/PreferencePanes/***.prefPane"   }   1 => {     "BundleIsRelocatable" => 0     "BundleIsVersionChecked" => 1     "BundleOverwriteAction" => "upgrade"     "NSUpdateSecurityPolicy" => {       "AllowProcesses" => {         "123ABC" => [           0 => "com.example.pal.about"         ]       }     }     "RootRelativeBundlePath" => "Library/Frameworks/***.framework"   }   2 => {     "BundleHasStrictIdentifier" => 1     "BundleIsRelocatable" => 0     "BundleIsVersionChecked" => 1     "BundleOverwriteAction" => "upgrade"     "NSUpdateSecurityPolicy" => {       "AllowProcesses" => {         "123ABC" => [           0 => "com.example.pal.about"         ]       }     }     "RootRelativeBundlePath" => "Applications/***.app"   } ] Should it look like this? A more detailed example would be great. Thanks!
Posted
by lenamaria.
Last updated
.
Post not yet marked as solved
2 Replies
232 Views
I'm trying to understand what exactly is made possible by Media Device Discovery Extensions, what responsibility the containing app has, and what exactly is made available to other apps or the system, if anything. I haven't been able to find any meaningful high level documentation, and WWDC 2022 session 10096 only mentions these new extensions in passing. The most comprehensive body of information I found is the example project: https://developer.apple.com/documentation/devicediscoveryextension/discovering_a_third-party_media-streaming_device?changes=latest_beta&language=objc However, I don't think it's working the way it should out of the box: I've got the Client target app built and running on an iPad Pro running iPadOS 16 Beta 2 I've got the MacServer target running on a Mac Mini with macOS 13 Ventura Beta 2 I've got the Server target running on an iPhone with iOS 15.5. (Non-beta) If I tap the AirPlay icon on the Client's video player, I can see the two servers, but selecting one just causes a spinner to show up next to its name. This keeps going for a while, eventually the spinner goes away again, but the device selection tick stays next to 'iPad'. The text "Select route" also doesn't change, which I think it's supposed to, judging by the code. I've tried a variety of combinations of settings on the servers - bluetooth only, bonjour only, different protocols, etc., but I'm always getting the same behaviour. Has anyone had any success in getting the example to work, and how? Is there any high level documentation available that I've missed? Can someone explain what exactly we can build with this in more detail than "implementations of custom A/V streaming protocols?" The WWDC session video talks about 3rd party SDKs, so do these extensions have to be embedded in every app that would be streaming the video, implying that it's not useful for mirroring?
Posted
by pmdj.
Last updated
.
Post not yet marked as solved
0 Replies
147 Views
We're using the device name as an identifier for device pairing with an accessory. Therefore we think we're fulfilling the prerequisites: need it for “multi-device features” device-name is visible to the user but we're not sure about the latter. Can you clarify if the requirement "visible to the user" means visible on the device accessing the UIDevice.name or any device involved in the multi-device feature? Seems like we can't just try and find out by trial and error yet: https://developer.apple.com/forums/thread/708275
Posted Last updated
.
Post not yet marked as solved
2 Replies
558 Views
In iOS 16, UIDevice.name has changed to only return the model of the device, not the user specified name. There is an entitlement, com.apple.developer.device-information.user-assigned-device-name that can be requested to keep the old behaviour, but I can't find any info on how to request that entitlement. Anyone able to help?
Posted Last updated
.