From 85c8b00602a277f537597175e4f7f647f090d911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Modro=C3=B1o=20Vara?= Date: Mon, 1 Jun 2026 21:09:51 +0200 Subject: [PATCH] Stop archiving the MCP helper as a standalone product As a command-line tool target, FindleMCP installed into the archive's Products/usr/local/bin in addition to being embedded in the app. That made the archive multi-product, so Xcode omitted ApplicationProperties from the archive Info.plist and -exportArchive failed with "Unknown Distribution Error" when determining the distribution method. SKIP_INSTALL keeps the helper as an embedded copy only (via the app's copy phase), restoring a single-app archive. --- project.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/project.yml b/project.yml index fbbd3fe..cf96c44 100644 --- a/project.yml +++ b/project.yml @@ -282,6 +282,12 @@ targets: settings: base: PRODUCT_BUNDLE_IDENTIFIER: es.amodrono.foodle.mcp + # The helper ships only as an embedded copy inside the app (via the app's + # copy phase). Without this, the tool also installs to the archive's + # Products/usr/local/bin, making the archive multi-product: Xcode then + # omits ApplicationProperties and -exportArchive fails to determine a + # distribution method ("Unknown Distribution Error"). + SKIP_INSTALL: true # Inherit the team signing identity (no ad-hoc override) so the bundled # helper's Team ID matches the app's frameworks — otherwise the hardened # runtime's library validation refuses to load them (different Team IDs).