Skip to content

Commit 13a693e

Browse files
committed
Fix rejection 1 on version 1.0.0
1 parent c4474a1 commit 13a693e

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@
403403
MTL_ENABLE_DEBUG_INFO = NO;
404404
SDKROOT = iphoneos;
405405
SUPPORTED_PLATFORMS = iphoneos;
406-
TARGETED_DEVICE_FAMILY = "1,2";
406+
TARGETED_DEVICE_FAMILY = 1;
407407
VALIDATE_PRODUCT = YES;
408408
};
409409
name = Profile;
@@ -415,7 +415,7 @@
415415
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
416416
CLANG_ENABLE_MODULES = YES;
417417
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
418-
CURRENT_PROJECT_VERSION = 3;
418+
CURRENT_PROJECT_VERSION = 4;
419419
DEVELOPMENT_TEAM = A2325D69UZ;
420420
ENABLE_BITCODE = NO;
421421
FRAMEWORK_SEARCH_PATHS = (
@@ -488,7 +488,7 @@
488488
MTL_ENABLE_DEBUG_INFO = YES;
489489
ONLY_ACTIVE_ARCH = YES;
490490
SDKROOT = iphoneos;
491-
TARGETED_DEVICE_FAMILY = "1,2";
491+
TARGETED_DEVICE_FAMILY = 1;
492492
};
493493
name = Debug;
494494
};
@@ -539,7 +539,7 @@
539539
SDKROOT = iphoneos;
540540
SUPPORTED_PLATFORMS = iphoneos;
541541
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
542-
TARGETED_DEVICE_FAMILY = "1,2";
542+
TARGETED_DEVICE_FAMILY = 1;
543543
VALIDATE_PRODUCT = YES;
544544
};
545545
name = Release;
@@ -551,7 +551,7 @@
551551
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
552552
CLANG_ENABLE_MODULES = YES;
553553
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
554-
CURRENT_PROJECT_VERSION = 3;
554+
CURRENT_PROJECT_VERSION = 4;
555555
DEVELOPMENT_TEAM = A2325D69UZ;
556556
ENABLE_BITCODE = NO;
557557
FRAMEWORK_SEARCH_PATHS = (
@@ -580,7 +580,7 @@
580580
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
581581
CLANG_ENABLE_MODULES = YES;
582582
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
583-
CURRENT_PROJECT_VERSION = 3;
583+
CURRENT_PROJECT_VERSION = 4;
584584
DEVELOPMENT_TEAM = A2325D69UZ;
585585
ENABLE_BITCODE = NO;
586586
FRAMEWORK_SEARCH_PATHS = (

ios/Runner/Info.plist

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,24 @@
3333
</array>
3434
<key>LSRequiresIPhoneOS</key>
3535
<true/>
36+
<key>NSAppleMusicUsageDescription</key>
37+
<string>This app uses an external library that may need access to your Apple Music data.</string>
38+
<key>NSCalendarsUsageDescription</key>
39+
<string>This app uses an external library that may need access to your calendars data.</string>
3640
<key>NSCameraUsageDescription</key>
3741
<string>This app needs access to the camera when changing the profile picture</string>
42+
<key>NSContactsUsageDescription</key>
43+
<string>This app uses an external library that needs access to your contacts.</string>
3844
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
39-
<string>This app needs access to location when open and in the background.</string>
45+
<string>To get real-time updates on orders, to show you deliverers in your vicinity and improve ordering experience.</string>
4046
<key>NSLocationAlwaysUsageDescription</key>
41-
<string>This app needs access to location when in the background.</string>
47+
<string>To get real-time updates on orders, to show you deliverers in your vicinity and improve ordering experience.</string>
4248
<key>NSLocationWhenInUseUsageDescription</key>
43-
<string>This app needs access to location when open.</string>
44-
<key>NSPhotoLibraryUsageDescription</key>
45-
<string>This app needs access to the photo gallery when changing the profile picture</string>
46-
<key>NSContactsUsageDescription</key>
47-
<string>This app uses an external library that needs access to your contacts.</string>
48-
<key>NSCalendarsUsageDescription</key>
49-
<string>This app uses an external library that may need access to your calendars data.</string>
50-
<key>NSAppleMusicUsageDescription</key>
51-
<string>This app uses an external library that may need access to your Apple Music data.</string>
49+
<string>To get real-time updates on orders, to show you deliverers in your vicinity and improve ordering experience.</string>
5250
<key>NSMotionUsageDescription</key>
5351
<string>This app uses an external library that may need access to your device's motion data.</string>
52+
<key>NSPhotoLibraryUsageDescription</key>
53+
<string>This app needs access to the photo gallery when changing the profile picture</string>
5454
<key>NSSpeechRecognitionUsageDescription</key>
5555
<string>This app uses an external library that may need access to your speech recognition data.</string>
5656
<key>UIBackgroundModes</key>

0 commit comments

Comments
 (0)