Notes |
|
(0039705)
|
Gregor Jasny
|
2015-10-29 16:40
|
|
Diff in Xcode project after upgrade:
@@ -3255,6 +3256,7 @@
91E22C98754C40059A395810 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ENABLE_TESTABILITY = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk;
SYMROOT = /Users/jasny/src/wdt/_build/build;
|
|
|
(0039706)
|
Gregor Jasny
|
2015-10-29 17:33
(edited on: 2015-10-29 17:34) |
|
Xcode expects the "Testability" attribute to be set in the Debug configuration. The best thing would be if the Xcode SDKs would provide these settings by default.
The problem I see here is that 'Debug' is a arbitrary configuration. So I'm a little bit reluctant to set it by default. With 0014947 fixed you would be able to set it in the project itself:
set(CMAKE_XCODE_ATTRIBUTE_ENABLE_TESTABILITY[variant=Debug] "YES")
Another option would be to set LastUpgradeCheck to 710 to prevent the notification.
@@ -1145,6 +1145,7 @@
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
+ LastUpgradeCheck = 0710;
};
buildConfigurationList = 35CF513637874DB691923438 /* Build configuration list for PBXProject
"WDT" */;
compatibilityVersion = "Xcode 3.2";
Brad, what do you think?
PS: This setting seems to make only a difference for Swift
|
|
|
(0039709)
|
Brad King
|
2015-10-30 08:49
|
|
Re 0015817:0039706: Since our Xcode project files are generated there is no need for them ever to be upgraded automatically by Xcode. Any updates that are needed should be taught to CMake's generator. Therefore I think we should always generate LastUpgradeCheck to match the version of Xcode for which we are generating. Thanks! |
|
|
(0039869)
|
Brad King
|
2015-11-13 08:27
|
|
|
|
(0040960)
|
Robert Maynard
|
2016-05-02 08:30
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|