Skip to content

Commit 2f02635

Browse files
akyrtzitkremenek
authored andcommitted
[SourceKit] Bring back the 'com.apple.' prefix for the bundle identifier of the XPC service.
We need this currently. Later-on we can make this more configurable.
1 parent 6a0736c commit 2f02635

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/SourceKit/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ macro(add_sourcekit_xpc_service name framework_target)
379379
endif()
380380

381381
set(XPCSERVICE_NAME ${name})
382-
set(XPCSERVICE_IDENTIFIER "${name}.${SOURCEKIT_VERSION_STRING}")
382+
set(XPCSERVICE_IDENTIFIER "com.apple.${name}.${SOURCEKIT_VERSION_STRING}")
383383
set(XPCSERVICE_BUNDLE_VERSION "${SOURCEKIT_VERSION_STRING}")
384384
set(XPCSERVICE_SHORT_VERSION_STRING "1.0")
385385
configure_file(

tools/SourceKit/tools/sourcekitd/bin/XPC/Client/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ add_sourcekit_framework(sourcekitd
1616
INSTALL_IN_COMPONENT sourcekit-xpc-service
1717
)
1818

19-
add_definitions(-DSOURCEKIT_XPCSERVICE_IDENTIFIER="SourceKitService.${SOURCEKIT_VERSION_STRING}")
19+
add_definitions(-DSOURCEKIT_XPCSERVICE_IDENTIFIER="com.apple.SourceKitService.${SOURCEKIT_VERSION_STRING}")
2020

2121
if (SOURCEKIT_BUILT_STANDALONE)
2222
# Create the symlink necessary to find the swift stdlib.

0 commit comments

Comments
 (0)