Skip to content

Commit e73a19f

Browse files
MacOS/iOS/tvOS: fixed product bundle identifier
1 parent 2d3c9ff commit e73a19f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

NativeApp/Apple/Data/OSX/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<key>CFBundleIconFile</key>
1010
<string>dg.icns</string>
1111
<key>CFBundleIdentifier</key>
12-
<string></string>
12+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1313
<key>CFBundleInfoDictionaryVersion</key>
1414
<string>6.0</string>
1515
<key>CFBundleName</key>

NativeApp/Apple/Data/iOS/info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>
10-
<string>com.diligentengine.sampleapp</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>

NativeApp/Apple/Data/tvOS/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>
10-
<string>com.diligentengine.sampleapp</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>

NativeApp/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ elseif(PLATFORM_MACOS)
192192

193193
add_executable(${TARGET_NAME} MACOSX_BUNDLE ${SOURCE} ${APPLE_SOURCE} ${INCLUDE} ${APPLE_INCLUDE} ${ASSETS} ${APPLE_RESOURCES})
194194
set_target_properties(${TARGET_NAME} PROPERTIES
195-
MACOSX_BUNDLE_GUI_IDENTIFIER "com.diligentengine.samples.${TARGET_NAME}"
195+
XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.diligentengine.samples.${TARGET_NAME}"
196196
MACOSX_BUNDLE_INFO_PLIST "${APPLE_INFO_PLIST}"
197197
RESOURCE "${APPLE_RESOURCES}"
198198
)
@@ -280,7 +280,7 @@ elseif(PLATFORM_IOS)
280280

281281
add_executable(${TARGET_NAME} MACOSX_BUNDLE ${SOURCE} ${APPLE_SOURCE} ${INCLUDE} ${APPLE_INCLUDE} ${ASSETS} ${APPLE_RESOURCES})
282282
set_target_properties(${TARGET_NAME} PROPERTIES
283-
MACOSX_BUNDLE_GUI_IDENTIFIER "com.diligentengine.samples.${TARGET_NAME}"
283+
XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.diligentengine.samples.${TARGET_NAME}"
284284
MACOSX_BUNDLE_INFO_PLIST "${APPLE_INFO_PLIST}"
285285
RESOURCE "${APPLE_RESOURCES}"
286286
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "iPhone Developer"
@@ -358,7 +358,7 @@ elseif(PLATFORM_TVOS)
358358

359359
add_executable(${TARGET_NAME} MACOSX_BUNDLE ${SOURCE} ${APPLE_SOURCE} ${INCLUDE} ${APPLE_INCLUDE} ${ASSETS} ${APPLE_RESOURCES})
360360
set_target_properties(${TARGET_NAME} PROPERTIES
361-
MACOSX_BUNDLE_GUI_IDENTIFIER "com.diligentengine.samples.${TARGET_NAME}"
361+
XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.diligentengine.samples.${TARGET_NAME}"
362362
MACOSX_BUNDLE_INFO_PLIST "${APPLE_INFO_PLIST}"
363363
RESOURCE "${APPLE_RESOURCES}"
364364
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "iPhone Developer"

0 commit comments

Comments
 (0)