I have scrolling issues using the tracking, on Monterey 12.1 (21C52) on MacBook Pro (16-inch, 2021).
There are random jumps when scrolling with 2 fingers using the trackpad, in different apps - Safari; XCode...
Posted a feedback using Feedback Assistant.
Post not yet marked as solved
I downloaded manually, as suggested. The manual install took a while too but went well.
It did not help with the other ongoing install.
Even after a reboot.
I searched a bit and found suggestion deleting some ~/Library/Caches files may help.
I deleted files in relation to store (app store).
Rebooted.
Launch Pad was showing an empty progress bar for a short while and then disappear.
Now XCode shows as "GET" on the app store.
But now, at least, installd is not eating up 120% CPU...
thanks.
Post not yet marked as solved
Proposed solution
I managed to get around the issue by using Element.scale(by:) in the extension's definition of Array.scale(by:) and not using the * operator.
Using * operator required Element and Double to conform to _VectorMath (which is what we wanted to avoid).
Follow-up on questions and remarks
Just my curiosity, how are you trying to make Array conform to VectorArithmetic? I see them as coefficients of polynomials (as in the algebraic definition). If I am not mistaken, it can be a vector space.
For example, what is your definition of +? Two Arrays may have different sizes. Add coefficients pairwise; and if one array is shorter than the other one, use AdditiveArithmetic.zero for the "missing" element.
> What is _VectorMath protocol? Not documented publicly. I did not see this sooner, but if I option-click on the _VectorMath, there's the quick help:
SummaryAdds the “vector space” numeric operations for any type that conforms to Animatable. #### Declaration protocol _VectorMath : Animatable I am not sure what to make of this. But as you suggested I'd try not to use this "private" (?) API.
Post marked as Apple Recommended
see https://developer.apple.com/forums/thread/653198
Post not yet marked as solved
There is a related question https://developer.apple.com/forums/thread/653471 "Add UIKit view into iOS 14 Widget"
The reply: "UIKit views wrapped in UIViewRepresentable will not work in WidgetKit. When the views are encoded from your extension to be displayed they will appear blank. "