Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

646
Visualizações
Error de conexión SSL en Firebase Remote Config en el simulador de iOS

Entonces, estoy tratando de hacer Firebase Remote Config en iOS y estoy usando el simulador de iOS. Xcode 13.2.1

el codigo es basicamente este

 func call() { let remoteCOnfig = RemoteConfig.remoteConfig() remoteCOnfig.fetchAndActivate { status, error in print(" status \(status)") print(" error \(error)") } }

Intento ejecutar el código y obtengo el siguiente error.

 2022-02-16 19:48:05.099832+0530 SampleRemoteControl[31572:311771] Connection 2: default TLS Trust evaluation failed(-9813) 2022-02-16 19:48:05.100002+0530 SampleRemoteControl[31572:311771] Connection 2: TLS Trust encountered error 3:-9813 2022-02-16 19:48:05.100114+0530 SampleRemoteControl[31572:311771] Connection 2: encountered error(3:-9813) 2022-02-16 19:48:05.100601+0530 SampleRemoteControl[31572:311752] Task <1418AE13-A2C1-4F14-84CF-8339E7581426>.<1> finished with error [-1202] Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “firebaseinstallations.googleapis.com” which could put your confidential information at risk." UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=( "<cert(0x7f918f042a00) s: *.googleapis.com i: ca.rak.goskope.com>", "<cert(0x7f918f042000) s: ca.rak.goskope.com i: certadmin>", "<cert(0x7f918f043200) s: certadmin i: certadmin>" ), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://firebaseinstallations.googleapis.com/v1/projects/sample-remote-config-app/installations/, NSErrorFailingURLStringKey=https://firebaseinstallations.googleapis.com/v1/projects/sample-remote-config-app/installations/, NSUnderlyingError=0x600003fb9f80 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x6000000c8f00>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=( "<cert(0x7f918f042a00) s: *.googleapis.com i: ca.rak.goskope.com>", "<cert(0x7f918f042000) s: ca.rak.goskope.com i: certadmin>", "<cert(0x7f918f043200) s: certadmin i: certadmin>" )}}, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <1418AE13-A2C1-4F14-84CF-8339E7581426>.<1>" ), _kCFStreamErrorCodeKey=-9813, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <1418AE13-A2C1-4F14-84CF-8339E7581426>.<1>, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x6000000c8f00>, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “firebaseinstallations.googleapis.com” which could put your confidential information at risk.}

Vi TLS y revisé mi Info.plist. se establece como

 <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>

Estoy perdido ahora. Que esta causando este error ?

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda