From bbd9ba6318df626e78c23a5e48944efa2f614c7c Mon Sep 17 00:00:00 2001 From: Arafamamadouellaphi Date: Wed, 21 Jun 2023 18:15:56 +0200 Subject: [PATCH] fn --- .../HelloCLT.xcodeproj/project.pbxproj | 313 ------------------ Sources/HelloCLT/HelloCLT/main.swift | 14 - Sources/HelloLibrary/.gitignore | 7 - Sources/HelloLibrary/Package.swift | 28 -- Sources/HelloLibrary/README.md | 3 - .../Sources/HelloLibrary/HelloStruct.swift | 6 - .../HelloLibraryTests/HelloStructTests.swift | 11 - .../contents.xcworkspacedata | 10 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - 9 files changed, 400 deletions(-) delete mode 100644 Sources/HelloCLT/HelloCLT.xcodeproj/project.pbxproj delete mode 100644 Sources/HelloCLT/HelloCLT/main.swift delete mode 100644 Sources/HelloLibrary/.gitignore delete mode 100644 Sources/HelloLibrary/Package.swift delete mode 100644 Sources/HelloLibrary/README.md delete mode 100644 Sources/HelloLibrary/Sources/HelloLibrary/HelloStruct.swift delete mode 100644 Sources/HelloLibrary/Tests/HelloLibraryTests/HelloStructTests.swift delete mode 100644 Sources/HelloWorkspace.xcworkspace/contents.xcworkspacedata delete mode 100644 Sources/HelloWorkspace.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/Sources/HelloCLT/HelloCLT.xcodeproj/project.pbxproj b/Sources/HelloCLT/HelloCLT.xcodeproj/project.pbxproj deleted file mode 100644 index e92c528..0000000 --- a/Sources/HelloCLT/HelloCLT.xcodeproj/project.pbxproj +++ /dev/null @@ -1,313 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 55; - objects = { - -/* Begin PBXBuildFile section */ - 6FC153182820EFB500D881F3 /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FC153172820EFB500D881F3 /* main.swift */; }; - 6FC153202820EFD800D881F3 /* HelloLibrary in Frameworks */ = {isa = PBXBuildFile; productRef = 6FC1531F2820EFD800D881F3 /* HelloLibrary */; }; -/* End PBXBuildFile section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 6FC153122820EFB500D881F3 /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = /usr/share/man/man1/; - dstSubfolderSpec = 0; - files = ( - ); - runOnlyForDeploymentPostprocessing = 1; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 6FC153142820EFB500D881F3 /* HelloCLT */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = HelloCLT; sourceTree = BUILT_PRODUCTS_DIR; }; - 6FC153172820EFB500D881F3 /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 6FC153112820EFB500D881F3 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 6FC153202820EFD800D881F3 /* HelloLibrary in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 6FC1530B2820EFB500D881F3 = { - isa = PBXGroup; - children = ( - 6FC153162820EFB500D881F3 /* HelloCLT */, - 6FC153152820EFB500D881F3 /* Products */, - 6FC1531E2820EFD800D881F3 /* Frameworks */, - ); - sourceTree = ""; - }; - 6FC153152820EFB500D881F3 /* Products */ = { - isa = PBXGroup; - children = ( - 6FC153142820EFB500D881F3 /* HelloCLT */, - ); - name = Products; - sourceTree = ""; - }; - 6FC153162820EFB500D881F3 /* HelloCLT */ = { - isa = PBXGroup; - children = ( - 6FC153172820EFB500D881F3 /* main.swift */, - ); - path = HelloCLT; - sourceTree = ""; - }; - 6FC1531E2820EFD800D881F3 /* Frameworks */ = { - isa = PBXGroup; - children = ( - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 6FC153132820EFB500D881F3 /* HelloCLT */ = { - isa = PBXNativeTarget; - buildConfigurationList = 6FC1531B2820EFB500D881F3 /* Build configuration list for PBXNativeTarget "HelloCLT" */; - buildPhases = ( - 6FC153102820EFB500D881F3 /* Sources */, - 6FC153112820EFB500D881F3 /* Frameworks */, - 6FC153122820EFB500D881F3 /* CopyFiles */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = HelloCLT; - packageProductDependencies = ( - 6FC1531F2820EFD800D881F3 /* HelloLibrary */, - ); - productName = HelloCLT; - productReference = 6FC153142820EFB500D881F3 /* HelloCLT */; - productType = "com.apple.product-type.tool"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 6FC1530C2820EFB500D881F3 /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1320; - LastUpgradeCheck = 1320; - TargetAttributes = { - 6FC153132820EFB500D881F3 = { - CreatedOnToolsVersion = 13.2.1; - }; - }; - }; - buildConfigurationList = 6FC1530F2820EFB500D881F3 /* Build configuration list for PBXProject "HelloCLT" */; - compatibilityVersion = "Xcode 13.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 6FC1530B2820EFB500D881F3; - productRefGroup = 6FC153152820EFB500D881F3 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 6FC153132820EFB500D881F3 /* HelloCLT */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 6FC153102820EFB500D881F3 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 6FC153182820EFB500D881F3 /* main.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 6FC153192820EFB500D881F3 /* 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++17"; - 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - 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; - 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; - MACOSX_DEPLOYMENT_TARGET = 11.6; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 6FC1531A2820EFB500D881F3 /* 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++17"; - 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - 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; - 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; - MACOSX_DEPLOYMENT_TARGET = 11.6; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Release; - }; - 6FC1531C2820EFB500D881F3 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = 9NSYVG2S5B; - ENABLE_HARDENED_RUNTIME = YES; - PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 6FC1531D2820EFB500D881F3 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = 9NSYVG2S5B; - ENABLE_HARDENED_RUNTIME = YES; - PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 6FC1530F2820EFB500D881F3 /* Build configuration list for PBXProject "HelloCLT" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6FC153192820EFB500D881F3 /* Debug */, - 6FC1531A2820EFB500D881F3 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 6FC1531B2820EFB500D881F3 /* Build configuration list for PBXNativeTarget "HelloCLT" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6FC1531C2820EFB500D881F3 /* Debug */, - 6FC1531D2820EFB500D881F3 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCSwiftPackageProductDependency section */ - 6FC1531F2820EFD800D881F3 /* HelloLibrary */ = { - isa = XCSwiftPackageProductDependency; - productName = HelloLibrary; - }; -/* End XCSwiftPackageProductDependency section */ - }; - rootObject = 6FC1530C2820EFB500D881F3 /* Project object */; -} diff --git a/Sources/HelloCLT/HelloCLT/main.swift b/Sources/HelloCLT/HelloCLT/main.swift deleted file mode 100644 index ce0a84d..0000000 --- a/Sources/HelloCLT/HelloCLT/main.swift +++ /dev/null @@ -1,14 +0,0 @@ -// -// main.swift -// HelloCLT -// -// Created by Marc Chevaldonné on 03/05/2022. -// - -import HelloLibrary - -import Foundation - -let helloStruct = HelloStruct() -print(helloStruct.text) - diff --git a/Sources/HelloLibrary/.gitignore b/Sources/HelloLibrary/.gitignore deleted file mode 100644 index bb460e7..0000000 --- a/Sources/HelloLibrary/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -.DS_Store -/.build -/Packages -/*.xcodeproj -xcuserdata/ -DerivedData/ -.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata diff --git a/Sources/HelloLibrary/Package.swift b/Sources/HelloLibrary/Package.swift deleted file mode 100644 index ce5cb59..0000000 --- a/Sources/HelloLibrary/Package.swift +++ /dev/null @@ -1,28 +0,0 @@ -// swift-tools-version:5.5 -// The swift-tools-version declares the minimum version of Swift required to build this package. - -import PackageDescription - -let package = Package( - name: "HelloLibrary", - products: [ - // Products define the executables and libraries a package produces, and make them visible to other packages. - .library( - name: "HelloLibrary", - targets: ["HelloLibrary"]), - ], - dependencies: [ - // Dependencies declare other packages that this package depends on. - // .package(url: /* package url */, from: "1.0.0"), - ], - targets: [ - // Targets are the basic building blocks of a package. A target can define a module or a test suite. - // Targets can depend on other targets in this package, and on products in packages this package depends on. - .target( - name: "HelloLibrary", - dependencies: []), - .testTarget( - name: "HelloLibraryTests", - dependencies: ["HelloLibrary"]), - ] -) diff --git a/Sources/HelloLibrary/README.md b/Sources/HelloLibrary/README.md deleted file mode 100644 index 5cdc795..0000000 --- a/Sources/HelloLibrary/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# HelloLibrary - -A description of this package. diff --git a/Sources/HelloLibrary/Sources/HelloLibrary/HelloStruct.swift b/Sources/HelloLibrary/Sources/HelloLibrary/HelloStruct.swift deleted file mode 100644 index 9ebdb96..0000000 --- a/Sources/HelloLibrary/Sources/HelloLibrary/HelloStruct.swift +++ /dev/null @@ -1,6 +0,0 @@ -public struct HelloStruct { - public private(set) var text = "Hello, World!" - - public init() { - } -} diff --git a/Sources/HelloLibrary/Tests/HelloLibraryTests/HelloStructTests.swift b/Sources/HelloLibrary/Tests/HelloLibraryTests/HelloStructTests.swift deleted file mode 100644 index 13ca6f5..0000000 --- a/Sources/HelloLibrary/Tests/HelloLibraryTests/HelloStructTests.swift +++ /dev/null @@ -1,11 +0,0 @@ -import XCTest -@testable import HelloLibrary - -final class HelloStructTests: XCTestCase { - func testExample() throws { - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct - // results. - XCTAssertEqual(HelloStruct().text, "Hello, World!") - } -} diff --git a/Sources/HelloWorkspace.xcworkspace/contents.xcworkspacedata b/Sources/HelloWorkspace.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index d8179a9..0000000 --- a/Sources/HelloWorkspace.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/Sources/HelloWorkspace.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Sources/HelloWorkspace.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/Sources/HelloWorkspace.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - -