xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.47k stars 514 forks source link

Encapsulate msbuild codesign issue and provide extra info #3881

Open VincentDondain opened 6 years ago

VincentDondain commented 6 years ago

I’m wondering if we could have a mechanism to “encapsulate” unknown error -1=ffffffffffffffff errors (that are super generic). Similar to MT/MM errors, we could redirect to some documentation where we would explain that this is a generic codesign issue and that we recommend doing X to try to fix it.

We do something like that here - https://github.com/xamarin/xamarin-macios/blob/master/tools/mmp/driver.cs#L848 where we special case a few “known” error codes else throw a more generic error.

VincentDondain commented 6 years ago

Note: that would help with https://github.com/xamarin/xamarin-macios/issues/3878