XcodeKit

RSS for tag

Create extensions to add commands to the Xcode source editor.

XcodeKit Documentation

Pinned Posts

Posts under XcodeKit tag

5 Posts
Sort by:
Post not yet marked as solved
1 Replies
532 Views
For things like linters, formatting tools, and more: We need a good way to inject into the Xcode UI. Can I create a Warning or Error in the buffer/Issue Navigator? Is there an example of how to mark lines/columns with a message/error/warning? Get the current file path or URL object? How can I place a view onto the Xcode source canvas? Like a popover or interactive window.
Posted
by
Post not yet marked as solved
1 Replies
683 Views
Hi, I'm working on an Xcode Source Editor Extension. Currently, I have App Sandbox enabled and everything works as expected. I have some features I'd like to add that would require me to disable the App Sandbox and release the extension and containing app outside of the App Store. However, whenever I remove the App Sandbox capability from my project and re-run the extension, I can no longer see my extension appear in the Editor menu - it's just gone. My question is - are Xcode Source Editor Extensions only limited to sandboxed environments or can they operate out of the sandbox? If so, how come I don't see it in Xcode 15?
Posted
by
Post not yet marked as solved
1 Replies
363 Views
I want to build an Xcode Source Code Editor extension that triggers an XPC service shows a gui that can handle user interactions Is it possible in any way ? what are the alternatives to display the UI and allow the user to interact on it ?
Posted
by
Post marked as solved
2 Replies
182 Views
https://developer.apple.com/documentation/xcodekit/creating_a_source_editor_extension I created new MacOS project and added a Xcode Source Editor Extension target to the project. I run the extension in debug mode with extension target, but the extension is not show up in Editor menu debug mode Xcode. Xcode version is 15.3(released) MacOS version is 14.4.1 Sonoma
Posted
by
Post not yet marked as solved
0 Replies
38 Views
Hi all, i am setting up my MacBook Pro and cant install Xcode. I downloaded it through the app store. On click it starts up and asks me what platform I would like to develop for. (The window where you have to select When continue is clicked it asks for admin permissions then quits and starts the process over again. I tried running this /Applications/Xcode.app/Contents/MacOS/Xcode -installComponents in the CMD and this opens the same window but still doesnt run but now i get an error when it closes Xcode[837:10271] [MT] IDEFirstLaunch: Cannot continue without relaunching because of already-loaded bundles: [NSBundle </Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework> (loaded)] Specs: MacBook Pro M1 Pro macOS 14.1
Posted
by