Reputation: 43
I set up a new default project template Xamarin.iOS App in Visual Studio 2017 and want to test the app on my Mac mini build host when the app displays the following debug info:
iOSTestApp[...] SecTaskLoadEntitlements failed error=22
iOSTestApp[...] SecTaskCopyDebugDescription: iOSTestApp
After reading this question: I thought it was related to the signing of the Entitlements
. I don't use any Entitlements in the new app so that shouldn't be the problem.
Did anyone come across the same problem and knows how to deal with it?
My development setup is:
Microsoft Visual Studio Professional 2017
Version 15.9.2
Microsoft .NET Framework
Version 4.7.03056
VisualStudio.Mac 1.0
Xamarin 4.12.3.72
Xamarin Designer 4.16.11
Xamarin Templates 1.1.127
Xamarin.iOS and Xamarin.Mac SDK 12.2.1.10
Edit: Updated VS 15.9.2 -> 15.9.5 but no changes
Upvotes: 4
Views: 2285
Reputation: 3861
For me, this error came up too. It was caused by an infinite recursive loop. I had a property that called itself by accident due to a typo:
string name;
public string Name {
get => Name; // this capitalization error caused it. Should be name.
}
Check any recently written code for an infinite loop perhaps!
Upvotes: 3