Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Meu programa não roda

Olá! Meu programa não apresenta mensagem de erro, porém quando tento rodar ele trava.

Veja imagem abaixo:

https://drive.google.com/open?id=1NJj9DK02mlAD1Yvgj7bd0_r-NoCWngxP

Log:

2019-04-21 11:08:35.358196-0300 Programa de Viagens[613:11908] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.
2019-04-21 11:08:35.486950-0300 Programa de Viagens[613:11908] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<Programa_de_Viagens.TableViewCell 0x7fb81c04d200> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key labelImagem.'
*** First throw call stack:
(
    0   CoreFoundation                      0x000000010f10b6fb __exceptionPreprocess + 331
    1   libobjc.A.dylib                     0x000000010d725ac5 objc_exception_throw + 48
    2   CoreFoundation                      0x000000010f10b269 -[NSException raise] + 9
    3   Foundation                          0x000000010d19a562 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 289
    4   UIKitCore                           0x0000000111e701f4 -[UIView(CALayerDelegate) setValue:forKey:] + 171
    5   UIKitCore                           0x00000001116258fd -[UIRuntimeOutletConnection connect] + 109
    6   CoreFoundation                      0x000000010f0f7d41 -[NSArray makeObjectsPerformSelector:] + 305
    7   UIKitCore                           0x0000000111622643 -[UINib instantiateWithOwner:options:] + 1810
    8   UIKitCore                           0x0000000111bc03ea -[UITableView _dequeueReusableViewOfType:withIdentifier:] + 613
    9   UIKitCore                           0x0000000111bc08df -[UITableView _dequeueReusableCellWithIdentifier:forIndexPath:usingPresentationValues:] + 148
    10  UIKitCore                           0x0000000111bc0817 -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:] + 91
    11  Programa de Viagens                 0x000000010ce32187 $s19Programa_de_Viagens14ViewControllerC05tableD0_12cellForRowAtSo07UITableD4CellCSo0kD0C_10Foundation9IndexPathVtF + 343
    12  Programa de Viagens                 0x000000010ce32d8b $s19Programa_de_Viagens14ViewControllerC05tableD0_12cellForRowAtSo07UITableD4CellCSo0kD0C_10Foundation9IndexPathVtFTo + 155
    13  UIKitCore                           0x0000000111bdb62c -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 764
    14  UIKitCore                           0x0000000111bdbb65 -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 73
    15  UIKitCore                           0x0000000111ba3d20 -[UITableView _updateVisibleCellsNow:isRecursive:] + 2870
    16  UIKitCore                           0x0000000111bc3e37 -[UITableView layoutSubviews] + 165
    17  UIKitCore                           0x0000000111e709c1 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1417
    18  QuartzCore                          0x00000001133e1eae -[CALayer layoutSublayers] + 173
    19  QuartzCore                          0x00000001133e6b88 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 396
    20  QuartzCore                          0x00000001133f2ee4 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 72
    21  QuartzCore                          0x00000001133623aa _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 328
    22  QuartzCore                          0x0000000113399584 _ZN2CA11Transaction6commitEv + 608
    23  UIKitCore                           0x00000001119bbccb __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 128
    24  CoreFoundation                      0x000000010f072aec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
    25  CoreFoundation                      0x000000010f0722b0 __CFRunLoopDoBlocks + 336
    26  CoreFoundation                      0x000000010f06cb34 __CFRunLoopRun + 1252
    27  CoreFoundation                      0x000000010f06c302 CFRunLoopRunSpecific + 626
    28  GraphicsServices                    0x00000001171f42fe GSEventRunModal + 65
    29  UIKitCore                           0x00000001119a2ba2 UIApplicationMain + 140
    30  Programa de Viagens                 0x000000010ce3708b main + 75
    31  libdyld.dylib                       0x0000000110513541 start + 1
    32  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
1 resposta
solução!

Consegui resolver!

Era uma outlet que não estava configurada corretamente!