As seen in this - https://github.com/GoogleContainerTools/kpt/issues/962 github issue, Xcode does not seem to create a symlink for MacOSX11.1.sdk, so Homebrew fails to install anything. I'm sure Homebrew isn't be the only program failing to build code because of this error.
The solution would be to reinstall the Command-line Tools or create these symlinks yourself if reinstalling doesn't fix it:
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
Note: This is only a temporary fix to get builds affected by this issue working again, however it may break the SDK in some unknown ways.
Post
Replies
Boosts
Views
Activity
I have 3 problems in this post.
hv\_vm\_create() fails
I recently got the BigSur beta (I'm on the latest) to try out some hypervisor app I've been working on, however hv_vm_create() - https://developer.apple.com/documentation/hypervisor/1441424-hv_vm_create fails.
2. Killed: 9 when signing with Hypervisor entitlements
I figured Big Sur might be enforcing entitlements, so I signed it with the same entitlements from xyhve - https://github.com/machyve/xhyve/blob/master/src/xhyve-entitlements.plist (and updated it as per the documentation - https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_vm_hypervisor) but this time I was getting.
Killed: 9
Do I have to request permission to use those entitlements? That's the conclusion I'm coming to because HypervisorKit just doesn't work; and nothing happens on macOS for no reason.
3. HypervisorKit in beta?
This is what confuses me the most. Why are HypervisorKit functions that have existed since 10.10 in beta? And why does the documentation claim they're available only on macOS 11.0+? I think you guys should double check the docs.
Are ajax callbacks supported in the injected scripts? I tried overriding XMLHttpRequest, but my callbacks aren't firing. I also tried using jquery but for some odd reason only$(document).ready()gets called.Other callbacks like$(document).ajaxStart, or$(document).ajaxCompletenever get fired