From 5b047619d5beecd11902f41f0228894e163d2f87 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 16 Apr 2024 23:52:35 +0900 Subject: [PATCH] - --- planner.xcodeproj/project.pbxproj | 131 ++++++++++++++---------------- planner/ContentView.swift | 12 +-- planner/plannerApp.swift | 2 +- 3 files changed, 71 insertions(+), 74 deletions(-) diff --git a/planner.xcodeproj/project.pbxproj b/planner.xcodeproj/project.pbxproj index bb1147d..1b80167 100644 --- a/planner.xcodeproj/project.pbxproj +++ b/planner.xcodeproj/project.pbxproj @@ -7,22 +7,22 @@ objects = { /* Begin PBXBuildFile section */ - EAB41B0A2BCD640B007B7FA0 /* plannerApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAB41B092BCD640B007B7FA0 /* plannerApp.swift */; }; - EAB41B0C2BCD640B007B7FA0 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAB41B0B2BCD640B007B7FA0 /* ContentView.swift */; }; - EAB41B0E2BCD640D007B7FA0 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EAB41B0D2BCD640D007B7FA0 /* Assets.xcassets */; }; - EAB41B112BCD640D007B7FA0 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EAB41B102BCD640D007B7FA0 /* Preview Assets.xcassets */; }; + 5B35C23A2BCEC70C009885EC /* plannerApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B35C2352BCEC70B009885EC /* plannerApp.swift */; }; + 5B35C23B2BCEC70C009885EC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5B35C2362BCEC70B009885EC /* Assets.xcassets */; }; + 5B35C23C2BCEC70C009885EC /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5B35C2382BCEC70B009885EC /* Preview Assets.xcassets */; }; + 5B35C23D2BCEC70C009885EC /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B35C2392BCEC70B009885EC /* ContentView.swift */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - EAB41B062BCD640B007B7FA0 /* planner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = planner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - EAB41B092BCD640B007B7FA0 /* plannerApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = plannerApp.swift; sourceTree = ""; }; - EAB41B0B2BCD640B007B7FA0 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; - EAB41B0D2BCD640D007B7FA0 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - EAB41B102BCD640D007B7FA0 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 5B2630DE2BCEC521002E200D /* planner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = planner.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 5B35C2352BCEC70B009885EC /* plannerApp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = plannerApp.swift; sourceTree = ""; }; + 5B35C2362BCEC70B009885EC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 5B35C2382BCEC70B009885EC /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 5B35C2392BCEC70B009885EC /* ContentView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - EAB41B032BCD640B007B7FA0 /* Frameworks */ = { + 5B2630DB2BCEC521002E200D /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( @@ -32,37 +32,37 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - EAB41AFD2BCD640B007B7FA0 = { + 5B2630D52BCEC521002E200D = { isa = PBXGroup; children = ( - EAB41B082BCD640B007B7FA0 /* planner */, - EAB41B072BCD640B007B7FA0 /* Products */, + 5B35C2342BCEC70B009885EC /* planner */, + 5B2630DF2BCEC521002E200D /* Products */, ); sourceTree = ""; }; - EAB41B072BCD640B007B7FA0 /* Products */ = { + 5B2630DF2BCEC521002E200D /* Products */ = { isa = PBXGroup; children = ( - EAB41B062BCD640B007B7FA0 /* planner.app */, + 5B2630DE2BCEC521002E200D /* planner.app */, ); name = Products; sourceTree = ""; }; - EAB41B082BCD640B007B7FA0 /* planner */ = { + 5B35C2342BCEC70B009885EC /* planner */ = { isa = PBXGroup; children = ( - EAB41B092BCD640B007B7FA0 /* plannerApp.swift */, - EAB41B0B2BCD640B007B7FA0 /* ContentView.swift */, - EAB41B0D2BCD640D007B7FA0 /* Assets.xcassets */, - EAB41B0F2BCD640D007B7FA0 /* Preview Content */, + 5B35C2352BCEC70B009885EC /* plannerApp.swift */, + 5B35C2392BCEC70B009885EC /* ContentView.swift */, + 5B35C2362BCEC70B009885EC /* Assets.xcassets */, + 5B35C2372BCEC70B009885EC /* Preview Content */, ); path = planner; sourceTree = ""; }; - EAB41B0F2BCD640D007B7FA0 /* Preview Content */ = { + 5B35C2372BCEC70B009885EC /* Preview Content */ = { isa = PBXGroup; children = ( - EAB41B102BCD640D007B7FA0 /* Preview Assets.xcassets */, + 5B35C2382BCEC70B009885EC /* Preview Assets.xcassets */, ); path = "Preview Content"; sourceTree = ""; @@ -70,39 +70,39 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - EAB41B052BCD640B007B7FA0 /* planner */ = { + 5B2630DD2BCEC521002E200D /* planner */ = { isa = PBXNativeTarget; - buildConfigurationList = EAB41B142BCD640D007B7FA0 /* Build configuration list for PBXNativeTarget "planner" */; + buildConfigurationList = 5B2630EC2BCEC525002E200D /* Build configuration list for PBXNativeTarget "planner" */; buildPhases = ( - EAB41B022BCD640B007B7FA0 /* Sources */, - EAB41B032BCD640B007B7FA0 /* Frameworks */, - EAB41B042BCD640B007B7FA0 /* Resources */, + 5B2630DA2BCEC521002E200D /* Sources */, + 5B2630DB2BCEC521002E200D /* Frameworks */, + 5B2630DC2BCEC521002E200D /* Resources */, ); buildRules = ( ); dependencies = ( ); name = planner; - productName = planner; - productReference = EAB41B062BCD640B007B7FA0 /* planner.app */; + productName = dsfgad; + productReference = 5B2630DE2BCEC521002E200D /* planner.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ - EAB41AFE2BCD640B007B7FA0 /* Project object */ = { + 5B2630D62BCEC521002E200D /* Project object */ = { isa = PBXProject; attributes = { BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1520; - LastUpgradeCheck = 1520; + LastSwiftUpdateCheck = 1420; + LastUpgradeCheck = 1420; TargetAttributes = { - EAB41B052BCD640B007B7FA0 = { - CreatedOnToolsVersion = 15.2; + 5B2630DD2BCEC521002E200D = { + CreatedOnToolsVersion = 14.2; }; }; }; - buildConfigurationList = EAB41B012BCD640B007B7FA0 /* Build configuration list for PBXProject "planner" */; + buildConfigurationList = 5B2630D92BCEC521002E200D /* Build configuration list for PBXProject "planner" */; compatibilityVersion = "Xcode 14.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -110,46 +110,45 @@ en, Base, ); - mainGroup = EAB41AFD2BCD640B007B7FA0; - productRefGroup = EAB41B072BCD640B007B7FA0 /* Products */; + mainGroup = 5B2630D52BCEC521002E200D; + productRefGroup = 5B2630DF2BCEC521002E200D /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - EAB41B052BCD640B007B7FA0 /* planner */, + 5B2630DD2BCEC521002E200D /* planner */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - EAB41B042BCD640B007B7FA0 /* Resources */ = { + 5B2630DC2BCEC521002E200D /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - EAB41B112BCD640D007B7FA0 /* Preview Assets.xcassets in Resources */, - EAB41B0E2BCD640D007B7FA0 /* Assets.xcassets in Resources */, + 5B35C23C2BCEC70C009885EC /* Preview Assets.xcassets in Resources */, + 5B35C23B2BCEC70C009885EC /* Assets.xcassets in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ - EAB41B022BCD640B007B7FA0 /* Sources */ = { + 5B2630DA2BCEC521002E200D /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - EAB41B0C2BCD640B007B7FA0 /* ContentView.swift in Sources */, - EAB41B0A2BCD640B007B7FA0 /* plannerApp.swift in Sources */, + 5B35C23D2BCEC70C009885EC /* ContentView.swift in Sources */, + 5B35C23A2BCEC70C009885EC /* plannerApp.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ - EAB41B122BCD640D007B7FA0 /* Debug */ = { + 5B2630EA2BCEC525002E200D /* 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"; @@ -182,8 +181,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; @@ -197,22 +195,20 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.2; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.2; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; name = Debug; }; - EAB41B132BCD640D007B7FA0 /* Release */ = { + 5B2630EB2BCEC525002E200D /* 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"; @@ -245,8 +241,7 @@ 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_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; @@ -254,17 +249,17 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.2; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.2; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; VALIDATE_PRODUCT = YES; }; name = Release; }; - EAB41B152BCD640D007B7FA0 /* Debug */ = { + 5B2630ED2BCEC525002E200D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -285,7 +280,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = zone.cloudmartin.planner; + PRODUCT_BUNDLE_IDENTIFIER = "zone.martin.martin-planner"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; @@ -293,7 +288,7 @@ }; name = Debug; }; - EAB41B162BCD640D007B7FA0 /* Release */ = { + 5B2630EE2BCEC525002E200D /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -314,7 +309,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = zone.cloudmartin.planner; + PRODUCT_BUNDLE_IDENTIFIER = "zone.martin.martin-planner"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; @@ -325,25 +320,25 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - EAB41B012BCD640B007B7FA0 /* Build configuration list for PBXProject "planner" */ = { + 5B2630D92BCEC521002E200D /* Build configuration list for PBXProject "planner" */ = { isa = XCConfigurationList; buildConfigurations = ( - EAB41B122BCD640D007B7FA0 /* Debug */, - EAB41B132BCD640D007B7FA0 /* Release */, + 5B2630EA2BCEC525002E200D /* Debug */, + 5B2630EB2BCEC525002E200D /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - EAB41B142BCD640D007B7FA0 /* Build configuration list for PBXNativeTarget "planner" */ = { + 5B2630EC2BCEC525002E200D /* Build configuration list for PBXNativeTarget "planner" */ = { isa = XCConfigurationList; buildConfigurations = ( - EAB41B152BCD640D007B7FA0 /* Debug */, - EAB41B162BCD640D007B7FA0 /* Release */, + 5B2630ED2BCEC525002E200D /* Debug */, + 5B2630EE2BCEC525002E200D /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; - rootObject = EAB41AFE2BCD640B007B7FA0 /* Project object */; + rootObject = 5B2630D62BCEC521002E200D /* Project object */; } diff --git a/planner/ContentView.swift b/planner/ContentView.swift index db26a96..d1ab187 100644 --- a/planner/ContentView.swift +++ b/planner/ContentView.swift @@ -2,7 +2,7 @@ // ContentView.swift // planner // -// Created by JaehyeonS on 4/15/24. +// Created by martin on 2024/04/16. // import SwiftUI @@ -12,13 +12,15 @@ struct ContentView: View { VStack { Image(systemName: "globe") .imageScale(.large) - .foregroundStyle(.tint) - Text("start!") + .foregroundColor(.accentColor) + Text("Hello, world!") } .padding() } } -#Preview { - ContentView() +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } } diff --git a/planner/plannerApp.swift b/planner/plannerApp.swift index 209082d..55b5c2e 100644 --- a/planner/plannerApp.swift +++ b/planner/plannerApp.swift @@ -2,7 +2,7 @@ // plannerApp.swift // planner // -// Created by JaehyeonS on 4/15/24. +// Created by martin on 2024/04/16. // import SwiftUI