title: Firebase Auth failed on iOS (Unity, Xcode)
body: <p>I am trying to make Firebase Unity SDK work on iOS 13 device. I was able to build the project, but the issue is I am not able sign up or authenticate user.</p>
  
  <p>Steps to Reproduce: (What I did)</p>
  
  <ol>
  <li>Downloaded quickstart-unity/auth/testapp project</li>
  <li>Opened in Unity 2019.2.20f1 with iOS platform</li>
  <li>Changed Bundle ID to the one I have registered in Firebase Console</li>
  <li>Put GoogleService-Info.plist under Assets/Firebase folder</li>
  <li>Set Resolver iOS settings option Add CocoaPods to the Xcode project</li>
  <li>Imported the latest Firebase Auth package 6.10.0 from dotnet4 folder to the project</li>
  <li>Did build</li>
  </ol>
  
  <p>What I see in Xcode project:</p>
  
  <ol>
  <li>PodFile content looks like this:</li>
  </ol>
  
  
  
  <pre><code>source 'https://github.com/CocoaPods/Specs.git'
  platform :ios, '9.0'
  
  target 'Unity-iPhone' do
    pod 'Firebase/Auth', '6.14.0'
    pod 'Firebase/Core', '6.14.0'
  end
  </code></pre>
  
  
  
  <ol start="2">
  <li>GoogleService-Info.plist is in Xcode project hierarchy too</li>
  </ol>
  
  <p>Signed and build on my iPhone 8 with iOS 13.</p>
  
  <p>Result: When I try to fill fields email and password and push button "Create User" which calls the method:</p>
  
  
  
  <pre><code>// Create a user with the email and password.
      public Task CreateUserWithEmailAsync() {
        DebugLog(String.Format("Attempting to create user {0}...", email));
        DisableUI();
  
        // This passes the current displayName through to HandleCreateUserAsync
        // so that it can be passed to UpdateUserProfile().  displayName will be
        // reset by AuthStateChanged() when the new user is created and signed in.
        string newDisplayName = displayName;
        return auth.CreateUserWithEmailAndPasswordAsync(email, password)
          .ContinueWithOnMainThread((task) =&gt; {
            EnableUI();
            if (LogTaskCompletion(task, "User Creation")) {
              var user = task.Result;
              DisplayDetailedUserInfo(user, 1);
              return UpdateUserProfileAsync(newDisplayName: newDisplayName);
            }
            return task;
          }).Unwrap();
      }
  </code></pre>
  
  
  
  <p>I see this error on device screen and in Xcode logs too:</p>
  
  
  
  <pre><code>AuthError.Failure: Firebase.FirebaseException: An internal error has occurred, print and inspect the error details for more information.
  </code></pre>
  
  
  
  <p>Here is full log from Xcode:</p>
  
  <p><a href="https://drive.google.com/file/d/1ZQzrA67NXqM-lwNsSqT8Dgam9XiSHD9y/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/1ZQzrA67NXqM-lwNsSqT8Dgam9XiSHD9y/view?usp=sharing</a></p>
  
  <p>Also I tried to do:</p>
  
  <ol>
  <li>Build on device with lower iOS version.</li>
  <li>Tried to build with Unity 2019.1.11 and 2019.1.13 versions</li>
  <li>Tried to import GoogleService-Info.plist directly to Xcode project</li>
  <li>Tried Firebase SDK 6.8.0 version</li>
  <li>Tried to add [FIRApp configure] manually</li>
  <li>Nothing worked.</li>
  </ol>
  
  <p>Firebase console configured for project and contains two apps android and iOS with different Bundle IDs. Android version works perfect tested many time.</p>
  
  <p>Unity editor version: 2019.2.20f1</p>
  
  <p>Firebase Unity SDK version: 6.10.0</p>
  
  <p>Firebase plugins in use: Auth</p>
  
  <p>Additional SDKs we are using (Facebook, AdMob, etc.): None</p>
  
  <p>Platform we are using the Unity editor on: Mac</p>
  
  <p>Platform we are targeting: iOS</p>
  
  <p>Scripting Runtime: IL2CPP</p>
  
  <p>Xcode version: 11 (the latest)<br>
  CocoaPods: The latest version</p>