From 485d6fb2d4ce3b11a4e2e2f75af4a006a2ebf49a Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Mon, 24 Oct 2016 17:15:49 +0300 Subject: [PATCH] [ios] Updated xcode project for building api library. --- xcode/api/api.xcodeproj/project.pbxproj | 179 +++++++++++++----------- 1 file changed, 98 insertions(+), 81 deletions(-) diff --git a/xcode/api/api.xcodeproj/project.pbxproj b/xcode/api/api.xcodeproj/project.pbxproj index 7b4b84a3e5..86c200a410 100644 --- a/xcode/api/api.xcodeproj/project.pbxproj +++ b/xcode/api/api.xcodeproj/project.pbxproj @@ -7,13 +7,18 @@ objects = { /* Begin PBXBuildFile section */ + 3496AB901DC1F7D400C5DDBA /* api-client-test.c in Sources */ = {isa = PBXBuildFile; fileRef = 3496AB8E1DC1F71200C5DDBA /* api-client-test.c */; }; + 3496AB911DC1F7E000C5DDBA /* libapi.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 675347171A40577A00A0A8C3 /* libapi.a */; }; 675347271A4057A700A0A8C3 /* api-client.c in Sources */ = {isa = PBXBuildFile; fileRef = 675347251A4057A700A0A8C3 /* api-client.c */; }; 675347281A4057A700A0A8C3 /* api-client.h in Headers */ = {isa = PBXBuildFile; fileRef = 675347261A4057A700A0A8C3 /* api-client.h */; }; 6753472B1A4057C500A0A8C3 /* api-client-internals.h in Headers */ = {isa = PBXBuildFile; fileRef = 6753472A1A4057C500A0A8C3 /* api-client-internals.h */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 670D05A21B0DF32E0013A7AC /* defaults.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = defaults.xcconfig; path = ../defaults.xcconfig; sourceTree = ""; }; + 34763F471DBE28F800D370CF /* common-debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "common-debug.xcconfig"; path = "../common-debug.xcconfig"; sourceTree = ""; }; + 34763F481DBE28F800D370CF /* common-release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "common-release.xcconfig"; path = "../common-release.xcconfig"; sourceTree = ""; }; + 3496AB761DC1F6CD00C5DDBA /* api_tests.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = api_tests.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 3496AB8E1DC1F71200C5DDBA /* api-client-test.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "api-client-test.c"; sourceTree = ""; }; 675347171A40577A00A0A8C3 /* libapi.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libapi.a; sourceTree = BUILT_PRODUCTS_DIR; }; 675347251A4057A700A0A8C3 /* api-client.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "api-client.c"; path = "src/c/api-client.c"; sourceTree = ""; }; 675347261A4057A700A0A8C3 /* api-client.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "api-client.h"; path = "src/c/api-client.h"; sourceTree = ""; }; @@ -21,6 +26,14 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 3496AB731DC1F6CD00C5DDBA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3496AB911DC1F7E000C5DDBA /* libapi.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 675347141A40577A00A0A8C3 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -31,10 +44,21 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 3496AB8D1DC1F6E400C5DDBA /* api_tests */ = { + isa = PBXGroup; + children = ( + 3496AB8E1DC1F71200C5DDBA /* api-client-test.c */, + ); + name = api_tests; + path = ../../api/tests/c; + sourceTree = ""; + }; 6753470E1A40577A00A0A8C3 = { isa = PBXGroup; children = ( - 670D05A21B0DF32E0013A7AC /* defaults.xcconfig */, + 34763F471DBE28F800D370CF /* common-debug.xcconfig */, + 34763F481DBE28F800D370CF /* common-release.xcconfig */, + 3496AB8D1DC1F6E400C5DDBA /* api_tests */, 675347191A40577A00A0A8C3 /* api */, 675347181A40577A00A0A8C3 /* Products */, ); @@ -44,6 +68,7 @@ isa = PBXGroup; children = ( 675347171A40577A00A0A8C3 /* libapi.a */, + 3496AB761DC1F6CD00C5DDBA /* api_tests.app */, ); name = Products; sourceTree = ""; @@ -82,6 +107,23 @@ /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ + 3496AB751DC1F6CD00C5DDBA /* api_tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3496AB8C1DC1F6CE00C5DDBA /* Build configuration list for PBXNativeTarget "api_tests" */; + buildPhases = ( + 3496AB721DC1F6CD00C5DDBA /* Sources */, + 3496AB731DC1F6CD00C5DDBA /* Frameworks */, + 3496AB741DC1F6CD00C5DDBA /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = api_tests; + productName = api_tests; + productReference = 3496AB761DC1F6CD00C5DDBA /* api_tests.app */; + productType = "com.apple.product-type.application"; + }; 675347161A40577A00A0A8C3 /* api */ = { isa = PBXNativeTarget; buildConfigurationList = 675347221A40577A00A0A8C3 /* Build configuration list for PBXNativeTarget "api" */; @@ -108,6 +150,10 @@ LastUpgradeCheck = 0700; ORGANIZATIONNAME = maps.me; TargetAttributes = { + 3496AB751DC1F6CD00C5DDBA = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; 675347161A40577A00A0A8C3 = { CreatedOnToolsVersion = 6.1; }; @@ -119,6 +165,7 @@ hasScannedForEncodings = 0; knownRegions = ( en, + Base, ); mainGroup = 6753470E1A40577A00A0A8C3; productRefGroup = 675347181A40577A00A0A8C3 /* Products */; @@ -126,11 +173,30 @@ projectRoot = ""; targets = ( 675347161A40577A00A0A8C3 /* api */, + 3496AB751DC1F6CD00C5DDBA /* api_tests */, ); }; /* End PBXProject section */ +/* Begin PBXResourcesBuildPhase section */ + 3496AB741DC1F6CD00C5DDBA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ + 3496AB721DC1F6CD00C5DDBA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3496AB901DC1F7D400C5DDBA /* api-client-test.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 675347131A40577A00A0A8C3 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -142,96 +208,44 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ - 675347201A40577A00A0A8C3 /* Debug */ = { + 3496AB8A1DC1F6CE00C5DDBA /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 670D05A21B0DF32E0013A7AC /* defaults.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = "$(inherited)"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos"; + INFOPLIST_FILE = "$(OMIM_ROOT)/iphone/Maps/MAPSME.plist"; + PRODUCT_BUNDLE_IDENTIFIER = maps.me.api_tests; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 3496AB8B1DC1F6CE00C5DDBA /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + INFOPLIST_FILE = "$(OMIM_ROOT)/iphone/Maps/MAPSME.plist"; + PRODUCT_BUNDLE_IDENTIFIER = maps.me.api_tests; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 675347201A40577A00A0A8C3 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 34763F471DBE28F800D370CF /* common-debug.xcconfig */; + buildSettings = { }; name = Debug; }; 675347211A40577A00A0A8C3 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 670D05A21B0DF32E0013A7AC /* defaults.xcconfig */; + baseConfigurationReference = 34763F481DBE28F800D370CF /* common-release.xcconfig */; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = "$(inherited)"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos"; }; name = Release; }; 675347231A40577A00A0A8C3 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - COMBINE_HIDPI_IMAGES = YES; EXECUTABLE_PREFIX = lib; - GCC_ENABLE_CPP_EXCEPTIONS = YES; - GCC_ENABLE_CPP_RTTI = YES; - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - HEADER_SEARCH_PATHS = "$(inherited)"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -239,12 +253,7 @@ 675347241A40577A00A0A8C3 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - COMBINE_HIDPI_IMAGES = YES; EXECUTABLE_PREFIX = lib; - GCC_ENABLE_CPP_EXCEPTIONS = YES; - GCC_ENABLE_CPP_RTTI = YES; - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - HEADER_SEARCH_PATHS = "$(inherited)"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; @@ -252,6 +261,14 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 3496AB8C1DC1F6CE00C5DDBA /* Build configuration list for PBXNativeTarget "api_tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3496AB8A1DC1F6CE00C5DDBA /* Debug */, + 3496AB8B1DC1F6CE00C5DDBA /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; 675347121A40577A00A0A8C3 /* Build configuration list for PBXProject "api" */ = { isa = XCConfigurationList; buildConfigurations = (