use turtle to build ios app, but got 'Process exited with non-zero code: 255'


#1
Nov 17 15:52:56 turtle[7124] INFO:  Configuring iOS Launch Screen...
  buildPhase: "configuring NSBundle"
2018-11-17 15:52:57.930 ibtoold[7150:517620] +[SimServiceContext serviceContextForDeveloperDir:error:]: unrecognized selector sent to class 0x1131d0c00
2018-11-17 15:52:57.949 ibtoold[7150:517620] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[SimServiceContext serviceContextForDeveloperDir:error:]: unrecognized selector sent to class 0x1131d0c00'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007fff567962db __exceptionPreprocess + 171
        1   libobjc.A.dylib                     0x00007fff7d94bc76 objc_exception_throw + 48
        2   CoreFoundation                      0x00007fff5682ecf4 +[NSObject(NSObject) doesNotRecognizeSelector:] + 132
        3   CoreFoundation                      0x00007fff5670c820 ___forwarding___ + 1456
        4   CoreFoundation                      0x00007fff5670c1e8 _CF_forwarding_prep_0 + 120
        5   IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112e6bdac __IBSharedInterfaceBuilderSpecificSimulatorServiceContext_block_invoke_2 + 162
        6   IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112e6bcde __IBSharedInterfaceBuilderSpecificSimulatorServiceContext_block_invoke + 28
        7   libdispatch.dylib                   0x00007fff7e52bdb8 _dispatch_client_callout + 8
        8   libdispatch.dylib                   0x00007fff7e52bd6b dispatch_once_f + 41
        9   IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112e6bc7d IBSharedInterfaceBuilderSpecificSimulatorServiceContext + 1165
        10  IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112d4950d -[IBCocoaTouchIdiom trySimDeviceTypeForIdentifier:error:] + 56
        11  IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112d496c8 -[IBCocoaTouchIdiom simDeviceTypeForToolDescription:error:] + 153
        12  IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112e03974 -[IBCocoaTouchPlatformToolDescription preferredDeviceTypeReturningError:] + 114
        13  IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112d1da77 -[IBCocoaTouchToolManager executionContextForDescription:error:] + 225
        14  IDEInterfaceBuilderKit              0x0000000103c9f9fb -[IBAbstractInterfaceBuilderPlatformToolManager _determineContextsForLaunchingToolWithDescription:returningLaunchContext:returningExecutionContext:returningFailureContext:error:forReason:] + 136
        15  IDEInterfaceBuilderKit              0x0000000103c9fd1f -[IBAbstractInterfaceBuilderPlatformToolManager launchNewToolWithDescription:error:forReason:] + 160
        16  IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112d1eea2 -[IBCocoaTouchToolManager launchNewToolWithDescription:error:forReason:] + 89
        17  IDEInterfaceBuilderKit              0x0000000103c9d68c -[IBAbstractInterfaceBuilderPlatformToolManager cachedToolIncrementBusyWithDescription:error:forReason:] + 258
        18  IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112d1ed3e -[IBCocoaTouchToolManager cachedToolIncrementBusyWithDescription:error:forReason:] + 89
        19  IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112d9cdaa __122-[IBCocoaTouchXIBDocumentCompiler compiledKeyedObjectsDataWithMarshallingContext:archivingContext:diagnosticsBlock:error:]_block_invoke.95 + 267
        20  libdispatch.dylib                   0x00007fff7e52bdb8 _dispatch_client_callout + 8
        21  libdispatch.dylib                   0x00007fff7e53f1e1 _dispatch_queue_barrier_sync_invoke_and_complete + 60
        22  DVTFoundation                       0x00000001048fed63 DVTDispatchSync + 208
        23  IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112d9c702 -[IBCocoaTouchXIBDocumentCompiler compiledKeyedObjectsDataWithMarshallingContext:archivingContext:diagnosticsBlock:error:] + 3436
        24  IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112d9df18 __121-[IBCocoaTouchXIBDocumentCompiler compiledPackageWithOptions:marshallingContext:archivingContext:diagnosticsBlock:error:]_block_invoke + 72
        25  IDEInterfaceBuilderKit              0x0000000103d45cbb -[IBDocumentCompiler invokeWhileUsingSourceAsIntermediateDocument:] + 72
        26  IDEInterfaceBuilderKit              0x0000000103d45fe8 -[IBDocumentCompiler invokeWithIntermediateDocumentOfTargetRuntime:alwaysCopy:block:] + 316
        27  IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112d9d532 -[IBCocoaTouchXIBDocumentCompiler compiledPackageWithOptions:marshallingContext:archivingContext:diagnosticsBlock:error:] + 696
        28  IDEInterfaceBuilderCocoaTouchIntegration 0x0000000112d9e237 -[IBCocoaTouchXIBDocumentCompiler compileWithOptions:error:] + 380
        29  IDEInterfaceBuilderKit              0x0000000103d4617a +[IBDocumentCompiler compileContentsOfDocument:options:error:] + 123
        30  IDEInterfaceBuilderKit              0x0000000103cff228 __47-[IBDocument compiledPackageWithOptions:error:]_block_invoke + 56
        31  IDEInterfaceBuilderKit              0x0000000103d438e9 -[IBDocumentAutolayoutManager ignoreAutolayoutStatusInvalidationDuring:] + 27
        32  IDEInterfaceBuilderKit              0x0000000103cff17c -[IBDocument compiledPackageWithOptions:error:] + 227
        33  IDEInterfaceBuilderKit              0x0000000103cff4c7 -[IBDocument compileAndWriteToPath:withOptions:error:] + 180
        34  ibtoold                             0x0000000103b5ce73 IBCompileDocumentForSingleTargetDevice + 211
        35  ibtoold                             0x0000000103b5873c -[IBCLIInterfaceBuilderToolPersona invokeArguments:outputDictionary:] + 26169
        36  ibtoold                             0x0000000103b5b67e -[IBCLIInterfaceBuilderToolPersona runSingleInvocation:outputtingToFileHandle:andVerifyingEnvironment:] + 3171
        37  ibtoold                             0x0000000103b5f0e7 IBCLIServerRunSingleInvocation + 520
        38  ibtoold                             0x0000000103b5f73e __IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess_block_invoke_2 + 34
        39  ibtoold                             0x0000000103b5f60c __IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess_block_invoke + 857
        40  ibtoold                             0x0000000103b4e3f5 -[IBCLIErrorForwarder forwardErrorOutputToDescriptor:whileInvokingBlock:] + 110
        41  ibtoold                             0x0000000103b5ec9d IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess + 581
        42  ibtoold                             0x0000000103b5da7d main + 2673
        43  libdyld.dylib                       0x00007fff7e565015 start + 1
        44  ???                                 0x0000000000000002 0x0 + 2
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Nov 17 15:52:57 turtle[7124] INFO:  Cleaning up iOS...
  buildPhase: "configuring NSBundle"
Nov 17 15:52:58 turtle[7124] ERROR: Error: Process exited with non-zero code: 255
    at ChildProcess.child.on (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
Nov 17 15:52:58 turtle[7124] INFO:  delete keychain...
  buildPhase: "deleting keychain"
Nov 17 15:52:58 turtle[7124] INFO:  deleting keychain...
  buildPhase: "deleting keychain"
Nov 17 15:53:00 turtle[7124] INFO:  done deleting keychain
  buildPhase: "deleting keychain"
Nov 17 15:53:00 turtle[7124] ERROR: Failed to build standalone app: Process exited with non-zero code: 255
Nov 17 15:53:00 turtle[7124] ERROR: Error: Process exited with non-zero code: 255
    at ChildProcess.child.on (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)


closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.