1
0
forked from firka/firka

fix(ios): add camera and photo library usage strings

App Store Connect rejected the build (ITMS-90683): mobile_scanner and
image_picker need NSCameraUsageDescription and
NSPhotoLibraryUsageDescription. Localized in hu, en and de.
This commit is contained in:
2026-11-29 10:44:43 +01:00
parent 729eee1c02
commit c6b0aebd38
5 changed files with 48 additions and 19 deletions

View File

@@ -65,6 +65,7 @@
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
AA00000100000005AABBCC05 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = AA00000100000004AABBCC04 /* Localizable.strings */; };
AA00000100000015AABBCC15 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = AA00000100000014AABBCC14 /* InfoPlist.strings */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -216,6 +217,9 @@
AA00000100000001AABBCC01 /* hu */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hu; path = hu.lproj/Localizable.strings; sourceTree = "<group>"; };
AA00000100000002AABBCC02 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
AA00000100000003AABBCC03 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Localizable.strings; sourceTree = "<group>"; };
AA00000100000011AABBCC11 /* hu */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hu; path = hu.lproj/InfoPlist.strings; sourceTree = "<group>"; };
AA00000100000012AABBCC12 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
AA00000100000013AABBCC13 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
AB2E15171B6907C52E8C2B42 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
AE756C46C544099A30412EAF /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
EBD040A65B2746AF6A3D5C40 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
@@ -491,6 +495,7 @@
4F7701D72F2EC1AA00B79171 /* Shared */,
4F25FCBD2EB1790E0060DAAA /* Runner.entitlements */,
AA00000100000004AABBCC04 /* Localizable.strings */,
AA00000100000014AABBCC14 /* InfoPlist.strings */,
97C146FA1CF9000F007C117D /* Main.storyboard */,
97C146FD1CF9000F007C117D /* Assets.xcassets */,
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
@@ -738,6 +743,7 @@
buildActionMask = 2147483647;
files = (
AA00000100000005AABBCC05 /* Localizable.strings in Resources */,
AA00000100000015AABBCC15 /* InfoPlist.strings in Resources */,
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
@@ -1010,6 +1016,16 @@
name = Localizable.strings;
sourceTree = "<group>";
};
AA00000100000014AABBCC14 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
AA00000100000011AABBCC11 /* hu */,
AA00000100000012AABBCC12 /* en */,
AA00000100000013AABBCC13 /* de */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
@@ -1076,7 +1092,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
@@ -1108,7 +1124,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 6.0.0;
@@ -1128,7 +1144,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 6.0.0;
@@ -1146,7 +1162,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 6.0.0;
@@ -1174,7 +1190,7 @@
CODE_SIGN_ENTITLEMENTS = LiveActivityWidget.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
@@ -1225,7 +1241,7 @@
CODE_SIGN_ENTITLEMENTS = LiveActivityWidget.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
@@ -1273,7 +1289,7 @@
CODE_SIGN_ENTITLEMENTS = LiveActivityWidget.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
@@ -1320,7 +1336,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = FirkaWatchComplicationsExtension.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
@@ -1373,7 +1389,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = FirkaWatchComplicationsExtension.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
@@ -1423,7 +1439,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = FirkaWatchComplicationsExtension.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
@@ -1474,7 +1490,7 @@
CODE_SIGN_ENTITLEMENTS = HomeWidgetsExtension.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
@@ -1525,7 +1541,7 @@
CODE_SIGN_ENTITLEMENTS = HomeWidgetsExtension.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
@@ -1572,7 +1588,7 @@
CODE_SIGN_ENTITLEMENTS = HomeWidgetsExtension.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
@@ -1633,7 +1649,7 @@
"@executable_path/Frameworks",
);
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
MARKETING_VERSION = 6.0.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
@@ -1687,7 +1703,7 @@
"@executable_path/Frameworks",
);
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
MARKETING_VERSION = 6.0.0;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = app.firkaa.legacy.watchkitapp;
@@ -1738,7 +1754,7 @@
"@executable_path/Frameworks",
);
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
MARKETING_VERSION = 6.0.0;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = app.firkaa.legacy.watchkitapp;
@@ -1883,7 +1899,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
@@ -1919,7 +1935,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2004;
CURRENT_PROJECT_VERSION = 2005;
DEVELOPMENT_TEAM = R9PZGUCNJ3;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;

View File

@@ -12,6 +12,10 @@
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>NSCameraUsageDescription</key>
<string>The camera is used to scan the QR code of a shared theme.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Your photo library is used to pick a profile picture or to scan a theme QR code saved as an image.</string>
<key>CFBundleDisplayName</key>
<string>Firka</string>
<key>CFBundleExecutable</key>
@@ -46,7 +50,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>2004</string>
<string>2005</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>

View File

@@ -0,0 +1,3 @@
/* Berechtigungsanfragen */
"NSCameraUsageDescription" = "Mit der Kamera kannst du den QR-Code eines geteilten Themes scannen.";
"NSPhotoLibraryUsageDescription" = "Aus deiner Fotomediathek kannst du ein Profilbild wählen oder den als Bild gespeicherten QR-Code eines Themes scannen.";

View File

@@ -0,0 +1,3 @@
/* Permission prompts */
"NSCameraUsageDescription" = "The camera is used to scan the QR code of a shared theme.";
"NSPhotoLibraryUsageDescription" = "Your photo library is used to pick a profile picture or to scan a theme QR code saved as an image.";

View File

@@ -0,0 +1,3 @@
/* Engedélykérő szövegek */
"NSCameraUsageDescription" = "A kamerával olvashatod be egy megosztott téma QR-kódját.";
"NSPhotoLibraryUsageDescription" = "A galériából választhatsz profilképet, vagy beolvashatod egy képre mentett téma QR-kódját.";