From 7f7b3c85d6ad9030883f3ef8751af334a96b467a Mon Sep 17 00:00:00 2001 From: Afraz Siddiqui <30810254+AfrazCodes@users.noreply.github.com> Date: Tue, 15 Sep 2020 10:14:06 -0400 Subject: [PATCH] Add current project version build setting to allow carthage to pull it in the build version (#13) Co-authored-by: Afraz Siddiqui --- LocalizedStringKit.xcodeproj/project.pbxproj | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/LocalizedStringKit.xcodeproj/project.pbxproj b/LocalizedStringKit.xcodeproj/project.pbxproj index 6b8ab49..15ea40b 100644 --- a/LocalizedStringKit.xcodeproj/project.pbxproj +++ b/LocalizedStringKit.xcodeproj/project.pbxproj @@ -47,7 +47,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - "LocalizedStringKit::LocalizedStringKit::Product" /* LocalizedStringKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = LocalizedStringKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + "LocalizedStringKit::LocalizedStringKit::Product" /* LocalizedStringKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = LocalizedStringKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; "LocalizedStringKit::LocalizedStringKitTests::Product" /* LocalizedStringKitTests.xctest */ = {isa = PBXFileReference; lastKnownFileType = file; path = LocalizedStringKitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; OBJ_11 /* LocalizedStringKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LocalizedStringKit.h; sourceTree = ""; }; OBJ_14 /* LocalizedStringKitTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocalizedStringKitTests.swift; sourceTree = ""; }; @@ -277,6 +277,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1.0; DEFINES_MODULE = YES; ENABLE_TESTABILITY = YES; FRAMEWORK_SEARCH_PATHS = ( @@ -311,6 +312,7 @@ CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1.0; DEBUG_INFORMATION_FORMAT = dwarf; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_NS_ASSERTIONS = YES; @@ -336,6 +338,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1.0; DEFINES_MODULE = YES; ENABLE_TESTABILITY = YES; FRAMEWORK_SEARCH_PATHS = ( @@ -388,6 +391,7 @@ CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; + CURRENT_PROJECT_VERSION = 1.0; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_OPTIMIZATION_LEVEL = s; @@ -409,12 +413,14 @@ OBJ_44 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + CURRENT_PROJECT_VERSION = 1.0; }; name = Debug; }; OBJ_45 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + CURRENT_PROJECT_VERSION = 1.0; }; name = Release; };