diff --git a/.gitignore b/.gitignore index 7d98539..c6b34d9 100644 --- a/.gitignore +++ b/.gitignore @@ -92,3 +92,13 @@ fastlane/test_output iOSInjectionProject/ RunLog/Secrets.xcconfig + +# Tuist +Derived +*.idea +*.xcodeproj +*.xcworkspace +*.package.resolved +*.xcuserstate +*.xcuserdatad +*.xcscmblueprint \ No newline at end of file diff --git a/RunLog/Project.swift b/RunLog/Project.swift new file mode 100644 index 0000000..c56bbec --- /dev/null +++ b/RunLog/Project.swift @@ -0,0 +1,41 @@ +import ProjectDescription + +let project = Project( + name: "RunLog", + organizationName: "ESTSOFTiOSTEAM1", + targets: [ + .target( + name: "RunLog", + destinations: [.iPhone], + product: .app, + bundleId: "com.ESTSOFTiOSTEAM1.IEEE.RunLog", + deploymentTargets: .iOS("17.0"), + infoPlist: .file(path: "RunLog/InfoPlists/RunLog-info.plist"), + sources: ["RunLog/Sources/**"], + resources: ["RunLog/Resources/**"], + dependencies: [ + .external(name: "SnapKit"), + .external(name: "Then"), + .external(name: "Moya"), + .external(name: "CombineMoya"), + .external(name: "NVActivityIndicatorView"), + .external(name: "NVActivityIndicatorViewExtended"), + ], + coreDataModels: [ + .coreDataModel("RunLog/Sources/Data/DTO/DTOs.xcdatamodeld") + ] + ), + .target( + name: "RpTest", + destinations: [.iPhone], + product: .unitTests, + bundleId: "com.ESTSOFTiOSTEAM1.IEEE.RpTest", + deploymentTargets: .iOS("17.0"), + infoPlist: .file(path: "RpTest/InfoPlists/RpTest-info.plist"), + sources: ["RpTest/Sources/**"], + dependencies: [ + .target(name: "RunLog") + ] + ) + ] +) diff --git a/RunLog/RpTest/InfoPlists/RpTest-Info.plist b/RunLog/RpTest/InfoPlists/RpTest-Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/RunLog/RpTest/InfoPlists/RpTest-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/RunLog/RpTest/DayLogUseCaseTest.swift b/RunLog/RpTest/Sources/DayLogUseCaseTest.swift similarity index 100% rename from RunLog/RpTest/DayLogUseCaseTest.swift rename to RunLog/RpTest/Sources/DayLogUseCaseTest.swift diff --git a/RunLog/RpTest/DoubleTest.swift b/RunLog/RpTest/Sources/DoubleTest.swift similarity index 100% rename from RunLog/RpTest/DoubleTest.swift rename to RunLog/RpTest/Sources/DoubleTest.swift diff --git a/RunLog/RpTest/MediaUseCaseTests.swift b/RunLog/RpTest/Sources/MediaUseCaseTests.swift similarity index 100% rename from RunLog/RpTest/MediaUseCaseTests.swift rename to RunLog/RpTest/Sources/MediaUseCaseTests.swift diff --git a/RunLog/RpTest/RpTest.swift b/RunLog/RpTest/Sources/RpTest.swift similarity index 100% rename from RunLog/RpTest/RpTest.swift rename to RunLog/RpTest/Sources/RpTest.swift diff --git a/RunLog/RpTest/TestCoreDataContainer.swift b/RunLog/RpTest/Sources/TestCoreDataContainer.swift similarity index 100% rename from RunLog/RpTest/TestCoreDataContainer.swift rename to RunLog/RpTest/Sources/TestCoreDataContainer.swift diff --git a/RunLog/RunLog.xcodeproj/project.pbxproj b/RunLog/RunLog.xcodeproj/project.pbxproj deleted file mode 100644 index fa97ae3..0000000 --- a/RunLog/RunLog.xcodeproj/project.pbxproj +++ /dev/null @@ -1,597 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 77; - objects = { - -/* Begin PBXBuildFile section */ - 16ACC8892D91220800104179 /* NVActivityIndicatorView in Frameworks */ = {isa = PBXBuildFile; productRef = 16ACC8882D91220800104179 /* NVActivityIndicatorView */; }; - 16ACC88B2D91220800104179 /* NVActivityIndicatorViewExtended in Frameworks */ = {isa = PBXBuildFile; productRef = 16ACC88A2D91220800104179 /* NVActivityIndicatorViewExtended */; }; - 16F688C22D82972000C2163F /* SnapKit in Frameworks */ = {isa = PBXBuildFile; productRef = 16F688C12D82972000C2163F /* SnapKit */; }; - 16F688C52D82972900C2163F /* Then in Frameworks */ = {isa = PBXBuildFile; productRef = 16F688C42D82972900C2163F /* Then */; }; - 16F688C82D82974E00C2163F /* CombineMoya in Frameworks */ = {isa = PBXBuildFile; productRef = 16F688C72D82974E00C2163F /* CombineMoya */; }; - 16F688CA2D82974E00C2163F /* Moya in Frameworks */ = {isa = PBXBuildFile; productRef = 16F688C92D82974E00C2163F /* Moya */; }; - 595FD80C2D90474C0073F561 /* Secrets.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 595FD80B2D90474C0073F561 /* Secrets.xcconfig */; }; - 595FD80D2D90474C0073F561 /* Secrets.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 595FD80B2D90474C0073F561 /* Secrets.xcconfig */; }; - 5EF1F5D62DA6266900C34BCB /* Secrets.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 5EF1F5D52DA6266900C34BCB /* Secrets.xcconfig */; }; - 5EF1F5D72DA6266900C34BCB /* Secrets.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 5EF1F5D52DA6266900C34BCB /* Secrets.xcconfig */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 16811EFA2D8A9E520013461D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 16F686AF2D827D6C00C2163F /* Project object */; - proxyType = 1; - remoteGlobalIDString = 16F686B62D827D6C00C2163F; - remoteInfo = RunLog; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 16811EF62D8A9E520013461D /* RpTest.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RpTest.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 16F686B72D827D6C00C2163F /* RunLog.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RunLog.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 595FD80B2D90474C0073F561 /* Secrets.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Secrets.xcconfig; sourceTree = ""; }; - 5EF1F5D52DA6266900C34BCB /* Secrets.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Secrets.xcconfig; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ - 16F686C92D827D6F00C2163F /* Exceptions for "RunLog" folder in "RunLog" target */ = { - isa = PBXFileSystemSynchronizedBuildFileExceptionSet; - membershipExceptions = ( - Info.plist, - Sources/Presentation/Common/Coordinator/.gitkeep, - Sources/Presentation/Log/Coordinator/.gitkeep, - Sources/Presentation/Run/ViewModel/Coordinator/.gitkeep, - Sources/Presentation/Setting/Coordinator/.gitkeep, - ); - target = 16F686B62D827D6C00C2163F /* RunLog */; - }; -/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */ - -/* Begin PBXFileSystemSynchronizedRootGroup section */ - 16811EF72D8A9E520013461D /* RpTest */ = { - isa = PBXFileSystemSynchronizedRootGroup; - path = RpTest; - sourceTree = ""; - }; - 16F686B92D827D6C00C2163F /* RunLog */ = { - isa = PBXFileSystemSynchronizedRootGroup; - exceptions = ( - 16F686C92D827D6F00C2163F /* Exceptions for "RunLog" folder in "RunLog" target */, - ); - path = RunLog; - sourceTree = ""; - }; -/* End PBXFileSystemSynchronizedRootGroup section */ - -/* Begin PBXFrameworksBuildPhase section */ - 16811EF32D8A9E520013461D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 16F686B42D827D6C00C2163F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 16F688C22D82972000C2163F /* SnapKit in Frameworks */, - 16ACC8892D91220800104179 /* NVActivityIndicatorView in Frameworks */, - 16F688C52D82972900C2163F /* Then in Frameworks */, - 16ACC88B2D91220800104179 /* NVActivityIndicatorViewExtended in Frameworks */, - 16F688CA2D82974E00C2163F /* Moya in Frameworks */, - 16F688C82D82974E00C2163F /* CombineMoya in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 16F686AE2D827D6C00C2163F = { - isa = PBXGroup; - children = ( - 5EF1F5D52DA6266900C34BCB /* Secrets.xcconfig */, - 595FD80B2D90474C0073F561 /* Secrets.xcconfig */, - 16F686B92D827D6C00C2163F /* RunLog */, - 16811EF72D8A9E520013461D /* RpTest */, - 16F686B82D827D6C00C2163F /* Products */, - ); - indentWidth = 4; - sourceTree = ""; - tabWidth = 4; - }; - 16F686B82D827D6C00C2163F /* Products */ = { - isa = PBXGroup; - children = ( - 16F686B72D827D6C00C2163F /* RunLog.app */, - 16811EF62D8A9E520013461D /* RpTest.xctest */, - ); - name = Products; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 16811EF52D8A9E520013461D /* RpTest */ = { - isa = PBXNativeTarget; - buildConfigurationList = 16811EFC2D8A9E520013461D /* Build configuration list for PBXNativeTarget "RpTest" */; - buildPhases = ( - 16811EF22D8A9E520013461D /* Sources */, - 16811EF32D8A9E520013461D /* Frameworks */, - 16811EF42D8A9E520013461D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 16811EFB2D8A9E520013461D /* PBXTargetDependency */, - ); - fileSystemSynchronizedGroups = ( - 16811EF72D8A9E520013461D /* RpTest */, - ); - name = RpTest; - packageProductDependencies = ( - ); - productName = RpTest; - productReference = 16811EF62D8A9E520013461D /* RpTest.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 16F686B62D827D6C00C2163F /* RunLog */ = { - isa = PBXNativeTarget; - buildConfigurationList = 16F686CA2D827D6F00C2163F /* Build configuration list for PBXNativeTarget "RunLog" */; - buildPhases = ( - 16F686B32D827D6C00C2163F /* Sources */, - 16F686B42D827D6C00C2163F /* Frameworks */, - 16F686B52D827D6C00C2163F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - fileSystemSynchronizedGroups = ( - 16F686B92D827D6C00C2163F /* RunLog */, - ); - name = RunLog; - packageProductDependencies = ( - 16F688C12D82972000C2163F /* SnapKit */, - 16F688C42D82972900C2163F /* Then */, - 16F688C72D82974E00C2163F /* CombineMoya */, - 16F688C92D82974E00C2163F /* Moya */, - 16ACC8882D91220800104179 /* NVActivityIndicatorView */, - 16ACC88A2D91220800104179 /* NVActivityIndicatorViewExtended */, - ); - productName = RunLog; - productReference = 16F686B72D827D6C00C2163F /* RunLog.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 16F686AF2D827D6C00C2163F /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1620; - LastUpgradeCheck = 1620; - TargetAttributes = { - 16811EF52D8A9E520013461D = { - CreatedOnToolsVersion = 16.2; - TestTargetID = 16F686B62D827D6C00C2163F; - }; - 16F686B62D827D6C00C2163F = { - CreatedOnToolsVersion = 16.2; - }; - }; - }; - buildConfigurationList = 16F686B22D827D6C00C2163F /* Build configuration list for PBXProject "RunLog" */; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 16F686AE2D827D6C00C2163F; - minimizedProjectReferenceProxies = 1; - packageReferences = ( - 16F688C02D82972000C2163F /* XCRemoteSwiftPackageReference "SnapKit" */, - 16F688C32D82972900C2163F /* XCRemoteSwiftPackageReference "Then" */, - 16F688C62D82974E00C2163F /* XCRemoteSwiftPackageReference "Moya" */, - 16ACC8872D91220800104179 /* XCRemoteSwiftPackageReference "NVActivityIndicatorView" */, - ); - preferredProjectObjectVersion = 77; - productRefGroup = 16F686B82D827D6C00C2163F /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 16F686B62D827D6C00C2163F /* RunLog */, - 16811EF52D8A9E520013461D /* RpTest */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 16811EF42D8A9E520013461D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 5EF1F5D62DA6266900C34BCB /* Secrets.xcconfig in Resources */, - 595FD80C2D90474C0073F561 /* Secrets.xcconfig in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 16F686B52D827D6C00C2163F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 5EF1F5D72DA6266900C34BCB /* Secrets.xcconfig in Resources */, - 595FD80D2D90474C0073F561 /* Secrets.xcconfig in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 16811EF22D8A9E520013461D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 16F686B32D827D6C00C2163F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 16811EFB2D8A9E520013461D /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 16F686B62D827D6C00C2163F /* RunLog */; - targetProxy = 16811EFA2D8A9E520013461D /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 16811EFD2D8A9E520013461D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 595FD80B2D90474C0073F561 /* Secrets.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = 83K577A944; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.IEEE.RpTest; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RunLog.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/RunLog"; - }; - name = Debug; - }; - 16811EFE2D8A9E520013461D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 595FD80B2D90474C0073F561 /* Secrets.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = 83K577A944; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.IEEE.RpTest; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RunLog.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/RunLog"; - }; - name = Release; - }; - 16F686CB2D827D6F00C2163F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 595FD80B2D90474C0073F561 /* Secrets.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = 83K577A944; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = RunLog/Info.plist; - INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "운동 거리 기록 및 시각화 정보 제공을 위한 위치 권한을 항상 혹은 앱 활성 시에만 허용하시겠습니까?"; - INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "운동 거리 기록 및 시각화 정보 제공을 위한 위치 권한을 항상 허용하시겠습니까?"; - INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "운동 거리 기록 및 시각화 정보 제공을 위한 위치 권한을 앱 활성 시에만 허용하시겠습니까?"; - INFOPLIST_KEY_NSMotionUsageDescription = "이 앱은 걸음 수를 측정하여 운동 데이터를 제공합니다."; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchStoryboardName = "Launch Screen.storyboard"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UIUserInterfaceStyle = Dark; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.Syr.IEEE.RunLog; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; - }; - name = Debug; - }; - 16F686CC2D827D6F00C2163F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 595FD80B2D90474C0073F561 /* Secrets.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = 83K577A944; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = RunLog/Info.plist; - INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "운동 거리 기록 및 시각화 정보 제공을 위한 위치 권한을 항상 혹은 앱 활성 시에만 허용하시겠습니까?"; - INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "운동 거리 기록 및 시각화 정보 제공을 위한 위치 권한을 항상 허용하시겠습니까?"; - INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "운동 거리 기록 및 시각화 정보 제공을 위한 위치 권한을 앱 활성 시에만 허용하시겠습니까?"; - INFOPLIST_KEY_NSMotionUsageDescription = "이 앱은 걸음 수를 측정하여 운동 데이터를 제공합니다."; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchStoryboardName = "Launch Screen.storyboard"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UIUserInterfaceStyle = Dark; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.Syr.IEEE.RunLog; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; - }; - name = Release; - }; - 16F686CD2D827D6F00C2163F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - 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; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - 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 = 18.2; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 16F686CE2D827D6F00C2163F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - 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; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - 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 = 18.2; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 16811EFC2D8A9E520013461D /* Build configuration list for PBXNativeTarget "RpTest" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 16811EFD2D8A9E520013461D /* Debug */, - 16811EFE2D8A9E520013461D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 16F686B22D827D6C00C2163F /* Build configuration list for PBXProject "RunLog" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 16F686CD2D827D6F00C2163F /* Debug */, - 16F686CE2D827D6F00C2163F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 16F686CA2D827D6F00C2163F /* Build configuration list for PBXNativeTarget "RunLog" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 16F686CB2D827D6F00C2163F /* Debug */, - 16F686CC2D827D6F00C2163F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCRemoteSwiftPackageReference section */ - 16ACC8872D91220800104179 /* XCRemoteSwiftPackageReference "NVActivityIndicatorView" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/ninjaprox/NVActivityIndicatorView"; - requirement = { - kind = upToNextMajorVersion; - minimumVersion = 5.2.0; - }; - }; - 16F688C02D82972000C2163F /* XCRemoteSwiftPackageReference "SnapKit" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/SnapKit/SnapKit"; - requirement = { - kind = upToNextMajorVersion; - minimumVersion = 5.7.1; - }; - }; - 16F688C32D82972900C2163F /* XCRemoteSwiftPackageReference "Then" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/devxoul/Then"; - requirement = { - kind = upToNextMajorVersion; - minimumVersion = 3.0.0; - }; - }; - 16F688C62D82974E00C2163F /* XCRemoteSwiftPackageReference "Moya" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/Moya/Moya.git"; - requirement = { - kind = upToNextMajorVersion; - minimumVersion = 15.0.3; - }; - }; -/* End XCRemoteSwiftPackageReference section */ - -/* Begin XCSwiftPackageProductDependency section */ - 16ACC8882D91220800104179 /* NVActivityIndicatorView */ = { - isa = XCSwiftPackageProductDependency; - package = 16ACC8872D91220800104179 /* XCRemoteSwiftPackageReference "NVActivityIndicatorView" */; - productName = NVActivityIndicatorView; - }; - 16ACC88A2D91220800104179 /* NVActivityIndicatorViewExtended */ = { - isa = XCSwiftPackageProductDependency; - package = 16ACC8872D91220800104179 /* XCRemoteSwiftPackageReference "NVActivityIndicatorView" */; - productName = NVActivityIndicatorViewExtended; - }; - 16F688C12D82972000C2163F /* SnapKit */ = { - isa = XCSwiftPackageProductDependency; - package = 16F688C02D82972000C2163F /* XCRemoteSwiftPackageReference "SnapKit" */; - productName = SnapKit; - }; - 16F688C42D82972900C2163F /* Then */ = { - isa = XCSwiftPackageProductDependency; - package = 16F688C32D82972900C2163F /* XCRemoteSwiftPackageReference "Then" */; - productName = Then; - }; - 16F688C72D82974E00C2163F /* CombineMoya */ = { - isa = XCSwiftPackageProductDependency; - package = 16F688C62D82974E00C2163F /* XCRemoteSwiftPackageReference "Moya" */; - productName = CombineMoya; - }; - 16F688C92D82974E00C2163F /* Moya */ = { - isa = XCSwiftPackageProductDependency; - package = 16F688C62D82974E00C2163F /* XCRemoteSwiftPackageReference "Moya" */; - productName = Moya; - }; -/* End XCSwiftPackageProductDependency section */ - }; - rootObject = 16F686AF2D827D6C00C2163F /* Project object */; -} diff --git a/RunLog/RunLog.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/configuration/.gitkeep b/RunLog/RunLog.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/configuration/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/RunLog/RunLog.xcodeproj/xcshareddata/xcschemes/RunLog.xcscheme b/RunLog/RunLog.xcodeproj/xcshareddata/xcschemes/RunLog.xcscheme deleted file mode 100644 index abfa71a..0000000 --- a/RunLog/RunLog.xcodeproj/xcshareddata/xcschemes/RunLog.xcscheme +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/RunLog/RunLog/InfoPlists/RunLog-Info.plist b/RunLog/RunLog/InfoPlists/RunLog-Info.plist new file mode 100644 index 0000000..fa49936 --- /dev/null +++ b/RunLog/RunLog/InfoPlists/RunLog-Info.plist @@ -0,0 +1,85 @@ + + + + + API_KEY + $(API_KEY) + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + + NSRemoteNotificationUsageDescription + 푸시 알림을 통해 개인화된 최신 소식을 받아보세요. + UIAppFonts + + NanumMyeongjo-Regular.ttf + RacingSansOne-Regular.ttf + Pretendard-Black.otf + Pretendard-Bold.otf + Pretendard-ExtraBold.otf + Pretendard-ExtraLight.otf + Pretendard-Light.otf + Pretendard-Medium.otf + Pretendard-Regular.otf + Pretendard-SemiBold.otf + Pretendard-Thin.otf + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + + + + + UIBackgroundModes + + location + + UILaunchScreen + + UIColorName + + UIImageName + + + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/RunLog/RunLog/Resources/DesignSystem/ButtonSystem.swift b/RunLog/RunLog/Sources/DesignSystem/ButtonSystem.swift similarity index 100% rename from RunLog/RunLog/Resources/DesignSystem/ButtonSystem.swift rename to RunLog/RunLog/Sources/DesignSystem/ButtonSystem.swift diff --git a/RunLog/RunLog/Resources/DesignSystem/ColorSystem.swift b/RunLog/RunLog/Sources/DesignSystem/ColorSystem.swift similarity index 100% rename from RunLog/RunLog/Resources/DesignSystem/ColorSystem.swift rename to RunLog/RunLog/Sources/DesignSystem/ColorSystem.swift diff --git a/RunLog/RunLog/Resources/DesignSystem/FontSystem.swift b/RunLog/RunLog/Sources/DesignSystem/FontSystem.swift similarity index 100% rename from RunLog/RunLog/Resources/DesignSystem/FontSystem.swift rename to RunLog/RunLog/Sources/DesignSystem/FontSystem.swift diff --git a/RunLog/RunLog/Resources/DesignSystem/IconSystem.swift b/RunLog/RunLog/Sources/DesignSystem/IconSystem.swift similarity index 100% rename from RunLog/RunLog/Resources/DesignSystem/IconSystem.swift rename to RunLog/RunLog/Sources/DesignSystem/IconSystem.swift diff --git a/RunLog/RunLog/Resources/DesignSystem/LabelSystem.swift b/RunLog/RunLog/Sources/DesignSystem/LabelSystem.swift similarity index 100% rename from RunLog/RunLog/Resources/DesignSystem/LabelSystem.swift rename to RunLog/RunLog/Sources/DesignSystem/LabelSystem.swift diff --git a/RunLog/RunLog/Resources/DesignSystem/TextFieldSystem.swift b/RunLog/RunLog/Sources/DesignSystem/TextFieldSystem.swift similarity index 100% rename from RunLog/RunLog/Resources/DesignSystem/TextFieldSystem.swift rename to RunLog/RunLog/Sources/DesignSystem/TextFieldSystem.swift diff --git a/RunLog/RunLog/Resources/DesignSystem/TextSystem.swift b/RunLog/RunLog/Sources/DesignSystem/TextSystem.swift similarity index 100% rename from RunLog/RunLog/Resources/DesignSystem/TextSystem.swift rename to RunLog/RunLog/Sources/DesignSystem/TextSystem.swift diff --git a/RunLog/Tuist.swift b/RunLog/Tuist.swift new file mode 100644 index 0000000..ebf9894 --- /dev/null +++ b/RunLog/Tuist.swift @@ -0,0 +1,3 @@ +import ProjectDescription + +let tuist = Tuist(project: .tuist()) \ No newline at end of file diff --git a/RunLog/RunLog.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/RunLog/Tuist/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata similarity index 100% rename from RunLog/RunLog.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to RunLog/Tuist/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata diff --git a/RunLog/RunLog.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/RunLog/Tuist/Package.resolved similarity index 95% rename from RunLog/RunLog.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved rename to RunLog/Tuist/Package.resolved index 96dd697..3ef032c 100644 --- a/RunLog/RunLog.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/RunLog/Tuist/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "21c845a49d18f211faf89364dc98aa64ff4e57c6bb1b29cb868ce55f290fe5a3", + "originHash" : "da1afc2fdfc163d0abf119a86f1e39dc3e7f50655afb6314eed332b913a181ab", "pins" : [ { "identity" : "alamofire", diff --git a/RunLog/Tuist/Package.swift b/RunLog/Tuist/Package.swift new file mode 100644 index 0000000..1c333a9 --- /dev/null +++ b/RunLog/Tuist/Package.swift @@ -0,0 +1,23 @@ +// swift-tools-version: 6.0 +import PackageDescription + +#if TUIST +import struct ProjectDescription.PackageSettings + +let packageSettings = PackageSettings( + // Customize the product types for specific package product + // Default is .staticFramework + // productTypes: ["Alamofire": .framework,] + productTypes: [:] +) +#endif + +let package = Package( + name: "RunLogPackages", + dependencies: [ + .package(url: "https://github.com/SnapKit/SnapKit", from: "5.7.1"), + .package(url: "https://github.com/devxoul/Then", from: "3.0.0"), + .package(url: "https://github.com/Moya/Moya.git", from: "15.0.3"), + .package(url: "https://github.com/ninjaprox/NVActivityIndicatorView", from: "5.2.0") + ] +) diff --git a/RunLog/mise.toml b/RunLog/mise.toml new file mode 100644 index 0000000..04bfd95 --- /dev/null +++ b/RunLog/mise.toml @@ -0,0 +1,2 @@ +[tools] +tuist = "4.55.6"