app works in xcode, and in release for all devices but iphone 6s

I have an application that is published in the app store, and it works for all devices except when a 6s is used, the app immediately crashes. What is even more bizarre is it works completely fine in simulator for 6s, I have no idea what to do. Here is some information from a crash log. If any one has experienced this issue and fixed it before, please let me know. Thank you very much.



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY

Triggered by Thread: 0

Filtered syslog:

None found

Last Exception Backtrace:

(0x182f74f48 0x19841ff80 0x182f74e18 0x183e68a1c 0x1001695e8 0x100169054 0x198420fc8 0x1984278f8 0x198431db8 0x1001763e4 0x10017b2fc 0x10017dda8 0x10017f7f0 0x198a90668 0x198a8d330 0x198a8be78 0x10017c9ac 0x10017b978 0x100186edc 0x100186980 0x100185ee4 0x10012cd80 0x10012d1d4 0x188508098 0x188507c9c 0x188dcccec 0x188c2af20 0x188c2ad24 0x188c2afec 0x188507ee4 0x188507c9c 0x1000ecf64 0x1000eb9d0 0x1000eba68 0x100142034 0x1001408cc 0x18857d324 0x1887abacc 0x1887afe0c 0x1887acf50 0x18d0db7c4 0x18d0dbb44 0x182f2c544 0x182f2bfd8 0x182f29cd8 0x182e58ca0 0x1885761c8 0x188570ffc 0x100141bbc 0x198c628b8)

Global Trace Buffer (reverse chronological seconds):

6148914689.413271 CFNetwork 0x0000000182719034 TCP Conn 0x136ecc0d0 started

6148914689.418420 CFNetwork 0x000000018276e608 Creating default cookie storage with default identifier

6148914689.418420 CFNetwork 0x000000018276e5d4 Faulting in CFHTTPCookieStorage singleton

6148914689.418420 CFNetwork 0x00000001827c0394 Faulting in NSHTTPCookieStorage singleton

Thread 0 name: Dispatch queue: com.apple.main-thread

Thread 0 Crashed:

0 libsystem_kernel.dylib 0x0000000198d7f140 0x198d64000 + 110912

1 libsystem_pthread.dylib 0x0000000198e48ef8 0x198e44000 + 20216

2 libsystem_c.dylib 0x0000000198cf2b78 0x198c90000 + 404344

3 libc++abi.dylib 0x0000000197a893f4 0x197a88000 + 5108

4 libc++abi.dylib 0x0000000197aa5e98 0x197a88000 + 122520

5 libobjc.A.dylib 0x0000000198420248 0x198418000 + 33352

6 libc++abi.dylib 0x0000000197aa2f44 0x197a88000 + 110404

7 libc++abi.dylib 0x0000000197aa285c 0x197a88000 + 108636

8 libobjc.A.dylib 0x0000000198420094 0x198418000 + 32916

9 CoreFoundation 0x0000000182f74e18 0x182e50000 + 1199640

10 Foundation 0x0000000183e68a1c 0x183dc4000 + 674332

11 ChatZone 0x00000001001695e8 0x1000e4000 + 546280

12 ChatZone 0x0000000100169054 0x1000e4000 + 544852

13 libobjc.A.dylib 0x0000000198420fc8 0x198418000 + 36808

14 libobjc.A.dylib 0x00000001984278f8 0x198418000 + 63736

15 libobjc.A.dylib 0x0000000198431db8 0x198418000 + 105912

16 ChatZone 0x00000001001763e4 0x1000e4000 + 599012

17 ChatZone 0x000000010017b2fc 0x1000e4000 + 619260

18 ChatZone 0x000000010017dda8 0x1000e4000 + 630184

19 ChatZone 0x000000010017f7f0 0x1000e4000 + 636912

20 libxml2.2.dylib 0x0000000198a90668 0x198a88000 + 34408

21 libxml2.2.dylib 0x0000000198a8d330 0x198a88000 + 21296

22 libxml2.2.dylib 0x0000000198a8be78 0x198a88000 + 15992

23 ChatZone 0x000000010017c9ac 0x1000e4000 + 625068

24 ChatZone 0x000000010017b978 0x1000e4000 + 620920

25 ChatZone 0x0000000100186edc 0x1000e4000 + 667356

26 ChatZone 0x0000000100186980 0x1000e4000 + 665984

27 ChatZone 0x0000000100185ee4 0x1000e4000 + 663268

