Skip to content

Commit

Permalink
macOS: replace Project.xcconfig VERSION with separate MARKETING_VERSI…
Browse files Browse the repository at this point in the history
…ON (Version) and CURRENT_PRODUCT_VERSION (Build) and note difference
  • Loading branch information
danomatika committed Oct 30, 2023
1 parent 6ac0d5a commit bd19b3e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion commandLine/Project.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,19 @@ PRODUCT_NAME = $(TARGET_NAME)
PRODUCT_NAME[config=Debug] = $(TARGET_NAME)Debug
PRODUCT_BUNDLE_IDENTIFIER = cc.openFrameworks.$(TARGET_NAME)
//PRODUCT_BUNDLE_IDENTIFIER[config=Debug] = cc.openFrameworks.$(TARGET_NAME)Debug
VERSION = 1.0
DEVELOPMENT_LANGUAGE = English
CODE_SIGN_IDENTITY = -
INFOPLIST_FILE = openFrameworks-Info.plist

// Versioning, uncomment to override settings in Xcode UI
// this is "Version" in the Xcode target Identity UI
// suggested to use semantic versioning format ala #.#.#
//MARKETING_VERSION = 0.1.0
// this is "Build" in the Xcode target Identity UI, an incremental build number
// important for the App Store as new build submissions need a diff number even
// if version is the same
//CURRENT_PRODUCT_VERSION = 1

//ICONS - NEW IN 0072
//ICON_NAME = icon.icns
//ICON_NAME[config=Debug] = icon-debug.icns
Expand Down
4 changes: 2 additions & 2 deletions commandLine/openFrameworks-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>$(VERSION)</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(VERSION)</string>
<string>$(CURRENT_PRODUCT_VERSION)</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.graphics-design</string>
<key>NSCameraUsageDescription</key>
Expand Down

0 comments on commit bd19b3e

Please sign in to comment.