From 443a83921e041764b62d4e485105bfeb52c34632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Pin=CC=83era?= Date: Sat, 7 Dec 2019 15:03:06 +0100 Subject: [PATCH] Add missing project --- Tests/Fixtures/Frameworks/.gitignore | 1 + .../Frameworks.xcodeproj/project.pbxproj | 739 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcshareddata/xcschemes/iOS.xcscheme | 67 ++ .../xcshareddata/xcschemes/macOS.xcscheme | 67 ++ .../xcshareddata/xcschemes/tvOS.xcscheme | 67 ++ .../xcshareddata/xcschemes/watchOS.xcscheme | 67 ++ .../XCFrameworkBuilderIntegrationTests.swift | 2 +- 9 files changed, 1024 insertions(+), 1 deletion(-) create mode 100644 Tests/Fixtures/Frameworks/.gitignore create mode 100644 Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.pbxproj create mode 100644 Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme create mode 100644 Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme create mode 100644 Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/tvOS.xcscheme create mode 100644 Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/watchOS.xcscheme diff --git a/Tests/Fixtures/Frameworks/.gitignore b/Tests/Fixtures/Frameworks/.gitignore new file mode 100644 index 00000000000..8393a0af6a8 --- /dev/null +++ b/Tests/Fixtures/Frameworks/.gitignore @@ -0,0 +1 @@ +!Frameworks.xcodeproj \ No newline at end of file diff --git a/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.pbxproj b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.pbxproj new file mode 100644 index 00000000000..65c4be5b830 --- /dev/null +++ b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.pbxproj @@ -0,0 +1,739 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + B9023E07239BCDA200666BE6 /* iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = B9023E05239BCDA200666BE6 /* iOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B9023E0E239BCDBE00666BE6 /* iOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9023E0D239BCDBE00666BE6 /* iOS.swift */; }; + B9023E18239BCDE900666BE6 /* watchOS.h in Headers */ = {isa = PBXBuildFile; fileRef = B9023E16239BCDE900666BE6 /* watchOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B9023E1D239BCDF500666BE6 /* watchOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9023E1C239BCDF500666BE6 /* watchOS.swift */; }; + B9023E27239BCE1000666BE6 /* tvOS.h in Headers */ = {isa = PBXBuildFile; fileRef = B9023E25239BCE1000666BE6 /* tvOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B9023E2C239BCE1800666BE6 /* tvOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9023E2B239BCE1800666BE6 /* tvOS.swift */; }; + B9023E36239BCE2D00666BE6 /* macOS.h in Headers */ = {isa = PBXBuildFile; fileRef = B9023E34239BCE2D00666BE6 /* macOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B9023E3B239BCE3300666BE6 /* macOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9023E3A239BCE3300666BE6 /* macOS.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + B9023E02239BCDA200666BE6 /* iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B9023E05239BCDA200666BE6 /* iOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iOS.h; sourceTree = ""; }; + B9023E06239BCDA200666BE6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B9023E0D239BCDBE00666BE6 /* iOS.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = iOS.swift; sourceTree = ""; }; + B9023E14239BCDE900666BE6 /* watchOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = watchOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B9023E16239BCDE900666BE6 /* watchOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = watchOS.h; sourceTree = ""; }; + B9023E17239BCDE900666BE6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B9023E1C239BCDF500666BE6 /* watchOS.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = watchOS.swift; sourceTree = ""; }; + B9023E23239BCE1000666BE6 /* tvOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = tvOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B9023E25239BCE1000666BE6 /* tvOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = tvOS.h; sourceTree = ""; }; + B9023E26239BCE1000666BE6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B9023E2B239BCE1800666BE6 /* tvOS.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = tvOS.swift; sourceTree = ""; }; + B9023E32239BCE2D00666BE6 /* macOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = macOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B9023E34239BCE2D00666BE6 /* macOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = macOS.h; sourceTree = ""; }; + B9023E35239BCE2D00666BE6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B9023E3A239BCE3300666BE6 /* macOS.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = macOS.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + B9023DFF239BCDA200666BE6 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E11239BCDE900666BE6 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E20239BCE1000666BE6 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E2F239BCE2D00666BE6 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + B9023DF8239BCDA200666BE6 = { + isa = PBXGroup; + children = ( + B9023E04239BCDA200666BE6 /* iOS */, + B9023E15239BCDE900666BE6 /* watchOS */, + B9023E24239BCE1000666BE6 /* tvOS */, + B9023E33239BCE2D00666BE6 /* macOS */, + B9023E03239BCDA200666BE6 /* Products */, + ); + sourceTree = ""; + }; + B9023E03239BCDA200666BE6 /* Products */ = { + isa = PBXGroup; + children = ( + B9023E02239BCDA200666BE6 /* iOS.framework */, + B9023E14239BCDE900666BE6 /* watchOS.framework */, + B9023E23239BCE1000666BE6 /* tvOS.framework */, + B9023E32239BCE2D00666BE6 /* macOS.framework */, + ); + name = Products; + sourceTree = ""; + }; + B9023E04239BCDA200666BE6 /* iOS */ = { + isa = PBXGroup; + children = ( + B9023E05239BCDA200666BE6 /* iOS.h */, + B9023E06239BCDA200666BE6 /* Info.plist */, + B9023E0D239BCDBE00666BE6 /* iOS.swift */, + ); + path = iOS; + sourceTree = ""; + }; + B9023E15239BCDE900666BE6 /* watchOS */ = { + isa = PBXGroup; + children = ( + B9023E16239BCDE900666BE6 /* watchOS.h */, + B9023E17239BCDE900666BE6 /* Info.plist */, + B9023E1C239BCDF500666BE6 /* watchOS.swift */, + ); + path = watchOS; + sourceTree = ""; + }; + B9023E24239BCE1000666BE6 /* tvOS */ = { + isa = PBXGroup; + children = ( + B9023E25239BCE1000666BE6 /* tvOS.h */, + B9023E26239BCE1000666BE6 /* Info.plist */, + B9023E2B239BCE1800666BE6 /* tvOS.swift */, + ); + path = tvOS; + sourceTree = ""; + }; + B9023E33239BCE2D00666BE6 /* macOS */ = { + isa = PBXGroup; + children = ( + B9023E34239BCE2D00666BE6 /* macOS.h */, + B9023E35239BCE2D00666BE6 /* Info.plist */, + B9023E3A239BCE3300666BE6 /* macOS.swift */, + ); + path = macOS; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + B9023DFD239BCDA200666BE6 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + B9023E07239BCDA200666BE6 /* iOS.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E0F239BCDE900666BE6 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + B9023E18239BCDE900666BE6 /* watchOS.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E1E239BCE1000666BE6 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + B9023E27239BCE1000666BE6 /* tvOS.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E2D239BCE2D00666BE6 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + B9023E36239BCE2D00666BE6 /* macOS.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + B9023E01239BCDA200666BE6 /* iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = B9023E0A239BCDA200666BE6 /* Build configuration list for PBXNativeTarget "iOS" */; + buildPhases = ( + B9023DFD239BCDA200666BE6 /* Headers */, + B9023DFE239BCDA200666BE6 /* Sources */, + B9023DFF239BCDA200666BE6 /* Frameworks */, + B9023E00239BCDA200666BE6 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = iOS; + productName = iOS; + productReference = B9023E02239BCDA200666BE6 /* iOS.framework */; + productType = "com.apple.product-type.framework"; + }; + B9023E13239BCDE900666BE6 /* watchOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = B9023E19239BCDE900666BE6 /* Build configuration list for PBXNativeTarget "watchOS" */; + buildPhases = ( + B9023E0F239BCDE900666BE6 /* Headers */, + B9023E10239BCDE900666BE6 /* Sources */, + B9023E11239BCDE900666BE6 /* Frameworks */, + B9023E12239BCDE900666BE6 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = watchOS; + productName = watchOS; + productReference = B9023E14239BCDE900666BE6 /* watchOS.framework */; + productType = "com.apple.product-type.framework"; + }; + B9023E22239BCE1000666BE6 /* tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = B9023E28239BCE1000666BE6 /* Build configuration list for PBXNativeTarget "tvOS" */; + buildPhases = ( + B9023E1E239BCE1000666BE6 /* Headers */, + B9023E1F239BCE1000666BE6 /* Sources */, + B9023E20239BCE1000666BE6 /* Frameworks */, + B9023E21239BCE1000666BE6 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = tvOS; + productName = tvOS; + productReference = B9023E23239BCE1000666BE6 /* tvOS.framework */; + productType = "com.apple.product-type.framework"; + }; + B9023E31239BCE2D00666BE6 /* macOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = B9023E37239BCE2D00666BE6 /* Build configuration list for PBXNativeTarget "macOS" */; + buildPhases = ( + B9023E2D239BCE2D00666BE6 /* Headers */, + B9023E2E239BCE2D00666BE6 /* Sources */, + B9023E2F239BCE2D00666BE6 /* Frameworks */, + B9023E30239BCE2D00666BE6 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = macOS; + productName = macOS; + productReference = B9023E32239BCE2D00666BE6 /* macOS.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + B9023DF9239BCDA200666BE6 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1120; + ORGANIZATIONNAME = Tuist; + TargetAttributes = { + B9023E01239BCDA200666BE6 = { + CreatedOnToolsVersion = 11.2.1; + LastSwiftMigration = 1120; + }; + B9023E13239BCDE900666BE6 = { + CreatedOnToolsVersion = 11.2.1; + LastSwiftMigration = 1120; + }; + B9023E22239BCE1000666BE6 = { + CreatedOnToolsVersion = 11.2.1; + LastSwiftMigration = 1120; + }; + B9023E31239BCE2D00666BE6 = { + CreatedOnToolsVersion = 11.2.1; + LastSwiftMigration = 1120; + }; + }; + }; + buildConfigurationList = B9023DFC239BCDA200666BE6 /* Build configuration list for PBXProject "Frameworks" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = B9023DF8239BCDA200666BE6; + productRefGroup = B9023E03239BCDA200666BE6 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + B9023E01239BCDA200666BE6 /* iOS */, + B9023E13239BCDE900666BE6 /* watchOS */, + B9023E22239BCE1000666BE6 /* tvOS */, + B9023E31239BCE2D00666BE6 /* macOS */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + B9023E00239BCDA200666BE6 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E12239BCDE900666BE6 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E21239BCE1000666BE6 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E30239BCE2D00666BE6 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + B9023DFE239BCDA200666BE6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B9023E0E239BCDBE00666BE6 /* iOS.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E10239BCDE900666BE6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B9023E1D239BCDF500666BE6 /* watchOS.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E1F239BCE1000666BE6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B9023E2C239BCE1800666BE6 /* tvOS.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B9023E2E239BCE2D00666BE6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B9023E3B239BCE3300666BE6 /* macOS.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + B9023E08239BCDA200666BE6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + 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; + IPHONEOS_DEPLOYMENT_TARGET = 13.2; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + B9023E09239BCDA200666BE6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + 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; + IPHONEOS_DEPLOYMENT_TARGET = 13.2; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + B9023E0B239BCDA200666BE6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = iOS/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = io.tuist.iOS; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + B9023E0C239BCDA200666BE6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = iOS/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = io.tuist.iOS; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + B9023E1A239BCDE900666BE6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = watchOS/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = io.tuist.watchOS; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = watchos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 4; + WATCHOS_DEPLOYMENT_TARGET = 6.1; + }; + name = Debug; + }; + B9023E1B239BCDE900666BE6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = watchOS/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = io.tuist.watchOS; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = watchos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 4; + WATCHOS_DEPLOYMENT_TARGET = 6.1; + }; + name = Release; + }; + B9023E29239BCE1000666BE6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = tvOS/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = io.tuist.tvOS; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 13.2; + }; + name = Debug; + }; + B9023E2A239BCE1000666BE6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = tvOS/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = io.tuist.tvOS; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 13.2; + }; + name = Release; + }; + B9023E38239BCE2D00666BE6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = macOS/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.15; + PRODUCT_BUNDLE_IDENTIFIER = io.tuist.macOS; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + B9023E39239BCE2D00666BE6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = macOS/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.15; + PRODUCT_BUNDLE_IDENTIFIER = io.tuist.macOS; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + B9023DFC239BCDA200666BE6 /* Build configuration list for PBXProject "Frameworks" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B9023E08239BCDA200666BE6 /* Debug */, + B9023E09239BCDA200666BE6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B9023E0A239BCDA200666BE6 /* Build configuration list for PBXNativeTarget "iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B9023E0B239BCDA200666BE6 /* Debug */, + B9023E0C239BCDA200666BE6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B9023E19239BCDE900666BE6 /* Build configuration list for PBXNativeTarget "watchOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B9023E1A239BCDE900666BE6 /* Debug */, + B9023E1B239BCDE900666BE6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B9023E28239BCE1000666BE6 /* Build configuration list for PBXNativeTarget "tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B9023E29239BCE1000666BE6 /* Debug */, + B9023E2A239BCE1000666BE6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B9023E37239BCE2D00666BE6 /* Build configuration list for PBXNativeTarget "macOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B9023E38239BCE2D00666BE6 /* Debug */, + B9023E39239BCE2D00666BE6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = B9023DF9239BCDA200666BE6 /* Project object */; +} diff --git a/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000000..92a93066998 --- /dev/null +++ b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000000..18d981003d6 --- /dev/null +++ b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme new file mode 100644 index 00000000000..65004dc3c28 --- /dev/null +++ b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme new file mode 100644 index 00000000000..a84a2a494d8 --- /dev/null +++ b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/tvOS.xcscheme b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/tvOS.xcscheme new file mode 100644 index 00000000000..0afca8603db --- /dev/null +++ b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/tvOS.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/watchOS.xcscheme b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/watchOS.xcscheme new file mode 100644 index 00000000000..b2f260f4ba5 --- /dev/null +++ b/Tests/Fixtures/Frameworks/Frameworks.xcodeproj/xcshareddata/xcschemes/watchOS.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/TuistKitIntegrationTests/Cache/XCFrameworkBuilderIntegrationTests.swift b/Tests/TuistKitIntegrationTests/Cache/XCFrameworkBuilderIntegrationTests.swift index 22d0ee6a018..51ca110d418 100644 --- a/Tests/TuistKitIntegrationTests/Cache/XCFrameworkBuilderIntegrationTests.swift +++ b/Tests/TuistKitIntegrationTests/Cache/XCFrameworkBuilderIntegrationTests.swift @@ -15,7 +15,7 @@ final class XCFrameworkBuilderIntegrationTests: TuistTestCase { override func setUp() { super.setUp() plistDecoder = PropertyListDecoder() - subject = XCFrameworkBuilder(printOutput: true) + subject = XCFrameworkBuilder(printOutput: false) } override func tearDown() {