28 ChatZone 0x000000010012cd80 0x1000e4000 + 298368

29 ChatZone 0x000000010012d1d4 0x1000e4000 + 299476

30 UIKit 0x0000000188508098 0x1884f0000 + 98456

31 UIKit 0x0000000188507c9c 0x1884f0000 + 97436

32 UIKit 0x0000000188dcccec 0x1884f0000 + 9293036

33 UIKit 0x0000000188c2af20 0x1884f0000 + 7581472

34 UIKit 0x0000000188c2ad24 0x1884f0000 + 7580964

35 UIKit 0x0000000188c2afec 0x1884f0000 + 7581676

36 UIKit 0x0000000188507ee4 0x1884f0000 + 98020

37 UIKit 0x0000000188507c9c 0x1884f0000 + 97436

38 ChatZone 0x00000001000ecf64 0x1000e4000 + 36708

39 ChatZone 0x00000001000eb9d0 0x1000e4000 + 31184

40 ChatZone 0x00000001000eba68 0x1000e4000 + 31336

41 ChatZone 0x0000000100142034 0x1000e4000 + 385076

42 ChatZone 0x00000001001408cc 0x1000e4000 + 379084

43 UIKit 0x000000018857d324 0x1884f0000 + 578340

44 UIKit 0x00000001887abacc 0x1884f0000 + 2865868

45 UIKit 0x00000001887afe0c 0x1884f0000 + 2883084

46 UIKit 0x00000001887acf50 0x1884f0000 + 2871120

47 FrontBoardServices 0x000000018d0db7c4 0x18d0b4000 + 161732

48 FrontBoardServices 0x000000018d0dbb44 0x18d0b4000 + 162628

49 CoreFoundation 0x0000000182f2c544 0x182e50000 + 902468

50 CoreFoundation 0x0000000182f2bfd8 0x182e50000 + 901080

51 CoreFoundation 0x0000000182f29cd8 0x182e50000 + 892120

52 CoreFoundation 0x0000000182e58ca0 0x182e50000 + 36000

53 UIKit 0x00000001885761c8 0x1884f0000 + 549320

54 UIKit 0x0000000188570ffc 0x1884f0000 + 528380

55 ChatZone 0x0000000100141bbc 0x1000e4000 + 383932

56 libdyld.dylib 0x0000000198c628b8 0x198c60000 + 10424

Thread 1:

0 libsystem_kernel.dylib 0x0000000198d7fb6c 0x198d64000 + 113516

1 libsystem_pthread.dylib 0x0000000198e45530 0x198e44000 + 5424

2 libsystem_pthread.dylib 0x0000000198e45020 0x198e44000 + 4128

Thread 2 name: Dispatch queue: com.apple.libdispatch-manager

Thread 2:

0 libsystem_kernel.dylib 0x0000000198d804fc 0x198d64000 + 115964

1 libdispatch.dylib 0x0000000198c44a04 0x198c30000 + 84484

2 libdispatch.dylib 0x0000000198c33874 0x198c30000 + 14452

Thread 3:

0 libsystem_kernel.dylib 0x0000000198d7fb6c 0x198d64000 + 113516

1 libsystem_pthread.dylib 0x0000000198e45530 0x198e44000 + 5424

2 libsystem_pthread.dylib 0x0000000198e45020 0x198e44000 + 4128

Thread 4 name: Dispatch queue: com.apple.CoreLocation.ConnectionClient.0x136ed60a0.events

Thread 4:

0 libsystem_kernel.dylib 0x0000000198d64a94 0x198d64000 + 2708

1 libdispatch.dylib 0x0000000198c425c0 0x198c30000 + 75200

2 CoreLocation 0x00000001836fed94 0x1836fc000 + 11668

3 CoreLocation 0x0000000183703808 0x1836fc000 + 30728

4 CoreLocation 0x000000018373df28 0x1836fc000 + 270120

5 CoreLocation 0x000000018373bb7c 0x1836fc000 + 260988

6 CoreLocation 0x000000018373bab0 0x1836fc000 + 260784

7 CoreLocation 0x000000018373ccfc 0x1836fc000 + 265468

8 libxpc.dylib 0x0000000198e793b0 0x198e74000 + 21424

9 libxpc.dylib 0x0000000198e77158 0x198e74000 + 12632

10 libdispatch.dylib 0x0000000198c317a4 0x198c30000 + 6052

11 libdispatch.dylib 0x0000000198c35a90 0x198c30000 + 23184

