Closed w1ck3l closed 5 years ago
Can you try with the latest build from http://aka.ms/objective-sharpie and report back.
That works for us internally?
You're my hero. This did work. I thought that I was at the most recent version. Clearly that was not it. Thank you very much.
I'm having this issue still (or again?).
@chamons the sharpie package provided by you above, currently v3.4.47, will not open for me in Catalina, I get the warning:
"objectivesharpie-3.4.47.pkg” can’t be opened because Apple cannot check it for malicious software. This software needs to be updated. Contact the developer for more information.
@tarrball - You are correct. I've filed that as https://github.com/xamarin/xamarin-macios/issues/7422
However, you should be able to right click -> open and bypass the check for now.
@chamons hi, I think you should update the sharpie download link to this docs https://docs.microsoft.com/en-us/xamarin/cross-platform/macios/binding/objective-sharpie/get-started
and update the update feature of the command line sharpie update
Good catch, I’ll take care of docs. Thanks for the heads up, the evergreen link is http://aka.ms/objective-sharpie
hi @dalexsoto , have you experienced on this issue?
-MacBook-Pro-2:~ nguyenhuutinh$ sharpie update
Current version: 3.5.41
Checking stable channel for newer version ...
Unhandled Exception:
System.AggregateException: One or more errors occurred. (The SSL connection could not be established, see inner exception.) ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Security.Interface.TlsException: CertificateUnknown
at Mono.AppleTls.AppleTlsContext.EvaluateTrust () [0x000c6] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.AppleTls.AppleTlsContext.ProcessHandshake () [0x00075] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <18c41f10b495466c9921b9b6dccaed31>:0
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <18c41f10b495466c9921b9b6dccaed31>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00262] in <18c41f10b495466c9921b9b6dccaed31>:0
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x000c3] in <06ded3dcfc81410db8be9bd115706db1>:0
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x00102] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <06ded3dcfc81410db8be9bd115706db1>:0
at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2029
at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:496
at System.Threading.Tasks.Task`1[TResult].get_Result () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:466
at Sharpie.UpdateTool.GetLatestRelease (System.String channel) [0x00001] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:115
at Sharpie.UpdateTool.Run () [0x00039] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:52
at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180
at Sharpie.Tooling.ToolRunnerTool.Run () [0x000eb] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:95
at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180
at Sharpie.Tooling.ToolRunnerTool.Run (System.Collections.Generic.IEnumerable`1[T] args, System.Action`1[T] aboutToRunToolHandler) [0x00008] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:68
at Sharpie.Entry.Main (System.String[] args) [0x00142] in /Users/runner/work/1/s/Sharpie/Entry.cs:89
---> (Inner Exception #0) System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Security.Interface.TlsException: CertificateUnknown
at Mono.AppleTls.AppleTlsContext.EvaluateTrust () [0x000c6] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.AppleTls.AppleTlsContext.ProcessHandshake () [0x00075] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <18c41f10b495466c9921b9b6dccaed31>:0
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <18c41f10b495466c9921b9b6dccaed31>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00262] in <18c41f10b495466c9921b9b6dccaed31>:0
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x000c3] in <06ded3dcfc81410db8be9bd115706db1>:0
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x00102] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <06ded3dcfc81410db8be9bd115706db1>:0
at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121 <---
[ERROR] FATAL UNHANDLED EXCEPTION: System.AggregateException: One or more errors occurred. (The SSL connection could not be established, see inner exception.) ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Security.Interface.TlsException: CertificateUnknown
at Mono.AppleTls.AppleTlsContext.EvaluateTrust () [0x000c6] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.AppleTls.AppleTlsContext.ProcessHandshake () [0x00075] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <18c41f10b495466c9921b9b6dccaed31>:0
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <18c41f10b495466c9921b9b6dccaed31>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00262] in <18c41f10b495466c9921b9b6dccaed31>:0
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x000c3] in <06ded3dcfc81410db8be9bd115706db1>:0
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x00102] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <06ded3dcfc81410db8be9bd115706db1>:0
at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2029
at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:496
at System.Threading.Tasks.Task`1[TResult].get_Result () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:466
at Sharpie.UpdateTool.GetLatestRelease (System.String channel) [0x00001] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:115
at Sharpie.UpdateTool.Run () [0x00039] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:52
at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180
at Sharpie.Tooling.ToolRunnerTool.Run () [0x000eb] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:95
at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180
at Sharpie.Tooling.ToolRunnerTool.Run (System.Collections.Generic.IEnumerable`1[T] args, System.Action`1[T] aboutToRunToolHandler) [0x00008] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:68
at Sharpie.Entry.Main (System.String[] args) [0x00142] in /Users/runner/work/1/s/Sharpie/Entry.cs:89
---> (Inner Exception #0) System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Security.Interface.TlsException: CertificateUnknown
at Mono.AppleTls.AppleTlsContext.EvaluateTrust () [0x000c6] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.AppleTls.AppleTlsContext.ProcessHandshake () [0x00075] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <18c41f10b495466c9921b9b6dccaed31>:0
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <18c41f10b495466c9921b9b6dccaed31>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <18c41f10b495466c9921b9b6dccaed31>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00262] in <18c41f10b495466c9921b9b6dccaed31>:0
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x000c3] in <06ded3dcfc81410db8be9bd115706db1>:0
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x00102] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <06ded3dcfc81410db8be9bd115706db1>:0
at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <06ded3dcfc81410db8be9bd115706db1>:0
at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121 <---
thanks for the report in the meantime please use http://aka.ms/objective-sharpie to download the latest available version
hi @dalexsoto , have you experienced on this issue?
-MacBook-Pro-2:~ nguyenhuutinh$ sharpie update Current version: 3.5.41 Checking stable channel for newer version ... Unhandled Exception: System.AggregateException: One or more errors occurred. (The SSL connection could not be established, see inner exception.) ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Security.Interface.TlsException: CertificateUnknown at Mono.AppleTls.AppleTlsContext.EvaluateTrust () [0x000c6] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.AppleTls.AppleTlsContext.ProcessHandshake () [0x00075] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <18c41f10b495466c9921b9b6dccaed31>:0 at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool) at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <18c41f10b495466c9921b9b6dccaed31>:0 --- End of inner exception stack trace --- at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00262] in <18c41f10b495466c9921b9b6dccaed31>:0 at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x000c3] in <06ded3dcfc81410db8be9bd115706db1>:0 --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x00102] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <06ded3dcfc81410db8be9bd115706db1>:0 at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2029 at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:496 at System.Threading.Tasks.Task`1[TResult].get_Result () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:466 at Sharpie.UpdateTool.GetLatestRelease (System.String channel) [0x00001] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:115 at Sharpie.UpdateTool.Run () [0x00039] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:52 at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180 at Sharpie.Tooling.ToolRunnerTool.Run () [0x000eb] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:95 at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180 at Sharpie.Tooling.ToolRunnerTool.Run (System.Collections.Generic.IEnumerable`1[T] args, System.Action`1[T] aboutToRunToolHandler) [0x00008] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:68 at Sharpie.Entry.Main (System.String[] args) [0x00142] in /Users/runner/work/1/s/Sharpie/Entry.cs:89 ---> (Inner Exception #0) System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Security.Interface.TlsException: CertificateUnknown at Mono.AppleTls.AppleTlsContext.EvaluateTrust () [0x000c6] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.AppleTls.AppleTlsContext.ProcessHandshake () [0x00075] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <18c41f10b495466c9921b9b6dccaed31>:0 at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool) at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <18c41f10b495466c9921b9b6dccaed31>:0 --- End of inner exception stack trace --- at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00262] in <18c41f10b495466c9921b9b6dccaed31>:0 at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x000c3] in <06ded3dcfc81410db8be9bd115706db1>:0 --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x00102] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <06ded3dcfc81410db8be9bd115706db1>:0 at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121 <--- [ERROR] FATAL UNHANDLED EXCEPTION: System.AggregateException: One or more errors occurred. (The SSL connection could not be established, see inner exception.) ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Security.Interface.TlsException: CertificateUnknown at Mono.AppleTls.AppleTlsContext.EvaluateTrust () [0x000c6] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.AppleTls.AppleTlsContext.ProcessHandshake () [0x00075] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <18c41f10b495466c9921b9b6dccaed31>:0 at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool) at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <18c41f10b495466c9921b9b6dccaed31>:0 --- End of inner exception stack trace --- at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00262] in <18c41f10b495466c9921b9b6dccaed31>:0 at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x000c3] in <06ded3dcfc81410db8be9bd115706db1>:0 --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x00102] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <06ded3dcfc81410db8be9bd115706db1>:0 at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2029 at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:496 at System.Threading.Tasks.Task`1[TResult].get_Result () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:466 at Sharpie.UpdateTool.GetLatestRelease (System.String channel) [0x00001] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:115 at Sharpie.UpdateTool.Run () [0x00039] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:52 at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180 at Sharpie.Tooling.ToolRunnerTool.Run () [0x000eb] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:95 at Sharpie.Tooling.Tool.Run (System.Collections.Generic.IEnumerable`1[T] args) [0x0011c] in /Users/runner/work/1/s/Sharpie.Core/Tooling/Tool.cs:180 at Sharpie.Tooling.ToolRunnerTool.Run (System.Collections.Generic.IEnumerable`1[T] args, System.Action`1[T] aboutToRunToolHandler) [0x00008] in /Users/runner/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:68 at Sharpie.Entry.Main (System.String[] args) [0x00142] in /Users/runner/work/1/s/Sharpie/Entry.cs:89 ---> (Inner Exception #0) System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Security.Interface.TlsException: CertificateUnknown at Mono.AppleTls.AppleTlsContext.EvaluateTrust () [0x000c6] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.AppleTls.AppleTlsContext.ProcessHandshake () [0x00075] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <18c41f10b495466c9921b9b6dccaed31>:0 at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool) at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <18c41f10b495466c9921b9b6dccaed31>:0 at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <18c41f10b495466c9921b9b6dccaed31>:0 --- End of inner exception stack trace --- at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00262] in <18c41f10b495466c9921b9b6dccaed31>:0 at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x000c3] in <06ded3dcfc81410db8be9bd115706db1>:0 --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x00102] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <06ded3dcfc81410db8be9bd115706db1>:0 at System.Net.Http.HttpClient.FinishGetStreamAsync (System.Threading.Tasks.Task`1[TResult] getTask) [0x0006f] in <06ded3dcfc81410db8be9bd115706db1>:0 at Sharpie.UpdateTool.GetLatestReleaseAsync (System.String channel) [0x00045] in /Users/runner/work/1/s/Sharpie/UpdateTool.cs:121 <---
I get the exactly same result calling sharpie update
with 3.5.45.
Steps to Reproduce
Terminal commnad: sharpie bind --output=BRPtouchPrinterKit --namespace=BRPtouchPrinterKit --sdk iphoneos13.0 BRPtouchPrinter.h
Expected Behavior
This should have built the ApiDefinition.cs and the StructsandEnums.cs files
Actual Behavior
Gives: [ObjectiveSharpie] Unsupported clang availability platform: 'macCatalyst'
Environment
MacBook Pro: MacOS Mojave 10.14.6
Build Logs
BICNJC02NX14UG3:headers jhess$ sharpie xcode -sdks sdk: appletvos13.0 arch: arm64
sdk: iphoneos13.0 arch: arm64 armv7
sdk: driverkit19.0 arch: x86_64 i386
sdk: macosx10.15 arch: x86_64 i386
sdk: watchos6.0 arch: armv7k
BICNJC02NX14UG3:headers jhess$
Example Project (If Possible)