We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 889d65d commit c9e1032Copy full SHA for c9e1032
stdlib/cmake/modules/AddSwiftStdlib.cmake
@@ -1263,7 +1263,9 @@ function(add_swift_target_library_single target name)
1263
set(PLIST_INFO_PLIST "Info.plist" CACHE STRING "Plist name")
1264
if("${SWIFTLIB_SINGLE_SDK}" IN_LIST SWIFT_DARWIN_PLATFORMS AND SWIFTLIB_SINGLE_IS_STDLIB)
1265
set(PLIST_INFO_NAME ${name})
1266
- set(PLIST_INFO_UTI "com.apple.dt.runtime.${name}")
+
1267
+ # Underscores aren't permitted in the bundle identifier.
1268
+ string(REPLACE "_" "" PLIST_INFO_UTI "com.apple.dt.runtime.${name}")
1269
set(PLIST_INFO_VERSION "${SWIFT_VERSION}")
1270
if (SWIFT_COMPILER_VERSION)
1271
set(PLIST_INFO_BUILD_VERSION
0 commit comments