12 libdispatch.dylib 0x0000000198c3d8c0 0x198c30000 + 55488

13 libdispatch.dylib 0x0000000198c34ba4 0x198c30000 + 19364

14 libdispatch.dylib 0x0000000198c3d8c0 0x198c30000 + 55488

15 libdispatch.dylib 0x0000000198c351ac 0x198c30000 + 20908

16 libdispatch.dylib 0x0000000198c3d8c0 0x198c30000 + 55488

17 libdispatch.dylib 0x0000000198c351ac 0x198c30000 + 20908

18 libdispatch.dylib 0x0000000198c316a8 0x198c30000 + 5800

19 libdispatch.dylib 0x0000000198c3fb40 0x198c30000 + 64320

20 libdispatch.dylib 0x0000000198c3f2dc 0x198c30000 + 62172

21 libsystem_pthread.dylib 0x0000000198e45470 0x198e44000 + 5232

22 libsystem_pthread.dylib 0x0000000198e45020 0x198e44000 + 4128

Thread 5:

0 libsystem_kernel.dylib 0x0000000198d7fb6c 0x198d64000 + 113516

1 libsystem_pthread.dylib 0x0000000198e45530 0x198e44000 + 5424

2 libsystem_pthread.dylib 0x0000000198e45020 0x198e44000 + 4128

Thread 6:

0 libsystem_kernel.dylib 0x0000000198d7fb6c 0x198d64000 + 113516

1 libsystem_pthread.dylib 0x0000000198e45530 0x198e44000 + 5424

2 libsystem_pthread.dylib 0x0000000198e45020 0x198e44000 + 4128

Thread 7 name: com.apple.NSURLConnectionLoader

Thread 7:

0 libsystem_kernel.dylib 0x0000000198d64a40 0x198d64000 + 2624

1 libsystem_kernel.dylib 0x0000000198d648bc 0x198d64000 + 2236

2 CoreFoundation 0x0000000182f2c108 0x182e50000 + 901384

3 CoreFoundation 0x0000000182f29e0c 0x182e50000 + 892428

4 CoreFoundation 0x0000000182e58ca0 0x182e50000 + 36000

5 CFNetwork 0x00000001826f1b84 0x182644000 + 711556

6 Foundation 0x0000000183eb7c80 0x183dc4000 + 998528

7 libsystem_pthread.dylib 0x0000000198e47b28 0x198e44000 + 15144

8 libsystem_pthread.dylib 0x0000000198e47a8c 0x198e44000 + 14988

9 libsystem_pthread.dylib 0x0000000198e45028 0x198e44000 + 4136

Thread 0 crashed with ARM Thread State (64-bit):

x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000136eedb17

x4: 0x0000000197aa6e02 x5: 0x000000016fd149f0 x6: 0x000000000000006e x7: 0x0000000000000f80

x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x0000000000000000 x11: 0x0000000000000010

x12: 0x0000000000000000 x13: 0x0000000000000002 x14: 0x0000000000000000 x15: 0x0000030000000300

x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000006

x20: 0x000000019f79f000 x21: 0x000000016fd149f0 x22: 0x0000000136eecd40 x23: 0x0000000000000000

x24: 0x0000000000000001 x25: 0x0000000136ee9e50 x26: 0x00000001378290e4 x27: 0x0000000137829032

x28: 0x000000000000002d fp: 0x000000016fd14950 lr: 0x0000000198e48ef8

sp: 0x000000016fd14930 pc: 0x0000000198d7f140 cpsr: 0x00000000

You will need to symbolicate your crash log before you or anyone else can determine the source of the crash.


Lines like this:

11 ChatZone 0x00000001001695e8 0x1000e4000 + 546280


Should look something like this:

11 ChatZone [MyChatZoneObject aMethodCallCausingACrash]

>What is even more bizarre is it works completely fine in simulator for 6s,


Not bizarre at all. The simulator is not an emulator and does not provide full testing support - it runs a stack designed for your computer, and as such is never a promise of device compatibility for your app. So while sims can be a way to test basic UI/navigation, device testing is otherwise recommended.


As well, when asking for help, if you've tested on a device, responses can be more targeted and applicable. Remember, users won't be using a simulator - don't ask them to test for you.

I would suggest in your case the easiest way to catch and fix the crash is to run it interactively from Xcode on an iPhone 6s.

app works in xcode, and in release for all devices but iphone 6s
 
 
Q