From f3124371ee60852e3ae322f89477fd25ef7ac811 Mon Sep 17 00:00:00 2001
From: cdricms <36056008+cdricms@users.noreply.github.com>
Date: Sat, 25 Jul 2026 19:35:59 +0200
Subject: [PATCH] fix(apple): resolve App Store validation errors
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- Info.plist: drop unused `fetch`/`processing` background modes (no
BGTaskScheduler implementation exists, which they would require); keep
remote-notification.
- Info.plist: set ITSAppUsesNonExemptEncryption=false — the app's standard
end-to-end encryption qualifies for the mass-market export exemption, so no
compliance code is required.
- project.yml: emit dwarf-with-dsym for Release so archive symbol upload works.
The remaining upload errors (NFC "NDEF is disallowed", Unsupported SDK) are
artifacts of building with a beta Xcode/SDK 27 and clear when archiving with a
release/RC Xcode; NFCNDEFReaderSession legitimately requires the NDEF format
entitlement, so it is kept as-is.
---
apple/VniDrop/Resources/Info.plist | 4 +---
apple/VniDrop/Resources/VniDrop.entitlements | 2 +-
apple/project.yml | 4 +++-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/apple/VniDrop/Resources/Info.plist b/apple/VniDrop/Resources/Info.plist
index b204cdf..31ed620 100644
--- a/apple/VniDrop/Resources/Info.plist
+++ b/apple/VniDrop/Resources/Info.plist
@@ -21,7 +21,7 @@
CFBundleDisplayName
VniDrop
ITSAppUsesNonExemptEncryption
-
+
LSMultipleInstancesProhibited
@@ -75,8 +75,6 @@
UIBackgroundModes
- fetch
- processing
remote-notification
UIFileSharingEnabled
diff --git a/apple/VniDrop/Resources/VniDrop.entitlements b/apple/VniDrop/Resources/VniDrop.entitlements
index 09743a1..d2b9cb0 100644
--- a/apple/VniDrop/Resources/VniDrop.entitlements
+++ b/apple/VniDrop/Resources/VniDrop.entitlements
@@ -2,7 +2,7 @@
-
+
com.apple.developer.nfc.readersession.formats
NDEF
diff --git a/apple/project.yml b/apple/project.yml
index 806fc85..2e05ee7 100644
--- a/apple/project.yml
+++ b/apple/project.yml
@@ -44,7 +44,7 @@ targets:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.vnidrop.app
MARKETING_VERSION: "0.1.0"
- CURRENT_PROJECT_VERSION: "1"
+ CURRENT_PROJECT_VERSION: "3"
GENERATE_INFOPLIST_FILE: NO
INFOPLIST_FILE: VniDrop/Resources/Info.plist
# Mirror the Info.plist identity so Xcode's Identity editor shows it too
@@ -63,6 +63,8 @@ targets:
CODE_SIGN_ENTITLEMENTS: VniDrop/Resources/VniDrop.entitlements
release:
CODE_SIGN_ENTITLEMENTS: VniDrop/Resources/VniDrop.entitlements
+ # Produce a dSYM in the archive so symbol upload succeeds.
+ DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
dependencies:
- package: VnidropCore
- package: SFSafeSymbols