From 16b76d22a133eaf00f7a4dd24e8801fb8be9e8a5 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sun, 10 Sep 2017 22:00:30 -0500 Subject: 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. --- devtools/create_project/xcode.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3