Flutterfire: [firebase_auth] - Cannot Build iOS Release

Created on 16 Mar 2020  ·  8Comments  ·  Source: FirebaseExtended/flutterfire

MacOS and Web work fine!

Failed to build iOS app
Error output from Xcode build:
↳
    2020-03-15 22:15:13.182 xcodebuild[8460:3374290]  DTDeviceKit: deviceType from 00008030-000578AE2EC2802E
    was NULL
    2020-03-15 22:15:13.257 xcodebuild[8460:3374290]  DTDeviceKit: deviceType from 00008030-000578AE2EC2802E
    was NULL
    2020-03-15 22:15:13.699 xcodebuild[8460:3374532]  DTDeviceKit: deviceType from 00008006-001F49963653002E
    was NULL
    2020-03-15 22:15:16.939 xcodebuild[8460:3374532]  DTDeviceKit: Failed to mount DDI from
    '<DVTFilePath:0x7ff57be639f0:'/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/DeviceS
    upport/6.1/DeveloperDiskImage.dmg'>', error=-402653034: Error Domain=com.apple.dtdevicekit Code=-402653034
    "Xcode encountered an error" UserInfo={NSLocalizedFailureReason=The user has not yet responded to the
    pairing request., com.apple.dtdevicekit.stacktrace=(
        0   DTDeviceKitBase                     0x000000011380c6e7 DTDKCreateNSError + 109
        1   DTDeviceKitBase                     0x000000011380cde9 DTDK_AMDErrorToNSError + 792
        2   DTDeviceKitBase                     0x000000011384a780 -[DTDKMobileDeviceToken
        _mountDeveloperDiskImage:withError:] + 844
        3   DTDeviceKitBase                     0x000000011384b29d __58-[DTDKMobileDeviceToken
        mountDeveloperDiskImageWithError:]_block_invoke + 699
        4   libdispatch.dylib                   0x00007fff6c68550e _dispatch_client_callout + 8
        5   libdispatch.dylib                   0x00007fff6c691567 _dispatch_lane_barrier_sync_invoke_and_complete
        + 60
        6   DTDeviceKitBase                     0x000000011384af80 -[DTDKMobileDeviceToken
        mountDeveloperDiskImageWithError:] + 199
        7   IDEiOSSupportCore                   0x0000000113430107 __28-[DVTiOSDevice attachToken:]_block_invoke_4
        + 254
        8   DVTFoundation                       0x00000001031f3e7a __DVT_CALLING_CLIENT_BLOCK__ + 7
        9   DVTFoundation                       0x00000001031f5552 __DVTDispatchAsync_block_invoke + 809
        10  libdispatch.dylib                   0x00007fff6c684583 _dispatch_call_block_and_release + 12
        11  libdispatch.dylib                   0x00007fff6c68550e _dispatch_client_callout + 8
        12  libdispatch.dylib                   0x00007fff6c6876c0 _dispatch_continuation_pop + 414
        13  libdispatch.dylib                   0x00007fff6c686dbe _dispatch_async_redirect_invoke + 703
        14  libdispatch.dylib                   0x00007fff6c6937e2 _dispatch_root_queue_drain + 326
        15  libdispatch.dylib                   0x00007fff6c693f22 _dispatch_worker_thread2 + 92
        16  libsystem_pthread.dylib             0x00007fff6c8de6d5 _pthread_wqthread + 220
        17  libsystem_pthread.dylib             0x00007fff6c8de57b start_wqthread + 15
    ), DVTRadarComponentKey=487927, NSLocalizedDescription=Xcode encountered an error}
    2020-03-15 22:15:16.939 xcodebuild[8460:3374532]  iPhoneSupport: 📱<DVTiOSDevice (0x7ff578073a70), Garvis,
    iPhone, 13.3.1 (17D50), 00008030-000578AE2EC2802E> unable to mount DeveloperDiskImage (Error
    Domain=com.apple.dtdevicekit Code=-402653034 "Xcode encountered an error"
    UserInfo={NSLocalizedFailureReason=The user has not yet responded to the pairing request.,
    com.apple.dtdevicekit.stacktrace=(
        0   DTDeviceKitBase                     0x000000011380c6e7 DTDKCreateNSError + 109
        1   DTDeviceKitBase                     0x000000011380cde9 DTDK_AMDErrorToNSError + 792
        2   DTDeviceKitBase                     0x000000011384a780 -[DTDKMobileDeviceToken
        _mountDeveloperDiskImage:withError:] + 844
        3   DTDeviceKitBase                     0x000000011384b29d __58-[DTDKMobileDeviceToken
        mountDeveloperDiskImageWithError:]_block_invoke + 699
        4   libdispatch.dylib                   0x00007fff6c68550e _dispatch_client_callout + 8
        5   libdispatch.dylib                   0x00007fff6c691567 _dispatch_lane_barrier_sync_invoke_and_complete
        + 60
        6   DTDeviceKitBase                     0x000000011384af80 -[DTDKMobileDeviceToken
        mountDeveloperDiskImageWithError:] + 199
        7   IDEiOSSupportCore                   0x0000000113430107 __28-[DVTiOSDevice attachToken:]_block_invoke_4
        + 254
        8   DVTFoundation                       0x00000001031f3e7a __DVT_CALLING_CLIENT_BLOCK__ + 7
        9   DVTFoundation                       0x00000001031f5552 __DVTDispatchAsync_block_invoke + 809
        10  libdispatch.dylib                   0x00007fff6c684583 _dispatch_call_block_and_release + 12
        11  libdispatch.dylib                   0x00007fff6c68550e _dispatch_client_callout + 8
        12  libdispatch.dylib                   0x00007fff6c6876c0 _dispatch_continuation_pop + 414
        13  libdispatch.dylib                   0x00007fff6c686dbe _dispatch_async_redirect_invoke + 703
        14  libdispatch.dylib                   0x00007fff6c6937e2 _dispatch_root_queue_drain + 326
        15  libdispatch.dylib                   0x00007fff6c693f22 _dispatch_worker_thread2 + 92
        16  libsystem_pthread.dylib             0x00007fff6c8de6d5 _pthread_wqthread + 220
        17  libsystem_pthread.dylib             0x00007fff6c8de57b start_wqthread + 15
    ), DVTRadarComponentKey=487927, NSLocalizedDescription=Xcode encountered an error})
    2020-03-15 22:15:20.142 xcodebuild[8460:3374292]  DTDeviceKit: Failed to mount DDI from
    '<DVTFilePath:0x7ff57be639f0:'/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/DeviceS
    upport/6.1/DeveloperDiskImage.dmg'>', error=-402653034: Error Domain=com.apple.dtdevicekit Code=-402653034
    "Xcode encountered an error" UserInfo={NSLocalizedFailureReason=The user has not yet responded to the
    pairing request., com.apple.dtdevicekit.stacktrace=(
        0   DTDeviceKitBase                     0x000000011380c6e7 DTDKCreateNSError + 109
        1   DTDeviceKitBase                     0x000000011380cde9 DTDK_AMDErrorToNSError + 792
        2   DTDeviceKitBase                     0x000000011384a780 -[DTDKMobileDeviceToken
        _mountDeveloperDiskImage:withError:] + 844
        3   DTDeviceKitBase                     0x000000011384b29d __58-[DTDKMobileDeviceToken
        mountDeveloperDiskImageWithError:]_block_invoke + 699
        4   libdispatch.dylib                   0x00007fff6c68550e _dispatch_client_callout + 8
        5   libdispatch.dylib                   0x00007fff6c6918b3 _dispatch_sync_invoke_and_complete_recurse + 65
        6   libdispatch.dylib                   0x00007fff6c691426 _dispatch_sync_f_slow + 195
        7   DTDeviceKitBase                     0x000000011384af80 -[DTDKMobileDeviceToken
        mountDeveloperDiskImageWithError:] + 199
        8   IDEiOSSupportCore                   0x0000000113430107 __28-[DVTiOSDevice attachToken:]_block_invoke_4
        + 254
        9   DVTFoundation                       0x00000001031f3e7a __DVT_CALLING_CLIENT_BLOCK__ + 7
        10  DVTFoundation                       0x00000001031f5552 __DVTDispatchAsync_block_invoke + 809
        11  libdispatch.dylib                   0x00007fff6c684583 _dispatch_call_block_and_release + 12
        12  libdispatch.dylib                   0x00007fff6c68550e _dispatch_client_callout + 8
        13  libdispatch.dylib                   0x00007fff6c6876c0 _dispatch_continuation_pop + 414
        14  libdispatch.dylib                   0x00007fff6c686dbe _dispatch_async_redirect_invoke + 703
        15  libdispatch.dylib                   0x00007fff6c6937e2 _dispatch_root_queue_drain + 326
        16  libdispatch.dylib                   0x00007fff6c693f22 _dispatch_worker_thread2 + 92
        17  libsystem_pthread.dylib             0x00007fff6c8de6d5 _pthread_wqthread + 220
        18  libsystem_pthread.dylib             0x00007fff6c8de57b start_wqthread + 15
    ), DVTRadarComponentKey=487927, NSLocalizedDescription=Xcode encountered an error}
    2020-03-15 22:15:20.142 xcodebuild[8460:3374292]  iPhoneSupport: 📱<DVTiOSDevice (0x7ff578073a70), Garvis,
    iPhone, 13.3.1 (17D50), 00008030-000578AE2EC2802E> unable to mount DeveloperDiskImage (Error
    Domain=com.apple.dtdevicekit Code=-402653034 "Xcode encountered an error"
    UserInfo={NSLocalizedFailureReason=The user has not yet responded to the pairing request.,
    com.apple.dtdevicekit.stacktrace=(
        0   DTDeviceKitBase                     0x000000011380c6e7 DTDKCreateNSError + 109
        1   DTDeviceKitBase                     0x000000011380cde9 DTDK_AMDErrorToNSError + 792
        2   DTDeviceKitBase                     0x000000011384a780 -[DTDKMobileDeviceToken
        _mountDeveloperDiskImage:withError:] + 844
        3   DTDeviceKitBase                     0x000000011384b29d __58-[DTDKMobileDeviceToken
        mountDeveloperDiskImageWithError:]_block_invoke + 699
        4   libdispatch.dylib                   0x00007fff6c68550e _dispatch_client_callout + 8
        5   libdispatch.dylib                   0x00007fff6c6918b3 _dispatch_sync_invoke_and_complete_recurse + 65
        6   libdispatch.dylib                   0x00007fff6c691426 _dispatch_sync_f_slow + 195
        7   DTDeviceKitBase                     0x000000011384af80 -[DTDKMobileDeviceToken
        mountDeveloperDiskImageWithError:] + 199
        8   IDEiOSSupportCore                   0x0000000113430107 __28-[DVTiOSDevice attachToken:]_block_invoke_4
        + 254
        9   DVTFoundation                       0x00000001031f3e7a __DVT_CALLING_CLIENT_BLOCK__ + 7
        10  DVTFoundation                       0x00000001031f5552 __DVTDispatchAsync_block_invoke + 809
        11  libdispatch.dylib                   0x00007fff6c684583 _dispatch_call_block_and_release + 12
        12  libdispatch.dylib                   0x00007fff6c68550e _dispatch_client_callout + 8
        13  libdispatch.dylib                   0x00007fff6c6876c0 _dispatch_continuation_pop + 414
        14  libdispatch.dylib                   0x00007fff6c686dbe _dispatch_async_redirect_invoke + 703
        15  libdispatch.dylib                   0x00007fff6c6937e2 _dispatch_root_queue_drain + 326
        16  libdispatch.dylib                   0x00007fff6c693f22 _dispatch_worker_thread2 + 92
        17  libsystem_pthread.dylib             0x00007fff6c8de6d5 _pthread_wqthread + 220
        18  libsystem_pthread.dylib             0x00007fff6c8de57b start_wqthread + 15
    ), DVTRadarComponentKey=487927, NSLocalizedDescription=Xcode encountered an error})
    ** BUILD FAILED **


