Post

Replies

Boosts

Views

Activity

How to boot into development kernel from KDK?
Hi, I have a MacBook Pro M1 that I'm trying to boot development kernel. The SW version is: ProductName: macOS ProductVersion: 11.4 BuildVersion: 20F71 I follow /Library/Developer/KDKs/KDK_11.4_20F71.kdk/KDK_ReadMe.rtfd/TXT.rtf and disabled SIP and authenticated-root. I also copy over the kernels to a livemohnt and update nvram: nvram boot-args="-v kcsuffix=development" Despite above changes, after reboot, I still don't see the OS booting using development kernel (sysctl kern.osbuildconfig shows I'm still running release.) Anyone has any luck to enable development/debug/custom kernels on Big Sur?
2
0
1.4k
Jul ’21
swiftc compilation error: unknown type name 'task_id_token_t'
Hi, I have an Apple M1 based MacBook Pro with Big Suf 11.3.1 (20E241) and Xcode Version 12.5 (12E262) When I tried to compile some simple swift program and import Foundation, I got several unknown type name error. Looking at these symbols, they are all introduced in 11.3+ kernel. I wonder if I have a mismatched toolchain to compile trivial program? stderr.txt - https://developer.apple.com/forums/content/attachment/fd0588b0-5c4f-42ca-b0f4-2d6747861cee main.swift - https://developer.apple.com/forums/content/attachment/d47a4268-9e30-4537-9b58-5dd55f893906
1
0
2.1k
May ’21