Skip to content

Commit

Permalink
Add Create Menu Item action (#144)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <[email protected]>
  • Loading branch information
NoahKamara and sindresorhus authored Sep 28, 2023
1 parent 1113a52 commit 5afbb75
Show file tree
Hide file tree
Showing 6 changed files with 522 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
xcuserdata
project.xcworkspace
Build/
16 changes: 12 additions & 4 deletions Actions.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
E3F64D7628D9F9930009B500 /* CreateColorImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3F64D7528D9F9930009B500 /* CreateColorImage.swift */; };
E3F64D7928D9FCA20009B500 /* GetSymbolImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3F64D7728D9FCA20009B500 /* GetSymbolImage.swift */; };
E3FC71DD271EBE5C00C9D255 /* Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3FC71DC271EBE5B00C9D255 /* Utilities.swift */; };
FD691FCE2A9CCD4C00C55178 /* CreateMenuItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD691FCD2A9CCD4C00C55178 /* CreateMenuItem.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -317,6 +318,8 @@
E3F64D7528D9F9930009B500 /* CreateColorImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CreateColorImage.swift; sourceTree = "<group>"; };
E3F64D7728D9FCA20009B500 /* GetSymbolImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetSymbolImage.swift; sourceTree = "<group>"; };
E3FC71DC271EBE5B00C9D255 /* Utilities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Utilities.swift; sourceTree = "<group>"; };
FD691FC82A9CB9C500C55178 /* CreateMenuItem.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CreateMenuItem.swift; sourceTree = "<group>"; };
FD691FCD2A9CCD4C00C55178 /* CreateMenuItem.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CreateMenuItem.swift; path = Shared/Actions/CreateMenuItem.swift; sourceTree = SOURCE_ROOT; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -347,6 +350,7 @@
isa = PBXGroup;
children = (
E33D080E2A11629500FBCAD7 /* AskChatGPT.swift */,
FD691FC82A9CB9C500C55178 /* CreateMenuItem.swift */,
E352420928F6EEDE00A957A7 /* AskForText.swift */,
E34AB51528F58B500082AE78 /* Authenticate.swift */,
E3EA7D7A28EAC2210043F782 /* BlurImages.swift */,
Expand Down Expand Up @@ -414,6 +418,7 @@
E3EC2DDD28D24CD900A88E25 /* ConvertDateToUnixTime.swift */,
E3EC2DDF28D253D600A88E25 /* ConvertUnixTimeToDate.swift */,
E3EC2DE128D2588800A88E25 /* CreateURL.swift */,
FD691FCD2A9CCD4C00C55178 /* CreateMenuItem.swift */,
E3F64D7128D9F3810009B500 /* EditURL.swift */,
E3C33C9B28D376C400386C59 /* FilterList.swift */,
E3D514C728EEA8F8003F7C2E /* FlashScreen.swift */,
Expand Down Expand Up @@ -719,6 +724,7 @@
E317492A2916A20C00F6319E /* GetQueryItemValueFromURL.swift in Sources */,
E31749342916A20C00F6319E /* EditURL.swift in Sources */,
E317494F2916A20C00F6319E /* ReverseList.swift in Sources */,
FD691FCE2A9CCD4C00C55178 /* CreateMenuItem.swift in Sources */,
E31749132916A20C00F6319E /* TrimWhitespace.swift in Sources */,
E31749242916A20C00F6319E /* CalculateWithSoulver.swift in Sources */,
E317491B2916A20C00F6319E /* RemoveNonPrintableCharacters.swift in Sources */,
Expand Down Expand Up @@ -841,7 +847,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = YG56YK5RN5;
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Intents Extension/Info.plist";
Expand All @@ -853,7 +859,7 @@
"@executable_path/../../Frameworks",
"@executable_path/../../../../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.sindresorhus.Actions.Intents-Extension";
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER).Intents-Extension";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -942,6 +948,7 @@
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
Expand Down Expand Up @@ -1008,6 +1015,7 @@
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = YG56YK5RN5;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
Expand Down Expand Up @@ -1039,7 +1047,7 @@
CODE_SIGN_ENTITLEMENTS = Shared/Actions.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = YG56YK5RN5;
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
ENABLE_BITCODE = NO;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
ENABLE_PREVIEWS = YES;
Expand All @@ -1065,7 +1073,7 @@
"@executable_path/Frameworks",
"@executable_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.sindresorhus.Actions;
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)";
PRODUCT_NAME = Actions;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
Expand Down
7 changes: 7 additions & 0 deletions Config.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
MARKETING_VERSION = 2.9.0
CURRENT_PROJECT_VERSION = 48

// Source for the base of all bundle IDs
// -> Intents extensions and app will derive bundleID from here
PRODUCT_BUNDLE_IDENTIFIER = com.sindresorhus.Actions

// This makes it easier to not commit the dev team
DEVELOPMENT_TEAM = YG56YK5RN5
Loading

0 comments on commit 5afbb75

Please sign in to comment.