Hi
After building a unity firebase project to iOS and trying to get a record (async) I get the following exception:
"System.NotSupportedException: TLS Support not available. —> System.NotSupportedException: Could not find TLS Provider: `Mono.AppleTls.AppleTlsProvider’.
at Mono.Net.Security.MonoTlsProviderFactory.LookupProviderType (System.String name, System.Boolean throwOnError) [0x00000] in <00000000000000000000000000000000>:0 "
I also tried this with a test project - one that includes the plugin and a simple script that connects to the database and retrieves a record. The exception occurs when trying to retrieve the record
Also, I added the plist file, installed cocoa pods and have the latest plugin.
I’m using:
Unity version: 2017.2.0f3
xcode version : 9.1
Firebase sdk: 4.4.0
.net 4.6
The project works correctly in Android by the way.
This is very urgent to me, we have an upcoming release…
Thanks
Omri Perl
DllNotFoundException: Security
Mono.AppleTls.AppleTlsContext.InitializeConnection () (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.AppleTls.AppleTlsContext.StartHandshake () (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncProtocolRequest asyncRequest, Mono.Net.Security.AsyncOperationStatus status) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (Mono.Net.Security.AsyncOperationStatus status) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.AsyncProtocolRequest.ProcessOperation () (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.AsyncProtocolRequest.StartOperation () (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.AsyncProtocolRequest.StartOperation (Mono.Net.Security.AsyncOperation operation) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Net.LazyAsyncResult lazyResult) (at <344dc4d3f1ad41809df78607b6121a41>:0)
— End of stack trace from previous location where exception was thrown —
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at /Users/builduser/buildslave/mono/build/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151)
Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Net.LazyAsyncResult lazyResult) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.Private.MonoSslStreamWrapper.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte buffer) (at <344dc4d3f1ad41809df78607b6121a41>:0)
System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) (at <344dc4d3f1ad41809df78607b6121a41>:0)
Rethrow as WebException: Error: SecureChannelFailure (Security)
System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) (at <344dc4d3f1ad41809df78607b6121a41>:0)
System.Net.WebClient.GetWebResponse (System.Net.WebRequest request, System.IAsyncResult result) (at <344dc4d3f1ad41809df78607b6121a41>:0)
System.Net.WebClient.DownloadBitsResponseCallback (System.IAsyncResult result) (at <344dc4d3f1ad41809df78607b6121a41>:0)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
,