Posts

Post not yet marked as solved
0 Replies
546 Views
There is no obvious way to use a third-party language server with the Xcode editor. This would seemingly require using an editor extension to trigger communication with the external language server on every keystroke, automatically (at least for code completions and syntax highlighting) - which isn't possible. It isn't obvious, either, how one would make Xcode use a custom version of SourceKit-LSP, even if one could hack it for other languages. Am I wrong about this? custom xclangspecs work well enough for syntax highlighting and code folding, but LSP's other functionality is sorely missed outside of C, Objective-C and Swift.
Posted
by enquora.
Last updated
.
Post not yet marked as solved
1 Replies
711 Views
The PDFDocument class makes updating metadata attributes simple but appears to:Disallow arbitrary values for the /Producer attribute - the wite action substitutes an Apple string as the producerOffer no choice over the PDF version or the write format - it's 1.4, and compressed regardless of the original PDF formatAm I missing something simple in the PDFDocument class that will over-ride this behaviour?Is the PDFDocument structure archive conformant and, if so, to what level?Is it necessary to deal directly with CGPDFDocument to overcome these limitations?cheers,david
Posted
by enquora.
Last updated
.
Post not yet marked as solved
5 Replies
1.9k Views
Has anyone successfully used SwiftUI previews on a machine with a mechanical disk drive?Both the first and second betas of Xcode have been unable to generate previews on this installation.Results are any of a variety of errors, extraordinarily long compile times, inability to launch the simulator, a kernel panic or being logged out.An unmodified project created using the Xcode single-view template simply doesn't work.The experience is akin to using an ill-behaved Desk Accessory in System 7 :-(It's unclear whether the problem is with Xcode itself or the Catalina installation.Wondering if anyone has been through this and resolved the problem?
Posted
by enquora.
Last updated
.
Post not yet marked as solved
5 Replies
931 Views
The Software Update preference offered an update today after the announced release of the second beta but the preference's appearance is unfamiliar - a strange icon, no mention of which beta it is and the 'More info' link is, in fact, a web link which opens https://apple.com in the default web browser (at least someone is working on that - it actually uses the specified default web browser rather than Safari)!Pressing the Upgrade Now button did result in a 6.45 GB download but the installer immediatly complained about not being able to create (or update?) a recovery partition and quit.Has anyone successfully installed the upgraded the first beta to the second?Where is the downloaded installer saved to and is there a published checksum available anywhere to determine if the downloaded item is a valid installer rather than random garbage or a malicious payload?
Posted
by enquora.
Last updated
.