Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

NSUsageDescription Issue on xamarin iOS app #10790


User avatar
0
tareqh created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? v10.4.0
  • What is your product type (Angular or MVC)? ASP.NET CORE MVC & jQuery
  • What is product framework type (.net framework or .net core)? .NET 5.0

NSUsageDescription Issue

When we publish app on app store we got these missing purpose string error while we don't use in the application: *NSContactsUsageDescription *NSCalendarsUsageDescription *NSMicrophoneUsageDescription *NSAppleMusicUsageDescription *NSSiriUsageDescription

Although we are not directly using any of the above feature in the application. There are probably references of the above features in the template used by some plugins or libraries. We are unable to detect those libraries. Will be looking forward for your response.

thanks.


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @tareqh

    We haven't faced this problem before. Could you share your Info.plist with us ? Did you also try to upgrade your Xamarin app's NuGet packages to the latest version ? It might help solving the problem.

  • User Avatar
    0
    tareqh created

    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>XSAppIconAssets</key> <string>Media.xcassets/AppIcons.appiconset</string> <key>UIDeviceFamily</key> <array> <integer>1</integer> </array> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> </array> <key>UISupportedInterfaceOrientations~ipad</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> <key>MinimumOSVersion</key> <string>9.0</string> <key>CFBundleDisplayName</key> <string>Cspetro360</string> <key>CFBundleIconFiles</key> <array> <string>Icon-60@2x</string> <string>Icon-60@3x</string> <string>Icon-76</string> <string>Icon-76@2x</string> <string>Default</string> <string>Default@2x</string> <string>Default-568h@2x</string> <string>Default-Portrait</string> <string>Default-Portrait@2x</string> <string>Icon-Small-40</string> <string>Icon-Small-40@2x</string> <string>Icon-Small-40@3x</string> <string>Icon-Small</string> <string>Icon-Small@2x</string> <string>Icon-Small@3x</string> </array> <key>UIAppFonts</key> <array> <string>iconize-fontawesome.ttf</string> <string>iconize-material.ttf</string> <string>iconize-meteocons.ttf</string> <string>iconize-typicons.ttf</string> <string></string> </array> <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict> <key>NSCameraUsageDescription</key> <string>This app need to access Camera so user can capture and upload profile photo</string> <key>NSPhotoLibraryUsageDescription</key> <string>This app need to access Photo library so user can upload profile photo</string> <key>CFBundleIdentifier</key> <string>com.CPetro360.app</string> <key>UILaunchStoryboardName</key> <string>LaunchScreen</string> <key>CFBundleShortVersionString</key> <string>1.2.5</string> <key>CFBundleVersion</key> <string>26</string> </dict> </plist>

    Above is our info.plist Although we have updated packages as well but got same error.

  • User Avatar
    0
    tareqh created

    Is there any update?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @tareqh

    We couldn't identify the problem but your problem might be related to https://stackoverflow.com/a/59990486. Could you check it and see if it works for you ?

    Thanks,