diff --git a/GrowSteps.xcodeproj/project.pbxproj b/GrowSteps.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f3b5740 --- /dev/null +++ b/GrowSteps.xcodeproj/project.pbxproj @@ -0,0 +1,617 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + EB765EE227C57C5300FC9E83 /* HealthAvatar.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB765EE127C57C5300FC9E83 /* HealthAvatar.swift */; }; + EB765EE527C5874000FC9E83 /* WellnessState.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB765EE427C5874000FC9E83 /* WellnessState.swift */; }; + EB82B3ED27AF31EF00F46135 /* HealthKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EB82B3EC27AF31EF00F46135 /* HealthKit.framework */; }; + EB82B3F227AF3ABC00F46135 /* HealthStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB82B3F127AF3ABC00F46135 /* HealthStore.swift */; }; + EB856FA227A17C4B00C15CEC /* GrowStepsApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB856FA127A17C4B00C15CEC /* GrowStepsApp.swift */; }; + EB856FA427A17C4B00C15CEC /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB856FA327A17C4B00C15CEC /* ContentView.swift */; }; + EB856FA627A17C4F00C15CEC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EB856FA527A17C4F00C15CEC /* Assets.xcassets */; }; + EB856FA927A17C4F00C15CEC /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EB856FA827A17C4F00C15CEC /* Preview Assets.xcassets */; }; + EB856FB427A17C4F00C15CEC /* GrowStepsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB856FB327A17C4F00C15CEC /* GrowStepsTests.swift */; }; + EB856FBF27A17C4F00C15CEC /* GrowStepsUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB856FBE27A17C4F00C15CEC /* GrowStepsUITests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + EB856FB027A17C4F00C15CEC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = EB856F9627A17C4B00C15CEC /* Project object */; + proxyType = 1; + remoteGlobalIDString = EB856F9D27A17C4B00C15CEC; + remoteInfo = GrowSteps; + }; + EB856FBB27A17C4F00C15CEC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = EB856F9627A17C4B00C15CEC /* Project object */; + proxyType = 1; + remoteGlobalIDString = EB856F9D27A17C4B00C15CEC; + remoteInfo = GrowSteps; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + EB765EE127C57C5300FC9E83 /* HealthAvatar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HealthAvatar.swift; sourceTree = ""; }; + EB765EE427C5874000FC9E83 /* WellnessState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WellnessState.swift; sourceTree = ""; }; + EB82B3EA27AF31EF00F46135 /* GrowSteps.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = GrowSteps.entitlements; sourceTree = ""; }; + EB82B3EC27AF31EF00F46135 /* HealthKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = HealthKit.framework; path = System/Library/Frameworks/HealthKit.framework; sourceTree = SDKROOT; }; + EB82B3F127AF3ABC00F46135 /* HealthStore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HealthStore.swift; sourceTree = ""; }; + EB856F9E27A17C4B00C15CEC /* GrowSteps.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GrowSteps.app; sourceTree = BUILT_PRODUCTS_DIR; }; + EB856FA127A17C4B00C15CEC /* GrowStepsApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GrowStepsApp.swift; sourceTree = ""; }; + EB856FA327A17C4B00C15CEC /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + EB856FA527A17C4F00C15CEC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + EB856FA827A17C4F00C15CEC /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + EB856FAA27A17C4F00C15CEC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + EB856FAF27A17C4F00C15CEC /* GrowStepsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GrowStepsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + EB856FB327A17C4F00C15CEC /* GrowStepsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GrowStepsTests.swift; sourceTree = ""; }; + EB856FB527A17C4F00C15CEC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + EB856FBA27A17C4F00C15CEC /* GrowStepsUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GrowStepsUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + EB856FBE27A17C4F00C15CEC /* GrowStepsUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GrowStepsUITests.swift; sourceTree = ""; }; + EB856FC027A17C4F00C15CEC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + EB856F9B27A17C4B00C15CEC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + EB82B3ED27AF31EF00F46135 /* HealthKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EB856FAC27A17C4F00C15CEC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EB856FB727A17C4F00C15CEC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + EB765EE327C5871000FC9E83 /* Models */ = { + isa = PBXGroup; + children = ( + EB765EE427C5874000FC9E83 /* WellnessState.swift */, + ); + path = Models; + sourceTree = ""; + }; + EB82B3EB27AF31EF00F46135 /* Frameworks */ = { + isa = PBXGroup; + children = ( + EB82B3EC27AF31EF00F46135 /* HealthKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + EB856F9527A17C4B00C15CEC = { + isa = PBXGroup; + children = ( + EB856FA027A17C4B00C15CEC /* GrowSteps */, + EB856FB227A17C4F00C15CEC /* GrowStepsTests */, + EB856FBD27A17C4F00C15CEC /* GrowStepsUITests */, + EB856F9F27A17C4B00C15CEC /* Products */, + EB82B3EB27AF31EF00F46135 /* Frameworks */, + ); + sourceTree = ""; + }; + EB856F9F27A17C4B00C15CEC /* Products */ = { + isa = PBXGroup; + children = ( + EB856F9E27A17C4B00C15CEC /* GrowSteps.app */, + EB856FAF27A17C4F00C15CEC /* GrowStepsTests.xctest */, + EB856FBA27A17C4F00C15CEC /* GrowStepsUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + EB856FA027A17C4B00C15CEC /* GrowSteps */ = { + isa = PBXGroup; + children = ( + EB765EE327C5871000FC9E83 /* Models */, + EB82B3EA27AF31EF00F46135 /* GrowSteps.entitlements */, + EB856FA127A17C4B00C15CEC /* GrowStepsApp.swift */, + EB856FA327A17C4B00C15CEC /* ContentView.swift */, + EB765EE127C57C5300FC9E83 /* HealthAvatar.swift */, + EB856FA527A17C4F00C15CEC /* Assets.xcassets */, + EB856FAA27A17C4F00C15CEC /* Info.plist */, + EB856FA727A17C4F00C15CEC /* Preview Content */, + EB82B3F127AF3ABC00F46135 /* HealthStore.swift */, + ); + path = GrowSteps; + sourceTree = ""; + }; + EB856FA727A17C4F00C15CEC /* Preview Content */ = { + isa = PBXGroup; + children = ( + EB856FA827A17C4F00C15CEC /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + EB856FB227A17C4F00C15CEC /* GrowStepsTests */ = { + isa = PBXGroup; + children = ( + EB856FB327A17C4F00C15CEC /* GrowStepsTests.swift */, + EB856FB527A17C4F00C15CEC /* Info.plist */, + ); + path = GrowStepsTests; + sourceTree = ""; + }; + EB856FBD27A17C4F00C15CEC /* GrowStepsUITests */ = { + isa = PBXGroup; + children = ( + EB856FBE27A17C4F00C15CEC /* GrowStepsUITests.swift */, + EB856FC027A17C4F00C15CEC /* Info.plist */, + ); + path = GrowStepsUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + EB856F9D27A17C4B00C15CEC /* GrowSteps */ = { + isa = PBXNativeTarget; + buildConfigurationList = EB856FC327A17C4F00C15CEC /* Build configuration list for PBXNativeTarget "GrowSteps" */; + buildPhases = ( + EB856F9A27A17C4B00C15CEC /* Sources */, + EB856F9B27A17C4B00C15CEC /* Frameworks */, + EB856F9C27A17C4B00C15CEC /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = GrowSteps; + productName = GrowSteps; + productReference = EB856F9E27A17C4B00C15CEC /* GrowSteps.app */; + productType = "com.apple.product-type.application"; + }; + EB856FAE27A17C4F00C15CEC /* GrowStepsTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = EB856FC627A17C4F00C15CEC /* Build configuration list for PBXNativeTarget "GrowStepsTests" */; + buildPhases = ( + EB856FAB27A17C4F00C15CEC /* Sources */, + EB856FAC27A17C4F00C15CEC /* Frameworks */, + EB856FAD27A17C4F00C15CEC /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + EB856FB127A17C4F00C15CEC /* PBXTargetDependency */, + ); + name = GrowStepsTests; + productName = GrowStepsTests; + productReference = EB856FAF27A17C4F00C15CEC /* GrowStepsTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + EB856FB927A17C4F00C15CEC /* GrowStepsUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = EB856FC927A17C4F00C15CEC /* Build configuration list for PBXNativeTarget "GrowStepsUITests" */; + buildPhases = ( + EB856FB627A17C4F00C15CEC /* Sources */, + EB856FB727A17C4F00C15CEC /* Frameworks */, + EB856FB827A17C4F00C15CEC /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + EB856FBC27A17C4F00C15CEC /* PBXTargetDependency */, + ); + name = GrowStepsUITests; + productName = GrowStepsUITests; + productReference = EB856FBA27A17C4F00C15CEC /* GrowStepsUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + EB856F9627A17C4B00C15CEC /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1240; + LastUpgradeCheck = 1240; + TargetAttributes = { + EB856F9D27A17C4B00C15CEC = { + CreatedOnToolsVersion = 12.4; + }; + EB856FAE27A17C4F00C15CEC = { + CreatedOnToolsVersion = 12.4; + TestTargetID = EB856F9D27A17C4B00C15CEC; + }; + EB856FB927A17C4F00C15CEC = { + CreatedOnToolsVersion = 12.4; + TestTargetID = EB856F9D27A17C4B00C15CEC; + }; + }; + }; + buildConfigurationList = EB856F9927A17C4B00C15CEC /* Build configuration list for PBXProject "GrowSteps" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = EB856F9527A17C4B00C15CEC; + productRefGroup = EB856F9F27A17C4B00C15CEC /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + EB856F9D27A17C4B00C15CEC /* GrowSteps */, + EB856FAE27A17C4F00C15CEC /* GrowStepsTests */, + EB856FB927A17C4F00C15CEC /* GrowStepsUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + EB856F9C27A17C4B00C15CEC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EB856FA927A17C4F00C15CEC /* Preview Assets.xcassets in Resources */, + EB856FA627A17C4F00C15CEC /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EB856FAD27A17C4F00C15CEC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EB856FB827A17C4F00C15CEC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + EB856F9A27A17C4B00C15CEC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EB765EE527C5874000FC9E83 /* WellnessState.swift in Sources */, + EB856FA427A17C4B00C15CEC /* ContentView.swift in Sources */, + EB82B3F227AF3ABC00F46135 /* HealthStore.swift in Sources */, + EB765EE227C57C5300FC9E83 /* HealthAvatar.swift in Sources */, + EB856FA227A17C4B00C15CEC /* GrowStepsApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EB856FAB27A17C4F00C15CEC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EB856FB427A17C4F00C15CEC /* GrowStepsTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EB856FB627A17C4F00C15CEC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EB856FBF27A17C4F00C15CEC /* GrowStepsUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + EB856FB127A17C4F00C15CEC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = EB856F9D27A17C4B00C15CEC /* GrowSteps */; + targetProxy = EB856FB027A17C4F00C15CEC /* PBXContainerItemProxy */; + }; + EB856FBC27A17C4F00C15CEC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = EB856F9D27A17C4B00C15CEC /* GrowSteps */; + targetProxy = EB856FBB27A17C4F00C15CEC /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + EB856FC127A17C4F00C15CEC /* 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_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; + IPHONEOS_DEPLOYMENT_TARGET = 14.4; + 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"; + }; + name = Debug; + }; + EB856FC227A17C4F00C15CEC /* 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_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; + IPHONEOS_DEPLOYMENT_TARGET = 14.4; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + EB856FC427A17C4F00C15CEC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = GrowSteps/GrowSteps.entitlements; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_ASSET_PATHS = "\"GrowSteps/Preview Content\""; + DEVELOPMENT_TEAM = 3V25YZZQMC; + ENABLE_PREVIEWS = YES; + INFOPLIST_FILE = GrowSteps/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.GrowSteps; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + EB856FC527A17C4F00C15CEC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = GrowSteps/GrowSteps.entitlements; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_ASSET_PATHS = "\"GrowSteps/Preview Content\""; + DEVELOPMENT_TEAM = 3V25YZZQMC; + ENABLE_PREVIEWS = YES; + INFOPLIST_FILE = GrowSteps/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.GrowSteps; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + EB856FC727A17C4F00C15CEC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = GrowStepsTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.GrowStepsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GrowSteps.app/GrowSteps"; + }; + name = Debug; + }; + EB856FC827A17C4F00C15CEC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = GrowStepsTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.GrowStepsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GrowSteps.app/GrowSteps"; + }; + name = Release; + }; + EB856FCA27A17C4F00C15CEC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = GrowStepsUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.GrowStepsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = GrowSteps; + }; + name = Debug; + }; + EB856FCB27A17C4F00C15CEC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = GrowStepsUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.GrowStepsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = GrowSteps; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + EB856F9927A17C4B00C15CEC /* Build configuration list for PBXProject "GrowSteps" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EB856FC127A17C4F00C15CEC /* Debug */, + EB856FC227A17C4F00C15CEC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EB856FC327A17C4F00C15CEC /* Build configuration list for PBXNativeTarget "GrowSteps" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EB856FC427A17C4F00C15CEC /* Debug */, + EB856FC527A17C4F00C15CEC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EB856FC627A17C4F00C15CEC /* Build configuration list for PBXNativeTarget "GrowStepsTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EB856FC727A17C4F00C15CEC /* Debug */, + EB856FC827A17C4F00C15CEC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EB856FC927A17C4F00C15CEC /* Build configuration list for PBXNativeTarget "GrowStepsUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EB856FCA27A17C4F00C15CEC /* Debug */, + EB856FCB27A17C4F00C15CEC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = EB856F9627A17C4B00C15CEC /* Project object */; +} diff --git a/GrowSteps.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/GrowSteps.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/GrowSteps.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/GrowSteps.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/GrowSteps.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/GrowSteps.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/GrowSteps.xcodeproj/project.xcworkspace/xcuserdata/Sydney.xcuserdatad/UserInterfaceState.xcuserstate b/GrowSteps.xcodeproj/project.xcworkspace/xcuserdata/Sydney.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..617f258 Binary files /dev/null and b/GrowSteps.xcodeproj/project.xcworkspace/xcuserdata/Sydney.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/GrowSteps.xcodeproj/xcuserdata/Sydney.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/GrowSteps.xcodeproj/xcuserdata/Sydney.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..1268552 --- /dev/null +++ b/GrowSteps.xcodeproj/xcuserdata/Sydney.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + diff --git a/GrowSteps.xcodeproj/xcuserdata/Sydney.xcuserdatad/xcschemes/xcschememanagement.plist b/GrowSteps.xcodeproj/xcuserdata/Sydney.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..93c9e32 --- /dev/null +++ b/GrowSteps.xcodeproj/xcuserdata/Sydney.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + GrowSteps.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/GrowSteps/Assets.xcassets/AccentColor.colorset/Contents.json b/GrowSteps/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/GrowSteps/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/GrowSteps/Assets.xcassets/AppIcon.appiconset/Contents.json b/GrowSteps/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9221b9b --- /dev/null +++ b/GrowSteps/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/GrowSteps/Assets.xcassets/Contents.json b/GrowSteps/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/GrowSteps/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/GrowSteps/ContentView.swift b/GrowSteps/ContentView.swift new file mode 100644 index 0000000..5ead48b --- /dev/null +++ b/GrowSteps/ContentView.swift @@ -0,0 +1,88 @@ +// +// ContentView.swift +// GrowSteps +// +// Created by Sydney Achinger on 1/26/22. +// + +import SwiftUI +import HealthKit + +struct ContentView: View { + + @State private var progress = 10.0 + + @State private var stepCount: Double? + + @State private var healthStatus: Color? + + private var stepGoal = 5000.00 + + + private var healthStore: HealthStore? + + init() { + healthStore = HealthStore() + } + + private func getHealthStatus(steps: Double){ + let ratio = steps/stepGoal + if(ratio < 0.5){ + healthStatus = Color.red + } + if(ratio >= 0.5){ + healthStatus = Color.gray + } + if(ratio >= 1.0){ + healthStatus = Color.green + } + } + + private func updateUIFromStatistics( _ statisticsCollection: HKStatisticsCollection){ + + statisticsCollection.enumerateStatistics(from: Date(), to: Date()) { statistics, stop in + stepCount = statistics.sumQuantity()?.doubleValue(for: .count()) ?? 0.0 + getHealthStatus(steps: stepCount ?? 0.0) + + } + + } + + var body: some View { + VStack{ + HStack{ + ProgressView(value: stepCount ?? 0.0, total: stepGoal) + .padding(.top, 50) + //.rotationEffect(Angle(degrees: -90.0)) + + } + Spacer() + HealthAvatar(healthStatus: healthStatus ?? Color.clear) + Text(String(stepCount ?? 0.0)+" steps") + .font(.body) + .padding() + } + .onAppear(perform: { + if let healthStore = healthStore { + healthStore.requestAuthorization { (success) in + if success { + healthStore.calculateSteps { statisticsCollection in + if let statisticsCollection = statisticsCollection { + updateUIFromStatistics(statisticsCollection) + } + + } + } + } + } + }) + + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + .preferredColorScheme(.light) + } +} diff --git a/GrowSteps/GrowSteps.entitlements b/GrowSteps/GrowSteps.entitlements new file mode 100644 index 0000000..2ab14a2 --- /dev/null +++ b/GrowSteps/GrowSteps.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.developer.healthkit + + com.apple.developer.healthkit.access + + + diff --git a/GrowSteps/GrowStepsApp.swift b/GrowSteps/GrowStepsApp.swift new file mode 100644 index 0000000..f487d2a --- /dev/null +++ b/GrowSteps/GrowStepsApp.swift @@ -0,0 +1,17 @@ +// +// GrowStepsApp.swift +// GrowSteps +// +// Created by Sydney Achinger on 1/26/22. +// + +import SwiftUI + +@main +struct GrowStepsApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/GrowSteps/HealthAvatar.swift b/GrowSteps/HealthAvatar.swift new file mode 100644 index 0000000..1e7523a --- /dev/null +++ b/GrowSteps/HealthAvatar.swift @@ -0,0 +1,30 @@ +// +// HealthAvatar.swift +// GrowSteps +// +// Created by Sydney Achinger on 2/22/22. +// + +import SwiftUI + +struct HealthAvatar: View { + let healthStatus: Color + +// let statusColorPairs = [ +// "low": Color.red, +// "good": Color.gray, +// "great": Color.green +// ] + + var body: some View { + Rectangle() + .fill(healthStatus) + .frame(width: 200, height: 200) + } +} + +struct HealthAvatar_Previews: PreviewProvider { + static var previews: some View { + HealthAvatar(healthStatus: Color.clear) + } +} diff --git a/GrowSteps/HealthStore.swift b/GrowSteps/HealthStore.swift new file mode 100644 index 0000000..3dc5ca6 --- /dev/null +++ b/GrowSteps/HealthStore.swift @@ -0,0 +1,55 @@ +// +// HealthStore.swift +// GrowSteps +// +// Created by Sydney Achinger on 2/5/22. +// + +import Foundation +import HealthKit + + +class HealthStore { + + var healthStore: HKHealthStore? + + init() { + if HKHealthStore.isHealthDataAvailable(){ + healthStore = HKHealthStore() + let startDate = Calendar.current.date(byAdding: .day, value: -7, to: Date()) + } + } + + func calculateSteps(completion: @escaping (HKStatisticsCollection?) -> Void){ + let stepType = HKQuantityType.quantityType(forIdentifier: HKQuantityTypeIdentifier.stepCount)! + + let now = Date() + let startOfDay = Calendar.current.startOfDay(for: now) + var interval = DateComponents() + interval.day = 1 + + let query = HKStatisticsCollectionQuery( + quantityType: stepType, + quantitySamplePredicate: nil, + options: .cumulativeSum, + anchorDate: startOfDay, + intervalComponents: interval) + + query.initialResultsHandler = { query, statisticsCollection, error in + completion(statisticsCollection) + } + if let healthStore = healthStore { + healthStore.execute(query) + } + } + + func requestAuthorization(completion: @escaping (Bool) -> Void){ + let stepType = HKQuantityType.quantityType(forIdentifier: HKQuantityTypeIdentifier.stepCount)! + + guard let healthStore = self.healthStore else { return completion(false) } + + healthStore.requestAuthorization(toShare: [], read: [stepType]) { (success, error) in + completion(success) + } + } +} diff --git a/GrowSteps/Info.plist b/GrowSteps/Info.plist new file mode 100644 index 0000000..dbe366c --- /dev/null +++ b/GrowSteps/Info.plist @@ -0,0 +1,54 @@ + + + + + NSHealthUpdateUsageDescription + This app would like to access your health dataa to motivate you to your steps goal. + NSHealthShareUsageDescription + This app would like to access your health dataa to motivate you to your steps goal. + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + + UIApplicationSupportsIndirectInputEvents + + UILaunchScreen + + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/GrowSteps/Models/WellnessState.swift b/GrowSteps/Models/WellnessState.swift new file mode 100644 index 0000000..2a64054 --- /dev/null +++ b/GrowSteps/Models/WellnessState.swift @@ -0,0 +1,11 @@ +// +// WellnessState.swift +// GrowSteps +// +// Created by Sydney Achinger on 2/22/22. +// + +import Foundation + +struct WellnessState { +} diff --git a/GrowSteps/Preview Content/Preview Assets.xcassets/Contents.json b/GrowSteps/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/GrowSteps/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/GrowStepsTests/GrowStepsTests.swift b/GrowStepsTests/GrowStepsTests.swift new file mode 100644 index 0000000..2b3abb7 --- /dev/null +++ b/GrowStepsTests/GrowStepsTests.swift @@ -0,0 +1,33 @@ +// +// GrowStepsTests.swift +// GrowStepsTests +// +// Created by Sydney Achinger on 1/26/22. +// + +import XCTest +@testable import GrowSteps + +class GrowStepsTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + 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. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/GrowStepsTests/Info.plist b/GrowStepsTests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/GrowStepsTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/GrowStepsUITests/GrowStepsUITests.swift b/GrowStepsUITests/GrowStepsUITests.swift new file mode 100644 index 0000000..b3cf847 --- /dev/null +++ b/GrowStepsUITests/GrowStepsUITests.swift @@ -0,0 +1,42 @@ +// +// GrowStepsUITests.swift +// GrowStepsUITests +// +// Created by Sydney Achinger on 1/26/22. +// + +import XCTest + +class GrowStepsUITests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // UI tests must launch the application that they test. + let app = XCUIApplication() + app.launch() + + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testLaunchPerformance() throws { + if #available(macOS 10.15, iOS 13.0, tvOS 13.0, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } + } +} diff --git a/GrowStepsUITests/Info.plist b/GrowStepsUITests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/GrowStepsUITests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + +