From a557c81baf349c5a0e9094f0637de7800602ca73 Mon Sep 17 00:00:00 2001 From: Guido Schmit Date: Mon, 10 Aug 2026 20:42:22 +0200 Subject: [PATCH] WeatherKit aktiviert: App-ID im Portal war bereits vorhanden MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Die Fehlermeldung führte in die Irre: "cannot be registered to your development team because it is not available" klingt nach einem Namenskonflikt mit einem fremden Team. Tatsächlich versuchte Xcode, eine App-ID anzulegen, die es schon gab — mit bereits angehakter WeatherKit-Capability. Nach dem erneuten Lauf mit -allowProvisioningUpdates wurde das passende Profil gefunden und eingebettet. Im signierten Build stehen jetzt alle sechs Entitlements: weatherkit, application-groups, personal-information.calendars, personal-information.location, automation.apple-events und device.audio-input. --- Onyx.xcodeproj/project.pbxproj | 6 ++++++ Onyx/Onyx.entitlements | 24 +++++------------------- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/Onyx.xcodeproj/project.pbxproj b/Onyx.xcodeproj/project.pbxproj index 03dcfba..79314d1 100644 --- a/Onyx.xcodeproj/project.pbxproj +++ b/Onyx.xcodeproj/project.pbxproj @@ -200,11 +200,14 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = Onyx/Onyx.entitlements; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; ENABLE_APP_SANDBOX = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO; INFOPLIST_FILE = Onyx/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = Onyx; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.lifestyle"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/../Frameworks", @@ -352,11 +355,14 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = Onyx/Onyx.entitlements; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; ENABLE_APP_SANDBOX = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO; INFOPLIST_FILE = Onyx/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = Onyx; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.lifestyle"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/../Frameworks", diff --git a/Onyx/Onyx.entitlements b/Onyx/Onyx.entitlements index 9a00abb..8dc1daa 100644 --- a/Onyx/Onyx.entitlements +++ b/Onyx/Onyx.entitlements @@ -58,26 +58,12 @@ com.apple.security.device.audio-input - com.apple.developer.weatherkit - -->