I developed a MAUI app for ios that sends requests to a RESTful service.
After I strive to connect with it from the app, this error happens:
{System.Web.Http.HttpRequestException: An error occurred whereas sending the request. —> System.Web.WebException: Error: TrustFailure — Finish of interior exception stack hint — at System.Web.Http.NSUrlSessionHandler.SendAsync(HttpRequestMessage request, …}
I’ve used postman utility and the decision to the service Works from the Mac machine.
There isn’t a specifically permission I would like to provide to iOS, proper?
How can I remedy it?
EDIT:
Full information.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>LSRequiresIPhoneOS</key>
<true/>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>XSAppIconAssets</key>
<string>Belongings.xcassets/appicon.appiconset</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>¿Podemos usar tu ubicación todo el tiempo?</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>¿Podemos usar tu ubicación sólo cuando la app se esté usando?</string>
<key>NSCameraUsageDescription</key>
<string>Esta aplicación necesita acceso a la cámara para tomar fotos.</string>
<key>CFBundleDisplayName</key>
<string>Tiempo y Asistencia Desytec</string>
<key>Web</key>
<string></string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</dict>
</plist