From 599f4fc3d0cc8c6c7b7a6de761ac4656573c6102 Mon Sep 17 00:00:00 2001 From: Jason Morley Date: Fri, 30 Jun 2023 07:43:13 -1000 Subject: [PATCH] fix: Correct the build number for the new share extension (#698) --- ios/Bookmarks Share Extension/Info.plist | 2 +- ios/Bookmarks-iOS.xcodeproj/project.pbxproj | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ios/Bookmarks Share Extension/Info.plist b/ios/Bookmarks Share Extension/Info.plist index 8ff9cc1f..a2ade1b3 100644 --- a/ios/Bookmarks Share Extension/Info.plist +++ b/ios/Bookmarks Share Extension/Info.plist @@ -15,7 +15,7 @@ SUBQUERY ( $extensionItem.attachments, $attachment, - ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" + ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" ).@count == $extensionItem.attachments.@count ).@count == 1 diff --git a/ios/Bookmarks-iOS.xcodeproj/project.pbxproj b/ios/Bookmarks-iOS.xcodeproj/project.pbxproj index f5e83e73..8fbfad8b 100644 --- a/ios/Bookmarks-iOS.xcodeproj/project.pbxproj +++ b/ios/Bookmarks-iOS.xcodeproj/project.pbxproj @@ -497,7 +497,7 @@ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; CODE_SIGN_ENTITLEMENTS = "Bookmarks Share Extension/Bookmarks Share Extension.entitlements"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = $BUILD_NUMBER; DEVELOPMENT_TEAM = S4WXAUZQEV; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "Bookmarks Share Extension/Info.plist"; @@ -509,7 +509,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 0.0.0; PRODUCT_BUNDLE_IDENTIFIER = uk.co.inseven.bookmarks.new.ShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -526,7 +526,7 @@ CODE_SIGN_ENTITLEMENTS = "Bookmarks Share Extension/Bookmarks Share Extension.entitlements"; CODE_SIGN_IDENTITY = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = $BUILD_NUMBER; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = S4WXAUZQEV; GENERATE_INFOPLIST_FILE = YES; @@ -539,7 +539,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 0.0.0; PRODUCT_BUNDLE_IDENTIFIER = uk.co.inseven.bookmarks.new.ShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -783,6 +783,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); + MARKETING_VERSION = 0.0.0; PRODUCT_BUNDLE_IDENTIFIER = uk.co.inseven.BookmarksUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; @@ -803,6 +804,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); + MARKETING_VERSION = 0.0.0; PRODUCT_BUNDLE_IDENTIFIER = uk.co.inseven.BookmarksUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0;