Skip to content

Commit

Permalink
Finish v1 of extension
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusSkucas committed Dec 19, 2021
1 parent 8380e51 commit 7004b4e
Show file tree
Hide file tree
Showing 7 changed files with 356 additions and 15 deletions.
190 changes: 180 additions & 10 deletions Checkpoint.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,49 @@
15C38AE9276DB8080092128D /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 15C38AE8276DB8080092128D /* ContentView.swift */; };
15C38AEB276DB80B0092128D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 15C38AEA276DB80B0092128D /* Assets.xcassets */; };
15C38AEE276DB80B0092128D /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 15C38AED276DB80B0092128D /* Preview Assets.xcassets */; };
15C38AFD276EC4420092128D /* MailExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 15C38AFC276EC4420092128D /* MailExtension.swift */; };
15C38AFF276EC4420092128D /* ComposeSessionHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 15C38AFE276EC4420092128D /* ComposeSessionHandler.swift */; };
15C38B03276EC4420092128D /* ComposeSessionViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 15C38B02276EC4420092128D /* ComposeSessionViewController.xib */; };
15C38B08276EC4420092128D /* Checkpoint Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 15C38AFA276EC4420092128D /* Checkpoint Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
15C38B06276EC4420092128D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 15C38ADB276DB8080092128D /* Project object */;
proxyType = 1;
remoteGlobalIDString = 15C38AF9276EC4420092128D;
remoteInfo = Checkpoint;
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
15C38B0C276EC4420092128D /* Embed App Extensions */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 13;
files = (
15C38B08276EC4420092128D /* Checkpoint Extension.appex in Embed App Extensions */,
);
name = "Embed App Extensions";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
15C38AE3276DB8080092128D /* Checkpoint.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Checkpoint.app; sourceTree = BUILT_PRODUCTS_DIR; };
15C38AE6276DB8080092128D /* CheckpointApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CheckpointApp.swift; sourceTree = "<group>"; };
15C38AE8276DB8080092128D /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
15C38AEA276DB80B0092128D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
15C38AED276DB80B0092128D /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
15C38AEF276DB80B0092128D /* Checkpoint.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Checkpoint.entitlements; sourceTree = "<group>"; };
15C38AFA276EC4420092128D /* Checkpoint Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "Checkpoint Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; };
15C38AFC276EC4420092128D /* MailExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MailExtension.swift; sourceTree = "<group>"; };
15C38AFE276EC4420092128D /* ComposeSessionHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComposeSessionHandler.swift; sourceTree = "<group>"; };
15C38B02276EC4420092128D /* ComposeSessionViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = ComposeSessionViewController.xib; sourceTree = "<group>"; };
15C38B04276EC4420092128D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
15C38B05276EC4420092128D /* Checkpoint.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Checkpoint.entitlements; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -30,13 +64,21 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
15C38AF7276EC4420092128D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
15C38ADA276DB8080092128D = {
isa = PBXGroup;
children = (
15C38AE5276DB8080092128D /* Checkpoint */,
15C38AFB276EC4420092128D /* Checkpoint */,
15C38AE4276DB8080092128D /* Products */,
);
sourceTree = "<group>";
Expand All @@ -45,6 +87,7 @@
isa = PBXGroup;
children = (
15C38AE3276DB8080092128D /* Checkpoint.app */,
15C38AFA276EC4420092128D /* Checkpoint Extension.appex */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -69,26 +112,57 @@
path = "Preview Content";
sourceTree = "<group>";
};
15C38AFB276EC4420092128D /* Checkpoint */ = {
isa = PBXGroup;
children = (
15C38AFC276EC4420092128D /* MailExtension.swift */,
15C38AFE276EC4420092128D /* ComposeSessionHandler.swift */,
15C38B02276EC4420092128D /* ComposeSessionViewController.xib */,
15C38B04276EC4420092128D /* Info.plist */,
15C38B05276EC4420092128D /* Checkpoint.entitlements */,
);
path = Checkpoint;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
15C38AE2276DB8080092128D /* Checkpoint */ = {
15C38AE2276DB8080092128D /* Checkpoint App */ = {
isa = PBXNativeTarget;
buildConfigurationList = 15C38AF2276DB80B0092128D /* Build configuration list for PBXNativeTarget "Checkpoint" */;
buildConfigurationList = 15C38AF2276DB80B0092128D /* Build configuration list for PBXNativeTarget "Checkpoint App" */;
buildPhases = (
15C38ADF276DB8080092128D /* Sources */,
15C38AE0276DB8080092128D /* Frameworks */,
15C38AE1276DB8080092128D /* Resources */,
15C38B0C276EC4420092128D /* Embed App Extensions */,
);
buildRules = (
);
dependencies = (
15C38B07276EC4420092128D /* PBXTargetDependency */,
);
name = Checkpoint;
name = "Checkpoint App";
productName = Checkpoint;
productReference = 15C38AE3276DB8080092128D /* Checkpoint.app */;
productType = "com.apple.product-type.application";
};
15C38AF9276EC4420092128D /* Checkpoint Extension */ = {
isa = PBXNativeTarget;
buildConfigurationList = 15C38B09276EC4420092128D /* Build configuration list for PBXNativeTarget "Checkpoint Extension" */;
buildPhases = (
15C38AF6276EC4420092128D /* Sources */,
15C38AF7276EC4420092128D /* Frameworks */,
15C38AF8276EC4420092128D /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "Checkpoint Extension";
productName = Checkpoint;
productReference = 15C38AFA276EC4420092128D /* Checkpoint Extension.appex */;
productType = "com.apple.product-type.app-extension";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -102,6 +176,9 @@
15C38AE2276DB8080092128D = {
CreatedOnToolsVersion = 13.1;
};
15C38AF9276EC4420092128D = {
CreatedOnToolsVersion = 13.1;
};
};
};
buildConfigurationList = 15C38ADE276DB8080092128D /* Build configuration list for PBXProject "Checkpoint" */;
Expand All @@ -117,7 +194,8 @@
projectDirPath = "";
projectRoot = "";
targets = (
15C38AE2276DB8080092128D /* Checkpoint */,
15C38AE2276DB8080092128D /* Checkpoint App */,
15C38AF9276EC4420092128D /* Checkpoint Extension */,
);
};
/* End PBXProject section */
Expand All @@ -132,6 +210,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
15C38AF8276EC4420092128D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
15C38B03276EC4420092128D /* ComposeSessionViewController.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -144,8 +230,25 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
15C38AF6276EC4420092128D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
15C38AFF276EC4420092128D /* ComposeSessionHandler.swift in Sources */,
15C38AFD276EC4420092128D /* MailExtension.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
15C38B07276EC4420092128D /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 15C38AF9276EC4420092128D /* Checkpoint Extension */;
targetProxy = 15C38B06276EC4420092128D /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
15C38AF0276DB80B0092128D /* Debug */ = {
isa = XCBuildConfiguration;
Expand Down Expand Up @@ -265,14 +368,15 @@
15C38AF3276DB80B0092128D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = Checkpoint/Checkpoint.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"Checkpoint/Preview Content\"";
DEVELOPMENT_TEAM = ZCCWFHG6T3;
DEVELOPMENT_TEAM = P6PV2R9443;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -282,8 +386,8 @@
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = sh.linus.Checkpoint;
PRODUCT_NAME = "$(TARGET_NAME)";
PRODUCT_BUNDLE_IDENTIFIER = sh.linus.CheckpointApp;
PRODUCT_NAME = Checkpoint;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
Expand All @@ -292,14 +396,15 @@
15C38AF4276DB80B0092128D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = Checkpoint/Checkpoint.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"Checkpoint/Preview Content\"";
DEVELOPMENT_TEAM = ZCCWFHG6T3;
DEVELOPMENT_TEAM = P6PV2R9443;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -309,8 +414,64 @@
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = sh.linus.Checkpoint;
PRODUCT_BUNDLE_IDENTIFIER = sh.linus.CheckpointApp;
PRODUCT_NAME = Checkpoint;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
name = Release;
};
15C38B0A276EC4420092128D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Checkpoint/Checkpoint.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = P6PV2R9443;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Checkpoint/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Checkpoint;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = sh.linus.CheckpointApp.Checkpoint;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
15C38B0B276EC4420092128D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Checkpoint/Checkpoint.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = P6PV2R9443;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Checkpoint/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Checkpoint;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = sh.linus.CheckpointApp.Checkpoint;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
};
Expand All @@ -328,7 +489,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
15C38AF2276DB80B0092128D /* Build configuration list for PBXNativeTarget "Checkpoint" */ = {
15C38AF2276DB80B0092128D /* Build configuration list for PBXNativeTarget "Checkpoint App" */ = {
isa = XCConfigurationList;
buildConfigurations = (
15C38AF3276DB80B0092128D /* Debug */,
Expand All @@ -337,6 +498,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
15C38B09276EC4420092128D /* Build configuration list for PBXNativeTarget "Checkpoint Extension" */ = {
isa = XCConfigurationList;
buildConfigurations = (
15C38B0A276EC4420092128D /* Debug */,
15C38B0B276EC4420092128D /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 15C38ADB276DB8080092128D /* Project object */;
Expand Down
8 changes: 4 additions & 4 deletions Checkpoint/Checkpoint.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
</dict>
</plist>
Loading

0 comments on commit 7004b4e

Please sign in to comment.