I submitted the app on Appstore for Testflight. I acquired a mail with the next situation:
ITMS-90683: Lacking function string in Data.plist – Your app’s code references a number of APIs that entry delicate person information, or the app has a number of entitlements that allow such entry. The Data.plist file for the “Runner.app” bundle ought to comprise a NSAppleMusicUsageDescription key with a user-facing function string explaining clearly and utterly why your app wants the info. When you’re utilizing exterior libraries or SDKs, they might reference APIs that require a function string. Whereas your app may not use these APIs, a function string continues to be required. For particulars, go to: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources.
I do not use the Apple Music permissions within the app. Right here is my Data.plist file:
<?xml model="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist model="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>ChecklistTemplate</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>ChecklistTemplate</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<!-- permissions -->
<key>NSPhotoLibraryUsageDescription</key>
<string>Picture library entry is required to allow use to choose picture/video from the photograph gallary as a proof of the completion of the duty.</string>
<key>NSCameraUsageDescription</key>
<string>Digicam entry is required to allow use to seize picture/video from the Digicam as a proof of the completion of the duty.</string>
<!-- finish permissions -->
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Primary</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
</dict>
</plist>
I simply require digicam and photograph library permissions for my app to perform.