aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-09-10 22:00:30 -0500
committerColin Snover2017-09-10 22:17:15 -0500
commit16b76d22a133eaf00f7a4dd24e8801fb8be9e8a5 (patch)
tree78131ad7714533dc60b74316a26c40387cb111a5
parent2191533d4fca632a631b3e1cc868c22975e09f13 (diff)
downloadscummvm-rg350-16b76d22a133eaf00f7a4dd24e8801fb8be9e8a5.tar.gz
scummvm-rg350-16b76d22a133eaf00f7a4dd24e8801fb8be9e8a5.tar.bz2
scummvm-rg350-16b76d22a133eaf00f7a4dd24e8801fb8be9e8a5.zip
CREATE_PROJECT: Add LastUpgradeCheck to generated project file
This prevents the recommended updates warning appearing when opening the project in Xcode for the first time.
-rw-r--r--devtools/create_project/xcode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp
index f3eb7e094c..7a1a69daaf 100644
--- a/devtools/create_project/xcode.cpp
+++ b/devtools/create_project/xcode.cpp
@@ -34,6 +34,8 @@
namespace CreateProjectTool {
+#define LAST_XCODE_VERSION "0830"
+
#define DEBUG_XCODE_HASH 0
#define IOS_TARGET 0
@@ -707,6 +709,7 @@ void XcodeProvider::setupProject() {
project->addProperty("compatibilityVersion", "Xcode 3.2", "", kSettingsNoValue | kSettingsQuoteVariable);
project->addProperty("developmentRegion", "English", "", kSettingsNoValue);
project->addProperty("hasScannedForEncodings", "1", "", kSettingsNoValue);
+ project->addProperty("attributes", "{ LastUpgradeCheck = " LAST_XCODE_VERSION "; }", "", kSettingsNoQuote | kSettingsNoValue);
// List of known regions
Property regions;