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
There was a ‘recent’ change in the way that Xcode editor extensions should be built [1], and it seems that the Xcode template hasn’t caught up with that change (r. 59274389). So, to fix your problem, do this:
-
In the Project navigator, select your project on the left.
-
In the project editor, select your extension target.
-
In the General tab, scroll down to Frameworks and Libraries.
-
Find the XcodeKit.framework entry.
-
Change the Embed setting from Do Not Embed to Embed & Sign.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] Search the Xcode 12 Release Notes for 59274389.