Xcode: Do not require code signing for compiler id (#15214)
The approach in commit v3.1.0-rc1~1^2 (Xcode: Fix compiler id detection when code signing is required, 2014-10-22) still requires a code signing key when targeting a real device. Instead set CODE_SIGNING_REQUIRED to "NO" to tell Xcode not to sign at all. Drop the corresponding setting of the code signing identity.
This commit is contained in:
parent
c118816d44
commit
7b7209f635
|
@ -270,11 +270,6 @@ Id flags: ${testflags}
|
||||||
else()
|
else()
|
||||||
set(id_sdkroot "")
|
set(id_sdkroot "")
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY)
|
|
||||||
set(id_code_sign_identity "CODE_SIGN_IDENTITY = \"${CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY}\";")
|
|
||||||
else()
|
|
||||||
set(id_code_sign_identity "")
|
|
||||||
endif()
|
|
||||||
if(NOT ${XCODE_VERSION} VERSION_LESS 3)
|
if(NOT ${XCODE_VERSION} VERSION_LESS 3)
|
||||||
set(v 3)
|
set(v 3)
|
||||||
set(ext xcodeproj)
|
set(ext xcodeproj)
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
@id_code_sign_identity@
|
CODE_SIGNING_REQUIRED = NO;
|
||||||
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)";
|
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)";
|
||||||
SYMROOT = .;
|
SYMROOT = .;
|
||||||
@id_toolset@
|
@id_toolset@
|
||||||
|
|
Loading…
Reference in New Issue