{"id":28827,"date":"2020-04-29T16:04:19","date_gmt":"2020-04-29T20:04:19","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=28827"},"modified":"2020-04-29T16:04:19","modified_gmt":"2020-04-29T20:04:19","slug":"not-dogfooding-driverkit","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/04\/29\/not-dogfooding-driverkit\/","title":{"rendered":"Not Dogfooding DriverKit"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/pmjordan\/status\/1251182153662070785\">Phil Dennis-Jordan<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/pmjordan\/status\/1251182153662070785\"><p>I&rsquo;ve spent a fair bit of the last 2 weeks with DriverKit, i.e. macOS 10.15&rsquo;s device-drivers-in-userspace tech. I really wanted to like it, but so far I&rsquo;m not impressed at all. It&rsquo;s yet another one of those things where Apple clearly has no intention of using it themselves.<\/p><p>[&#8230;]<\/p><p>The code signing situation is more awkward than it was for iPhone app development back in the iPhoneOS 2.0 SDK days. You have to disable Xcode&rsquo;s own code signing step and run the codesign command yourself to even get anything to build and load.<\/p><p>Error messages are cryptic, non-specific, and hidden inside the firehose of the unified system log.<\/p><p>[&#8230;]<\/p><p>I don&rsquo;t know whether that&rsquo;s an exhaustive list of services for which to watch the &lsquo;log stream&rsquo; because of course documentation is skeletal at best.<\/p><p>[&#8230;]<\/p><p>WWDC 2019 Session 702 claims that DriverKit makes developing drivers easier compared to kexts. Obviously I&rsquo;m new to DriverKit, so I&rsquo;m expecting a learning curve, but even once I get something working, I end up rebooting more often than with kexts.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/04\/27\/blockblock-1-0\/\">BlockBlock 1.0<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/03\/25\/little-snitch-and-the-deprecation-of-kernel-extensions\/\">Little Snitch and the Deprecation of Kernel Extensions<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/02\/10\/macos-10-15-4-to-warn-about-deprecated-kpis\/\">macOS 10.15.4 to Warn About Deprecated KPIs<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/06\/06\/security-privacy-in-macos-10-15-beta\/\">Security &amp; Privacy in macOS 10.15 Beta<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/01\/09\/no-nvidia-drivers-for-mojave\/\">No NVIDIA Drivers for Mojave<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2017\/03\/13\/sierra-logging-spew\/\">Sierra Logging Spew<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2012\/06\/25\/dogfooding-the-sandbox\/\">Dogfooding the Sandbox<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Phil Dennis-Jordan: I&rsquo;ve spent a fair bit of the last 2 weeks with DriverKit, i.e. macOS 10.15&rsquo;s device-drivers-in-userspace tech. I really wanted to like it, but so far I&rsquo;m not impressed at all. It&rsquo;s yet another one of those things where Apple clearly has no intention of using it themselves.[&#8230;]The code signing situation is more [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-04-29T20:04:21Z","apple_news_api_id":"3c3af82f-81dc-434e-b70b-1aebf66824f4","apple_news_api_modified_at":"2020-04-29T20:04:22Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/APDr4L4HcQ063Cxrr9mgk9A","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[466,164,1820,828,30,1666,71],"class_list":["post-28827","post","type-post","status-publish","format-standard","hentry","category-technology","tag-codesigning","tag-documentation","tag-driverkit","tag-kernel-extensions","tag-mac","tag-macos-10-15","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=28827"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28827\/revisions"}],"predecessor-version":[{"id":28828,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28827\/revisions\/28828"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=28827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=28827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=28827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}