Announcement

Collapse
No announcement yet.

Another iOS SDK 12 error

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Another iOS SDK 12 error

    Attempting to build a project that built fine a few weeks ago. It has had changes since then but I can't point to anything that was done since then as the culprit.

    Code:
    2018-09-24 23:49:49.212 ibtoold[5756:186810] +[SimServiceContext serviceContextForDeveloperDir:error:]: unrecognized selector sent to class 0x11758cc00
    2018-09-24 23:49:49.214 ibtoold[5756:186810] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[SimServiceContext serviceContextForDeveloperDir:error:]: unrecognized selector sent to class 0x11758cc00'
    *** First throw call stack:
    (
        0   CoreFoundation                      0x00007fff4183e2db __exceptionPreprocess + 171
        1   libobjc.A.dylib                     0x00007fff689e5c76 objc_exception_throw + 48
        2   CoreFoundation                      0x00007fff418d6cf4 +[NSObject(NSObject) doesNotRecognizeSelector:] + 132
        3   CoreFoundation                      0x00007fff417b4820 ___forwarding___ + 1456
        4   CoreFoundation                      0x00007fff417b41e8 _CF_forwarding_prep_0 + 120
        5   IDEInterfaceBuilderCocoaTouchIntegration 0x00000001172292dc __IBSharedInterfaceBuilderSpecificSimulatorServiceContext_block_invoke_2 + 162
        6   IDEInterfaceBuilderCocoaTouchIntegration 0x000000011722920e __IBSharedInterfaceBuilderSpecificSimulatorServiceContext_block_invoke + 28
        7   libdispatch.dylib                   0x00007fff695c5db8 _dispatch_client_callout + 8
        8   libdispatch.dylib                   0x00007fff695c5d6b dispatch_once_f + 41
        9   IDEInterfaceBuilderCocoaTouchIntegration 0x00000001172291ad IBSharedInterfaceBuilderSpecificSimulatorServiceContext + 1165
        10  IDEInterfaceBuilderCocoaTouchIntegration 0x000000011710703e -[IBCocoaTouchIdiom trySimDeviceTypeForIdentifier:error:] + 56
        11  IDEInterfaceBuilderCocoaTouchIntegration 0x00000001171071f9 -[IBCocoaTouchIdiom simDeviceTypeForToolDescription:error:] + 153
        12  IDEInterfaceBuilderCocoaTouchIntegration 0x00000001171c0ea4 -[IBCocoaTouchPlatformToolDescription preferredDeviceTypeReturningError:] + 114
        13  IDEInterfaceBuilderCocoaTouchIntegration 0x00000001170ca055 __130+[IBICAbstractCocoaTouchPlatformAdapter catalogToolForPlatformWithIdentifier:andAdditionalLaunchEnvironmentVariables:launchError:]_block_invoke_2 + 377
        14  IBFoundation                        0x0000000108debb9c -[NSMutableDictionary(IBMutableDictionaryAdditions) ib_objectForKey:creatingIfNecessaryWithBlock:] + 100
        15  IDEInterfaceBuilderCocoaTouchIntegration 0x00000001170c9bd9 +[IBICAbstractCocoaTouchPlatformAdapter catalogToolForPlatformWithIdentifier:andAdditionalLaunchEnvironmentVariables:launchError:] + 202
        16  IDEInterfaceBuilderCocoaTouchIntegration 0x00000001170c7901 -[IBICAbstractCocoaTouchPlatformAdapter compileCARItems:tagSolutionSpace:options:queue:completionHandler:] + 371
        17  IDEInterfaceBuilderKit              0x0000000107bf9bad __84-[IBICAbstractPlatformAdapter compileSelectedItems:options:queue:completionHandler:]_block_invoke + 228
        18  IDEInterfaceBuilderKit              0x0000000107bfcfb4 __93-[IBICAbstractPlatformAdapter compileStandaloneCatalogItems:options:queue:completionHandler:]_block_invoke + 18
        19  DVTFoundation                       0x000000010871b45e __DVTDispatchAsync_block_invoke + 97
        20  libdispatch.dylib                   0x00007fff695cd5fa _dispatch_call_block_and_release + 12
        21  libdispatch.dylib                   0x00007fff695c5db8 _dispatch_client_callout + 8
        22  libdispatch.dylib                   0x00007fff695d1395 _dispatch_main_queue_callback_4CF + 1148
        23  CoreFoundation                      0x00007fff417f6c19 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
        24  CoreFoundation                      0x00007fff417b8dfa __CFRunLoopRun + 2586
        25  CoreFoundation                      0x00007fff417b8153 CFRunLoopRunSpecific + 483
        26  DVTFoundation                       0x00000001085a0d3e -[NSRunLoop(DVTNSRunLoopAdditions) dvt_spinRunLoopInMode:whileBlockExecutesConcurrently:] + 457
        27  DVTFoundation                       0x00000001085a11e9 -[NSRunLoop(DVTNSRunLoopAdditions) dvt_spinRunLoopInMode:waitingForSemaphore:] + 128
        28  ibtoold                             0x0000000107971850 -[IBCLIImageCatalogToolPersona compileCatalogCollection:withPlatformAdapter:arguments:outputDictionary:] + 1622
        29  ibtoold                             0x0000000107973087 -[IBCLIImageCatalogToolPersona invokeArguments:outputDictionary:] + 1785
        30  ibtoold                             0x0000000107973631 -[IBCLIImageCatalogToolPersona runSingleInvocation:outputtingToFileHandle:andVerifyingEnvironment:] + 709
        31  ibtoold                             0x00000001079810e7 IBCLIServerRunSingleInvocation + 520
        32  ibtoold                             0x000000010798173e __IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess_block_invoke_2 + 34
        33  ibtoold                             0x000000010798160c __IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess_block_invoke + 857
        34  ibtoold                             0x00000001079703f5 -[IBCLIErrorForwarder forwardErrorOutputToDescriptor:whileInvokingBlock:] + 110
        35  ibtoold                             0x0000000107980c9d IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess + 581
        36  ibtoold                             0x000000010797fa7d main + 2673
        37  libdyld.dylib                       0x00007fff695ff015 start + 1
        38  ???                                 0x0000000000000002 0x0 + 2
    )
    libc++abi.dylib: terminating with uncaught exception of type NSException
    Total build time: 56.07 seconds (Local executor: 34.76 seconds)
    This looks like under-the-hood stuff to me. Is anyone able to decipher it?

    I'm running 4.19. Is it time to update?

    #2
    I'm having this exact same problem right now after accidentally updating our target device to IOS12. Worked fine with no error on IOS11, so I think you're right that it's under-the-hood stuff.

    Comment


      #3
      This issue ended up being an Xcode problem. Once Xcode had updated and the engine was restarted, everything worked fine again.

      Comment

      Working...
      X