SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=5329

Wally McClure 1 Reputation point
2020-11-24T12:55:04.92+00:00

I'm developing an app in Xamarin Forms. I have to load some web content. I am currently getting an error in the iOS simulator and my web content does not load: SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=5329. I have never seen this error before. Googling is not of much help. Deleting the bin and obj folders is not much help. Shutting down and restarting the Mac isn't much help. This error is occurring in a simulator session when I try to test this out. the same content loads up and runs on my android device.

I am assuming that this is some type of security access on my entitlements file in trying to read it, but am not sure on what to do.

Any ideas on getting this to work under iOS are appreciated.

TIA

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wally McClure 1 Reputation point
    2020-11-24T21:36:50.903+00:00

    A few more recompiles, rebooting my mac, etc. This error message goes away.