Skip to content

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSString stringWithUTF8String:]: NULL cString' #153

@stigor

Description

@stigor

Hello,

When I try to download bundle container with command:

ios-deploy --download --bundle_id <bundle_id> --id <device_id>

I got the error:

[....] Waiting for iOS device to be connected
[....] Using iPod Touch 5G 'ip39' (bde7bf06723d92f39ca160da99b350e20b1be23e).
2015-06-23 19:15:15.783 ios-deploy[1735:136473] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSString stringWithUTF8String:]: NULL cString'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007fff88d9c03c __exceptionPreprocess + 172
        1   libobjc.A.dylib                     0x00007fff8e14876e objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff88d9beed +[NSException raise:format:] + 205
        3   Foundation                          0x00007fff981d9ee5 +[NSString stringWithUTF8String:] + 78
        4   ios-deploy                          0x000000010c901812 download_tree + 130
        5   ios-deploy                          0x000000010c90253d handle_device + 429
        6   ios-deploy                          0x000000010c903559 device_callback + 105
        7   MobileDevice                        0x000000010c99706c _AMDDeviceAttachedCallbackv3 + 181
        8   MobileDevice                        0x000000010c923c94 _USBMuxCustomRunLoopSourcePerformCallback + 1416
        9   CoreFoundation                      0x00007fff88cb8a01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
        10  CoreFoundation                      0x00007fff88caab8d __CFRunLoopDoSources0 + 269
        11  CoreFoundation                      0x00007fff88caa1bf __CFRunLoopRun + 927
        12  CoreFoundation                      0x00007fff88ca9bd8 CFRunLoopRunSpecific + 296
        13  CoreFoundation                      0x00007fff88d61671 CFRunLoopRun + 97
        14  ios-deploy                          0x000000010c903c87 main + 1303
        15  libdyld.dylib                       0x00007fff986ed5c9 start + 1
        16  ???                                 0x000000000000000a 0x0 + 10
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

Reproduced on 1.7.0 version and master-branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions