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 2a460ca commit 89ca697Copy full SHA for 89ca697
stdlib/cmake/modules/AddSwiftStdlib.cmake
@@ -1201,7 +1201,9 @@ function(_add_swift_target_library_single target name)
1201
set(PLIST_INFO_PLIST "Info.plist" CACHE STRING "Plist name")
1202
if("${SWIFTLIB_SINGLE_SDK}" IN_LIST SWIFT_APPLE_PLATFORMS AND SWIFTLIB_SINGLE_IS_STDLIB)
1203
set(PLIST_INFO_NAME ${name})
1204
- set(PLIST_INFO_UTI "com.apple.dt.runtime.${name}")
+
1205
+ # Underscores aren't permitted in the bundle identifier.
1206
+ string(REPLACE "_" "" PLIST_INFO_UTI "com.apple.dt.runtime.${name}")
1207
set(PLIST_INFO_VERSION "${SWIFT_VERSION}")
1208
if (SWIFT_COMPILER_VERSION)
1209
set(PLIST_INFO_BUILD_VERSION
0 commit comments