Skip to content

Commit

Permalink
Watch App
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilioPelaez committed Oct 11, 2023
1 parent 4fab947 commit 0b23784
Show file tree
Hide file tree
Showing 7 changed files with 391 additions and 1 deletion.
280 changes: 279 additions & 1 deletion Example/HierarchyResponderExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,51 @@
C83BAFF727EF313200239DEA /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C83BAFF627EF313200239DEA /* Assets.xcassets */; };
C83BAFFA27EF313200239DEA /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C83BAFF927EF313200239DEA /* Preview Assets.xcassets */; };
C83BB00427EF318600239DEA /* HierarchyResponder in Frameworks */ = {isa = PBXBuildFile; productRef = C83BB00327EF318600239DEA /* HierarchyResponder */; };
C8E4F1022AB3105B00B247FE /* HierarchyWatch Watch App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = C8E4F1012AB3105B00B247FE /* HierarchyWatch Watch App.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
C8E4F1072AB3105B00B247FE /* HierarchyWatchApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8E4F1062AB3105B00B247FE /* HierarchyWatchApp.swift */; };
C8E4F1092AB3105B00B247FE /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8E4F1082AB3105B00B247FE /* ContentView.swift */; };
C8E4F10B2AB3105C00B247FE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C8E4F10A2AB3105C00B247FE /* Assets.xcassets */; };
C8E4F10E2AB3105C00B247FE /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C8E4F10D2AB3105C00B247FE /* Preview Assets.xcassets */; };
C8E4F1172AB3107900B247FE /* HierarchyResponder in Frameworks */ = {isa = PBXBuildFile; productRef = C8E4F1162AB3107900B247FE /* HierarchyResponder */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
C8E4F1032AB3105B00B247FE /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C83BAFE727EF313000239DEA /* Project object */;
proxyType = 1;
remoteGlobalIDString = C8E4F1002AB3105B00B247FE;
remoteInfo = "HierarchyWatch Watch App";
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
C8E4F1122AB3105C00B247FE /* Embed Watch Content */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "$(CONTENTS_FOLDER_PATH)/Watch";
dstSubfolderSpec = 16;
files = (
C8E4F1022AB3105B00B247FE /* HierarchyWatch Watch App.app in Embed Watch Content */,
);
name = "Embed Watch Content";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
C83BAFEF27EF313000239DEA /* HierarchyResponderExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HierarchyResponderExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
C83BAFF227EF313000239DEA /* HierarchyResponderExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HierarchyResponderExampleApp.swift; sourceTree = "<group>"; };
C83BAFF427EF313000239DEA /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
C83BAFF627EF313200239DEA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
C83BAFF927EF313200239DEA /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
C83BB00127EF316600239DEA /* HierarchyResponder */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = HierarchyResponder; path = ..; sourceTree = "<group>"; };
C8E4F0FC2AB3105A00B247FE /* HierarchyWatch.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HierarchyWatch.app; sourceTree = BUILT_PRODUCTS_DIR; };
C8E4F1012AB3105B00B247FE /* HierarchyWatch Watch App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "HierarchyWatch Watch App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
C8E4F1062AB3105B00B247FE /* HierarchyWatchApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HierarchyWatchApp.swift; sourceTree = "<group>"; };
C8E4F1082AB3105B00B247FE /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
C8E4F10A2AB3105C00B247FE /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
C8E4F10D2AB3105C00B247FE /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -32,13 +68,22 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
C8E4F0FE2AB3105B00B247FE /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C8E4F1172AB3107900B247FE /* HierarchyResponder in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
C83BAFE627EF313000239DEA = {
isa = PBXGroup;
children = (
C83BAFF127EF313000239DEA /* HierarchyResponderExample */,
C8E4F1052AB3105B00B247FE /* HierarchyWatch Watch App */,
C83BB00027EF316600239DEA /* Packages */,
C83BAFF027EF313000239DEA /* Products */,
C83BB00227EF318600239DEA /* Frameworks */,
Expand All @@ -49,6 +94,8 @@
isa = PBXGroup;
children = (
C83BAFEF27EF313000239DEA /* HierarchyResponderExample.app */,
C8E4F0FC2AB3105A00B247FE /* HierarchyWatch.app */,
C8E4F1012AB3105B00B247FE /* HierarchyWatch Watch App.app */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -87,6 +134,25 @@
name = Frameworks;
sourceTree = "<group>";
};
C8E4F1052AB3105B00B247FE /* HierarchyWatch Watch App */ = {
isa = PBXGroup;
children = (
C8E4F1062AB3105B00B247FE /* HierarchyWatchApp.swift */,
C8E4F1082AB3105B00B247FE /* ContentView.swift */,
C8E4F10A2AB3105C00B247FE /* Assets.xcassets */,
C8E4F10C2AB3105C00B247FE /* Preview Content */,
);
path = "HierarchyWatch Watch App";
sourceTree = "<group>";
};
C8E4F10C2AB3105C00B247FE /* Preview Content */ = {
isa = PBXGroup;
children = (
C8E4F10D2AB3105C00B247FE /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -110,19 +176,62 @@
productReference = C83BAFEF27EF313000239DEA /* HierarchyResponderExample.app */;
productType = "com.apple.product-type.application";
};
C8E4F0FB2AB3105A00B247FE /* HierarchyWatch */ = {
isa = PBXNativeTarget;
buildConfigurationList = C8E4F1132AB3105C00B247FE /* Build configuration list for PBXNativeTarget "HierarchyWatch" */;
buildPhases = (
C8E4F0FA2AB3105A00B247FE /* Resources */,
C8E4F1122AB3105C00B247FE /* Embed Watch Content */,
);
buildRules = (
);
dependencies = (
C8E4F1042AB3105B00B247FE /* PBXTargetDependency */,
);
name = HierarchyWatch;
productName = HierarchyWatch;
productReference = C8E4F0FC2AB3105A00B247FE /* HierarchyWatch.app */;
productType = "com.apple.product-type.application.watchapp2-container";
};
C8E4F1002AB3105B00B247FE /* HierarchyWatch Watch App */ = {
isa = PBXNativeTarget;
buildConfigurationList = C8E4F10F2AB3105C00B247FE /* Build configuration list for PBXNativeTarget "HierarchyWatch Watch App" */;
buildPhases = (
C8E4F0FD2AB3105B00B247FE /* Sources */,
C8E4F0FE2AB3105B00B247FE /* Frameworks */,
C8E4F0FF2AB3105B00B247FE /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "HierarchyWatch Watch App";
packageProductDependencies = (
C8E4F1162AB3107900B247FE /* HierarchyResponder */,
);
productName = "HierarchyWatch Watch App";
productReference = C8E4F1012AB3105B00B247FE /* HierarchyWatch Watch App.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
C83BAFE727EF313000239DEA /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1400;
LastSwiftUpdateCheck = 1500;
LastUpgradeCheck = 1330;
TargetAttributes = {
C83BAFEE27EF313000239DEA = {
CreatedOnToolsVersion = 13.3;
};
C8E4F0FB2AB3105A00B247FE = {
CreatedOnToolsVersion = 15.0;
};
C8E4F1002AB3105B00B247FE = {
CreatedOnToolsVersion = 15.0;
};
};
};
buildConfigurationList = C83BAFEA27EF313000239DEA /* Build configuration list for PBXProject "HierarchyResponderExample" */;
Expand All @@ -139,6 +248,8 @@
projectRoot = "";
targets = (
C83BAFEE27EF313000239DEA /* HierarchyResponderExample */,
C8E4F0FB2AB3105A00B247FE /* HierarchyWatch */,
C8E4F1002AB3105B00B247FE /* HierarchyWatch Watch App */,
);
};
/* End PBXProject section */
Expand All @@ -153,6 +264,22 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
C8E4F0FA2AB3105A00B247FE /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
C8E4F0FF2AB3105B00B247FE /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C8E4F10E2AB3105C00B247FE /* Preview Assets.xcassets in Resources */,
C8E4F10B2AB3105C00B247FE /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -165,8 +292,25 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
C8E4F0FD2AB3105B00B247FE /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C8E4F1092AB3105B00B247FE /* ContentView.swift in Sources */,
C8E4F1072AB3105B00B247FE /* HierarchyWatchApp.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
C8E4F1042AB3105B00B247FE /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = C8E4F1002AB3105B00B247FE /* HierarchyWatch Watch App */;
targetProxy = C8E4F1032AB3105B00B247FE /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
C83BAFFB27EF313200239DEA /* Debug */ = {
isa = XCBuildConfiguration;
Expand Down Expand Up @@ -346,6 +490,118 @@
};
name = Release;
};
C8E4F1102AB3105C00B247FE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"HierarchyWatch Watch App/Preview Content\"";
DEVELOPMENT_TEAM = FS696NSBK7;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_CFBundleDisplayName = HierarchyWatch;
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
INFOPLIST_KEY_WKWatchOnly = YES;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.emiliopelaez.HierarchyWatch.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 4;
WATCHOS_DEPLOYMENT_TARGET = 10.0;
};
name = Debug;
};
C8E4F1112AB3105C00B247FE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"HierarchyWatch Watch App/Preview Content\"";
DEVELOPMENT_TEAM = FS696NSBK7;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_CFBundleDisplayName = HierarchyWatch;
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
INFOPLIST_KEY_WKWatchOnly = YES;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.emiliopelaez.HierarchyWatch.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 4;
WATCHOS_DEPLOYMENT_TARGET = 10.0;
};
name = Release;
};
C8E4F1142AB3105C00B247FE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = FS696NSBK7;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
INFOPLIST_KEY_CFBundleDisplayName = HierarchyWatch;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.emiliopelaez.HierarchyWatch;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
C8E4F1152AB3105C00B247FE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = FS696NSBK7;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
INFOPLIST_KEY_CFBundleDisplayName = HierarchyWatch;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.emiliopelaez.HierarchyWatch;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand All @@ -367,13 +623,35 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C8E4F10F2AB3105C00B247FE /* Build configuration list for PBXNativeTarget "HierarchyWatch Watch App" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C8E4F1102AB3105C00B247FE /* Debug */,
C8E4F1112AB3105C00B247FE /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C8E4F1132AB3105C00B247FE /* Build configuration list for PBXNativeTarget "HierarchyWatch" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C8E4F1142AB3105C00B247FE /* Debug */,
C8E4F1152AB3105C00B247FE /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCSwiftPackageProductDependency section */
C83BB00327EF318600239DEA /* HierarchyResponder */ = {
isa = XCSwiftPackageProductDependency;
productName = HierarchyResponder;
};
C8E4F1162AB3107900B247FE /* HierarchyResponder */ = {
isa = XCSwiftPackageProductDependency;
productName = HierarchyResponder;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = C83BAFE727EF313000239DEA /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading

0 comments on commit 0b23784

Please sign in to comment.