It seems like I have this problem—everything had been fine until I rebooted after updating to Big Sur 11.2.1 this morning—but the supplied solution doesn't fix it.
After rebooting should I first git fetch in one of my repos (which has the side-effect of adding the ssh key to the ssh agent, visible when I ssh-add -l) or not?
Post
Replies
Boosts
Views
Activity
For others having this problem a simple way to delete that key from Xcode's preferences plist without deleting the whole thing or hand-editing is to use PlistBuddy:
/usr/libexec/PlistBuddy -c "Delete :IDESourceControlKnownSSHHostsDefaultsKey" ~/Library/Preferences/com.apple.dt.Xcode.plist
Getting the same thing. I had two instances of swift-frontend using ~30Gb each, and it kept increasing even after I'd force-quit Xcode 🤪
Spotlight indexing hasn't stopped on my M1 machine for almost a month and a half, it's using something like 70% of two or three cores, continuously. Originally I thought it was the 11.6 update that did it but now I'm pretty sure it's this bug. I reported it in FB9639588 and linked back here. Still no movement on the bug.
Unfortunately that doesn't work either: Cannot convert value of type 'UnsafeBufferPointer<Float>' to expected argument type 'UnsafeMutableRawPointer?' (where bytes is passed in to the AudioBuffer constructor.)
Thanks to 'sbooth' on StackOverflow for the answer, I was missing .baseAddress on the mData: argument:
var floats: [Float] = ... // this comes from somewhere else
try floats.withUnsafeMutableBufferPointer { bytes in
let audioBuffer = AudioBuffer(mNumberChannels: 1, mDataByteSize: UInt32(bytes.count * MemoryLayout<Float>.size), mData: bytes.baseAddress)
var bufferList = AudioBufferList(mNumberBuffers: 1, mBuffers: audioBuffer)
let outputAudioBuffer = AVAudioPCMBuffer(pcmFormat: buffer.format, bufferListNoCopy: &bufferList)!
try self.renderedAudioFile?.write(from: outputAudioBuffer)
}