Xcode's output:
↳
    /usr/local/Caskroom/flutter/1.2.1/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+2/darwin/
    Classes/FLTFirebaseAuthPlugin.m:172:40: warning: incompatible pointer to integer conversion assigning to
    'BOOL' (aka 'signed char') from 'id _Nullable' [-Wint-conversion]
        actionCodeSettings.handleCodeInApp = call.arguments[@"handleCodeInApp"];
                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/local/Caskroom/flutter/1.2.1/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+2/darwin/
    Classes/FLTFirebaseAuthPlugin.m:175:47: warning: incompatible pointer to integer conversion sending 'id
    _Nullable' to parameter of type 'BOOL' (aka 'signed char') [-Wint-conversion]
                            installIfNotAvailable:call.arguments[@"androidInstallIfNotAvailable"]
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'FirebaseAuth' imported from
    /Users/rodydavis/Developer/GitHub/apps/hymns_for_worship/hymns_for_worship/ios/Pods/Headers/Public/Firebase
    /Firebase.h:26:
    /Users/rodydavis/Developer/GitHub/apps/hymns_for_worship/hymns_for_worship/ios/Pods/FirebaseAuth/Firebase/A
    uth/Source/Public/FIRActionCodeSettings.h:84:39: note: passing argument to parameter
    'installIfNotAvailable' here
              installIfNotAvailable:(BOOL)installIfNotAvailable
                                          ^
    /usr/local/Caskroom/flutter/1.2.1/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+2/darwin/
    Classes/FLTFirebaseAuthPlugin.m:78:1: warning: conflicting return type in implementation of
    'application:didReceiveRemoteNotification:fetchCompletionHandler:': 'BOOL' (aka 'signed char') vs 'bool'
    [-Wmismatched-return-types]
    - (bool)application:(UIApplication *)application
    ^  ~~~~
    In module 'Flutter' imported from
    //usr/local/Caskroom/flutter/1.2.1/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+2/ios/Cl
    asses/FLTFirebaseAuthPlugin.h:5:
    /Users/rodydavis/Developer/GitHub/apps/hymns_for_worship/hymns_for_worship/ios/Flutter/Flutter.framework/He
    aders/FlutterPlugin.h:91:1: note: previous definition is here
    - (BOOL)application:(UIApplication*)application
    ^  ~~~~
    3 warnings generated.
    building file list ... rsync: link_stat
    "/Users/rodydavis/Developer/GitHub/apps/hymns_for_worship/hymns_for_worship/ios/Flutter/App.framework"
    failed: No such file or directory (2)
    done

    sent 29 bytes  received 20 bytes  98.00 bytes/sec
    total size is 0  speedup is 0.00
    rsync error: some files could not be transferred (code 23) at
    /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54/rsync/main.c(996) [sender=2.6.9]
    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Planning build
    note: Constructing build description
Needs Attention customer ios auth bug

All 8 comments

Yes, in the latest version have the issue for me as well. @rodydavis did you solve this?

Hi @rodydavis
can you please provide your flutter doctor -v ,
your flutter build ios --verbose,
your pubspec.yaml
and if possible a reproducible minimal code sample.
Thank you

Will do 👍🏼

Due to this issue (https://github.com/FirebaseExtended/flutterfire/issues/349) I moved to the flutter beta channel. Which also solved the above error for me.

Hi @rodydavis
does @vazra solution works for you?
Thank you

Hey @iapicca ,
sorry for the late response.
If anyone else have the same problem. Yes, that worked for me.


Hey @rodydavis. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

Switching channels worked for me too

Was this page helpful?
0 / 5 - 0 ratings