App crashing from ipa file but run from xcode - crash

My app is crashing from ipa file. This is my console log. I am using firebase in this project? I can not figure out the problem. Is it arising for firebase or other causes?
Version: 3.5 (3.5)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Date/Time: 2018-05-07 14:00:50.9291 +0600
Launch Time: 2018-05-07 14:00:50.7374 +0600
OS Version: iPhone OS 11.2.1 (15C153)
Baseband Version: 4.30.02
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x1823be364 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x181604528 objc_exception_throw + 55
2 CoreFoundation 0x1823be2ac +[NSException raise:format:] + 115
3 Photo 0x1049f62e0 _h`enter code here`idden#57437_ + 171
4 Photo 0x1049f60a4 _hidden#57435_ + 383
5 Photo 0x1049f5e44 _hidden#57433_ + 359
6 CoreFoundation 0x18235033c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 19
7 CoreFoundation 0x18234f8dc _CFXRegistrationPost + 419
8 CoreFoundation 0x18234f640 ___CFXNotificationPost_block_invoke + 59
9 CoreFoundation 0x1823cd024 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1407
10 CoreFoundation 0x182285f60 _CFXNotificationPost + 379
11 Foundation 0x182cb3348 -[NSNotificationCenter postNotificationName:object:userInfo:] + 67
12 Photo 0x104973d30 _hidden#53366_ + 387
13 Photo 0x104972bdc _hidden#53351_ + 287
14 Photo 0x104972a10 _hidden#53349_ + 391
15 Photo 0x1047056e8 _hidden#31344_ + 3348200 (__hidden#31777_:205)
16 UIKit 0x18b90e37c -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 383
17 UIKit 0x18baffc58 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3435
18 UIKit 0x18bb04aa8 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1711
19 UIKit 0x18bda02d4 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 799
20 UIKit 0x18c07812c +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 159
21 UIKit 0x18bd9ff38 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 251
22 UIKit 0x18bda0798 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 731
23 UIKit 0x18c5257d0 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 259
How to solve this problem. Please help.

Related

Getting error message when run react-native application on Xcode 10.0

I am new for IOS application development I am trying to run react native application on MAC (Virtual box) but stuck after launch screen.
Getting error at this line of code.
showing below message on report navigator.
2018-09-26 05:03:23.637243+0530 Leaderboard[56620:700325] - [I-ACS036002] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2018-09-26 05:03:24.334073+0530 Leaderboard[56620:699937] +[CATransaction synchronize] called within transaction
2018-09-26 05:03:25.352 [info][tid:main][RCTCxxBridge.mm:216] Initializing (parent: , executor: (null))
2018-09-26 05:03:25.385767+0530 Leaderboard[56620:699937] Initializing (parent: , executor: (null))
2018-09-26 05:03:25.749 [info][tid:main][RCTRootView.m:293] Running application Leaderboard ({
initialProps = {
};
rootTag = 1;
})
2018-09-26 05:03:25.831679+0530 Leaderboard[56620:699937] Running application Leaderboard ({
initialProps = {
};
rootTag = 1;
})
2018-09-26 05:03:26.353502+0530 Leaderboard[56620:699937] * Terminating app due to uncaught exception 'com.firebase.core', reason: '[FIRApp configure]; (FirebaseApp.configure() in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.'
* First throw call stack:
(
0 CoreFoundation 0x00000001052a91e6 exceptionPreprocess + 294
1 libobjc.A.dylib 0x000000010371e031 objc_exception_throw + 48
2 CoreFoundation 0x000000010531e975 +[NSException raise:format:] + 197
3 Leaderboard 0x0000000101e80451 +[FIRApp configure] + 481
4 Leaderboard 0x0000000101e7fb07 -[AppDelegate application:didFinishLaunchingWithOptions:] + 871
5 UIKit 0x0000000107ee96fb -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 278
6 UIKit 0x0000000107eeb172 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4123
7 UIKit 0x0000000107ef05cb -[UIApplication _runWithMainScene:transitionContext:completion:] + 1677
8 UIKit 0x00000001082b2f7e __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
9 UIKit 0x0000000108685a39 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
10 UIKit 0x00000001082b2bba -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 236
11 UIKit 0x00000001082b33db -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 675
12 UIKit 0x0000000108c24614 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 299
13 UIKit 0x0000000108c244ae -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 433
14 UIKit 0x000000010890875d __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 221
15 UIKit 0x0000000108b034b7 _performActionsWithDelayForTransitionContext + 100
16 UIKit 0x0000000108908627 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 223
17 UIKit 0x00000001086850e0 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
18 UIKit 0x0000000107eeeeac -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
19 UIKit 0x00000001084c1bcb -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
20 FrontBoardServices 0x000000010e05a2f3 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 331
21 FrontBoardServices 0x000000010e062cfa __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 225
22 libdispatch.dylib 0x000000010695a7ec _dispatch_client_callout + 8
23 libdispatch.dylib 0x000000010695fdb8 _dispatch_block_invoke_direct + 592
24 FrontBoardServices 0x000000010e08e470 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 24
25 FrontBoardServices 0x000000010e08e12e -[FBSSerialQueue _performNext] + 439
26 FrontBoardServices 0x000000010e08e68e -[FBSSerialQueue _performNextFromRunLoopSource] + 45
27 CoreFoundation 0x000000010524bbb1 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
28 CoreFoundation 0x00000001052304af __CFRunLoopDoSources0 + 271
29 CoreFoundation 0x000000010522fa6f __CFRunLoopRun + 1263
30 CoreFoundation 0x000000010522f30b CFRunLoopRunSpecific + 635
31 GraphicsServices 0x000000010d42ea73 GSEventRunModal + 62
32 UIKit 0x0000000107ef2057 UIApplicationMain + 159
33 Leaderboard 0x0000000101e7fc90 main + 112
34 libdyld.dylib 0x000000010a98c955 start + 1
35 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
If you want to use Firebase in your project, you should create an app from Firebase console and configure it. Then you should download GoogleService-Info.plist and copy to your project. You can clearly see this on your error logs.
Please follow this tutorial: https://firebase.google.com/docs/ios/setup

Objective-C Mapview crash on IPA (appstore version) Xcode 9 work well [duplicate]

This question already has answers here:
iOS11 WKWebview crash due to NSInvalidUnarchiveOperationException
(6 answers)
Closed 5 years ago.
All is in the title, everything is ok in Xcode 9.
Application is ok for Apple, but all my mapwiew make application crash after download it from the Appstore.
Xcode 9 - Objective-C - When running it with my iPhone SE or iPad 2 from Xcode, everything work well.
Appstore version crash on both.
Thanks to help me understand something.
Here my device Logs from Xcode (first part) :
Incident Identifier: C2CCC5F8-01ED-4295-AE93-578642B19E99
CrashReporter Key: 4b962ec4fbb937bae60eb5d2ed98278c01a3d76b
Hardware Model: iPhone8,4
Process: Espace Sexualité Jeunes [1630]
Path: /private/var/containers/Bundle/Application/39B1D2C1-DC8E-4FB9-AAB9-51F04D287209/Espace Sexualité Jeunes.app/Espace Sexualité Jeunes
Identifier: com.espacesexualitejeunes.paco
Version: 1.0.1 (1.0.1)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.espacesexualitejeunes.paco [742]
Date/Time: 2018-02-08 12:49:31.0908 -0400
Launch Time: 2018-02-08 12:49:18.8182 -0400
OS Version: iPhone OS 11.2.1 (15C153)
Baseband Version: 6.30.04
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x185fba364 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x185200528 objc_exception_throw + 55
2 CoreFoundation 0x185fba2ac +[NSException raise:format:] + 115
3 UIKit 0x18fbdc270 UINibDecoderDecodeObjectForValue + 371
4 UIKit 0x18fbdc0e4 -[UINibDecoder decodeObjectForKey:] + 103
5 UIKit 0x18fa2e6c0 -[UIRuntimeConnection initWithCoder:] + 135
6 UIKit 0x18fbdc3ac UINibDecoderDecodeObjectForValue + 687
7 UIKit 0x18fbdc524 UINibDecoderDecodeObjectForValue + 1063
8 UIKit 0x18fbdc0e4 -[UINibDecoder decodeObjectForKey:] + 103
9 UIKit 0x18fa2da34 -[UINib instantiateWithOwner:options:] + 1167
10 UIKit 0x18f80ac74 -[UIViewController _loadViewFromNibNamed:bundle:] + 371
11 UIKit 0x18f5b897c -[UIViewController loadView] + 175
12 UIKit 0x18f49b790 -[UIViewController loadViewIfRequired] + 183
13 UIKit 0x18f49b6c0 -[UIViewController view] + 27
14 UIKit 0x18f61eb1c -[UINavigationController _startCustomTransition:] + 1147
15 UIKit 0x18f541c4c -[UINavigationController _startDeferredTransitionIfNeeded:] + 711
16 UIKit 0x18f541890 -[UINavigationController __viewWillLayoutSubviews] + 163
17 UIKit 0x18f541790 -[UILayoutContainerView layoutSubviews] + 187
18 UIKit 0x18f498f00 -[UIView+ 52992 (CALayerDelegate) layoutSublayersOfLayer:] + 1275
19 QuartzCore 0x189ffd998 -[CALayer layoutSublayers] + 183
20 QuartzCore 0x18a001b20 CA::Layer::layout_if_needed+ 1207072 (CA::Transaction*) + 331
21 QuartzCore 0x189f6e36c CA::Context::commit_transaction+ 602988 (CA::Transaction*) + 335
22 QuartzCore 0x189f95b90 CA::Transaction::commit+ 764816 () + 539
23 UIKit 0x18f6fcb10 _UIApplicationFlushRunLoopCATransactionIfTooLate + 171
24 UIKit 0x18fdf3bb8 __handleEventQueueInternal + 5543
25 UIKit 0x18fdec7c0 __handleHIDEventFetcherDrain + 151
26 CoreFoundation 0x185f6297c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 23
27 CoreFoundation 0x185f628fc __CFRunLoopDoSource0 + 87
28 CoreFoundation 0x185f62184 __CFRunLoopDoSources0 + 203
29 CoreFoundation 0x185f5fd5c __CFRunLoopRun + 1047
30 CoreFoundation 0x185e7fe58 CFRunLoopRunSpecific + 435
31 GraphicsServices 0x187d2cf84 GSEventRunModal + 99
32 UIKit 0x18f4ff67c UIApplicationMain + 235
33 Espace Sexualité Jeunes 0x10456d0c8 0x104564000 + 37064
34 libdyld.dylib 0x18599c56c start + 3
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000185acc2e8 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000185be12f8 pthread_kill$VARIANT$mp + 396
2 libsystem_c.dylib 0x0000000185a3afbc abort + 140
3 libc++abi.dylib 0x00000001851d8068 __cxa_bad_cast + 0
4 libc++abi.dylib 0x00000001851d8210 default_unexpected_handler+ 8720 () + 0
5 libobjc.A.dylib 0x0000000185200810 _objc_terminate+ 34832 () + 124
6 libc++abi.dylib 0x00000001851f054c std::__terminate(void (*)+ 107852 ()) + 16
7 libc++abi.dylib 0x00000001851f0158 __cxa_rethrow + 144
8 libobjc.A.dylib 0x00000001852006e8 objc_exception_rethrow + 44
9 CoreFoundation 0x0000000185e7fec4 CFRunLoopRunSpecific + 544
10 GraphicsServices 0x0000000187d2cf84 GSEventRunModal + 100
11 UIKit 0x000000018f4ff67c UIApplicationMain + 236
12 Espace Sexualité Jeunes 0x000000010456d0c8 0x104564000 + 37064
13 libdyld.dylib 0x000000018599c56c start + 4
Thread 1:
0 libsystem_kernel.dylib 0x0000000185accd80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000185bdeeec _pthread_wqthread + 884
2 libsystem_pthread.dylib 0x0000000185bdeb6c start_wqthread + 4
Thread 2:
0 libsystem_pthread.dylib 0x0000000185bdeb68 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x0000000185bdeb68 start_wqthread + 0
Thread 4 name: com.apple.uikit.eventfetch-thread
Thread 4:
0 libsystem_kernel.dylib 0x0000000185aab568 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000185aab3e0 mach_msg + 72
2 CoreFoundation 0x0000000185f62308 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000185f5fed4 __CFRunLoopRun + 1424
4 CoreFoundation 0x0000000185e7fe58 CFRunLoopRunSpecific + 436
5 Foundation 0x00000001868b5594 -[NSRunLoop+ 50580 (NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x00000001868d49ac -[NSRunLoop+ 178604 (NSRunLoop) runUntilDate:] + 96
7 UIKit 0x00000001900697b8 -[UIEventFetcher threadMain] + 136
8 Foundation 0x00000001869b70f4 __NSThread__start__ + 996
9 libsystem_pthread.dylib 0x0000000185be02b4 _pthread_body + 308
10 libsystem_pthread.dylib 0x0000000185be0180 _pthread_body + 0
11 libsystem_pthread.dylib 0x0000000185bdeb74 thread_start + 4
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x00000001c42e0e37
x4: 0x00000001851f5afd x5: 0x000000016b89b490 x6: 0x000000000000006e x7: 0xffffffffffffffec
x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x0000000185be55e0 x11: 0x0000000000000003
x12: 0xffffffffffffffff x13: 0x0000000000000001 x14: 0x0000000185a5153f x15: 0x0000000000000010
x16: 0x0000000000000148 x17: 0x00000000ffffffff x18: 0xfffffff01249925c x19: 0x0000000000000006
x20: 0x00000001b7093b80 x21: 0x000000016b89b490 x22: 0x0000000000000303 x23: 0x00000001b7093c60
x24: 0x00000001c4017880 x25: 0x0000000000000000 x26: 0x0000000000000001 x27: 0x0000000000000000
x28: 0x000000016b89baf0 fp: 0x000000016b89b3f0 lr: 0x0000000185be12f8
sp: 0x000000016b89b3c0 pc: 0x0000000185acc2e8 cpsr: 0x00000000
I finally solved my problem: I'm stupid!
I forgot to include the MapKit.framework in my App. I re-upload it to the Appstore and everything work perfectly now.

What is the reason of the crash at CFNetWork _CFURLRequestCopyContentDispositionEncodingFallbackArray

This crash is from crash report of app. Multiple URL requests crash cause of it. I want to figure out how to repeat the crash and why the crash happened.
Incident Identifier: 4A2BA2B1-9174-410F-9D51-88A151884484
CrashReporter Key: TODO
Hardware Model: iPhone8,1
Code Type: ARM-64
Parent Process: ??? [1]
Date/Time: 2016-09-28 02:43:26 +0000
OS Version: iPhone OS 10.0.2 (14A456)
Report Version: 104
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x0
Crashed Thread: 21
Thread 21 Crashed:
0 CFNetwork _CFURLRequestCopyContentDispositionEncodingFallbackArray + 48
1 CFNetwork HTTPProtocol::updateForHeader(__CFHTTPMessage*) + 260
2 CFNetwork HTTPProtocol::performHeaderReadPostProcessing(__CFHTTPMessage*, unsigned char) + 156
3 CFNetwork HTTPProtocol::performHeaderRead(__CFHTTPMessage*) + 992
4 CFNetwork HTTPProtocol::handleStreamEvent(__CFHTTPMessage*, dispatch_data_s*, CFStreamError const*) + 496
5 CFNetwork ___ZN15HTTPTransaction22_onqueue_invokeHandlerEv_block_invoke.64 + 60
6 libdispatch.dylib _dispatch_client_callout + 16
7 libdispatch.dylib _dispatch_block_invoke_direct + 376
8 CFNetwork RunloopBlockContext::_invoke_block(void const*, void*) + 36
9 CoreFoundation CFArrayApplyFunction + 68
10 CFNetwork RunloopBlockContext::perform() + 136
11 CFNetwork MultiplexerSource::perform() + 312
12 CFNetwork MultiplexerSource::_perform(void*) + 64
13 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
14 CoreFoundation __CFRunLoopDoSources0 + 524
15 CoreFoundation __CFRunLoopRun + 804
16 CoreFoundation CFRunLoopRunSpecific + 444
17 CFNetwork +[NSURLConnection(Loader) _resourceLoadLoop:] + 336
18 Foundation __NSThread__start__ + 1024
19 libsystem_pthread.dylib _pthread_body + 240
20 libsystem_pthread.dylib _pthread_body + 0
21 libsystem_pthread.dylib thread_start + 4

In MAC 10.10.5 MyApp crashes

MyApp has crashed and I have collected the below crash log from that MAC book. As it is mentioned the application crashed at thread 3, I could not able to figure out what has happened,
I was suspecting it could be because of a NSTimer Lock and tryLock, but not sure how to figure it out. Crash is not happening with all MAC book but only to a certain set of users all of them are just migrated to MAC 10.10.5. But I have also other MAC book which has MAC 10.10.5 in which MyApp is running perfectly.
can anyone help me out to find the problem?
If i looked at the code at [AppMainController sendPacketForLoginStatus] + 1644
it is just a comment line just after the curly brace { starting of an else{}
if
...
else
{
<< line no: 1644>> // Change the status icon if necessary when losing the focus
[self performSelectorOnMainThread:#selector(showClickStatusIconWhenLoseFocusInThread) withObject:nil waitUntilDone:NO];
...
Crash log:
Process: MyAppAgent [581]
Path: /Applications/MyAppAgent.app/Contents/MacOS/MyAppAgent
Identifier: com.Mycmp.MyApp.MyAppAgent
Version: 1.0.0.1
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: MyAppAgent [581]
User ID: 501
Date/Time: 2015-09-08 10:32:09.940 -0400
OS Version: Mac OS X 10.10.5 (14F27)
Crashed Thread: 3
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000022b0dd78
....
Thread 3 Crashed:
0 com.Mycmp.MyApp.MyAppAgent 0x00012a74 -[AppMainController sendPacketForLoginStatus] + 1644
1 com.Mycmp.MyApp.MyAppAgent 0x0001012c -[AppMainController timerQueryDiscovery:] + 1726
2 com.apple.Foundation 0x943ba76f __NSFireTimer + 119
3 com.apple.CoreFoundation 0x90653006 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
4 com.apple.CoreFoundation 0x90652ab4 __CFRunLoopDoTimer + 1316
5 com.apple.CoreFoundation 0x906ce54f __CFRunLoopDoTimers + 351
6 com.apple.CoreFoundation 0x9060a531 __CFRunLoopRun + 2081
7 com.apple.CoreFoundation 0x90609aa6 CFRunLoopRunSpecific + 390
8 com.apple.CoreFoundation 0x9060990b CFRunLoopRunInMode + 123
9 com.apple.Foundation 0x944043ea -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 305
10 com.apple.Foundation 0x944847fa -[NSRunLoop(NSRunLoop) run] + 76
11 com.Mycmp.MyApp.MyAppAgent 0x00002ff0 -[AppMainController threadDiscovery:] + 360
12 com.apple.Foundation 0x943acb8d -[NSThread main] + 45
13 com.apple.Foundation 0x943ac936 __NSThread__main__ + 1538
14 libsystem_pthread.dylib 0x9abfcc25 _pthread_body + 138
15 libsystem_pthread.dylib 0x9abfcb9b _pthread_start + 162
16 libsystem_pthread.dylib 0x9abf9e32 thread_start + 34

App works on iPhone Simulator, but crashes on real iPhone Device

Today i tried running my app on my iPhone device, and it crashed! It worked perfectly fine on the simulator, I don't know what the problem is.
These are the crash logs:
Identifier: Evader
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-09-13 16:41:54.656 -0700
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x377d888f __exceptionPreprocess + 163
1 libobjc.A.dylib 0x354dd259 objc_exception_throw + 33
2 CoreFoundation 0x377d8789 +[NSException raise:format:] + 1
3 Foundation 0x380173a3 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 91
4 Evader 0x0012ca41 -[CCSprite initWithTexture:] (CCSprite.m:192)
5 Evader 0x0012c1b1 +[CCSprite spriteWithTexture:] (CCSprite.m:83)
6 Evader 0x0011eb3d -[CCProgressTimer initWithTexture:] (CCProgressTimer.m:69)
7 Evader 0x0011ea55 -[CCProgressTimer initWithFile:] (CCProgressTimer.m:59)
8 Evader 0x0011e9e1 +[CCProgressTimer progressWithFile:] (CCProgressTimer.m:55)
9 Evader 0x00173579 -[HelloWorldLayer lives] (HelloWorldLayer.m:256)
10 Evader 0x001723ed -[HelloWorldLayer init] (HelloWorldLayer.m:101)
11 Evader 0x0010f073 +[CCNode node] (CCNode.m:258)
12 Evader 0x0017bd11 -[StartMenu doThis:] (StartMenu.m:75)
13 CoreFoundation 0x377db7e4 __invoking___ + 68
14 CoreFoundation 0x377367b1 -[NSInvocation invoke] + 161
15 Evader 0x0010aa03 -[CCMenuItem activate] (CCMenuItem.m:129)
16 Evader 0x001085ff -[CCMenu ccTouchEnded:withEvent:] (CCMenu.m:198)
17 CoreFoundation 0x377323fd -[NSObject performSelector:withObject:withObject:] + 53
18 Evader 0x0014f4ff -[CCTouchDispatcher touches:withEvent:withTouchType:] (CCTouchDispatcher.m:268)
19 Evader 0x0014fc43 -[CCTouchDispatcher touchesEnded:withEvent:] (CCTouchDispatcher.m:338)
20 Evader 0x001515c3 -[EAGLView touchesEnded:withEvent:] (EAGLView.m:332)
21 UIKit 0x314c692b -[UIWindow _sendTouchesForEvent:] + 319
22 UIKit 0x314c6319 -[UIWindow sendEvent:] + 381
23 UIKit 0x314ac695 -[UIApplication sendEvent:] + 357
24 UIKit 0x314abf3b _UIApplicationHandleEvent + 5827
25 GraphicsServices 0x33eee22b PurpleEventCallback + 883
26 CoreFoundation 0x377ac523 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 39
27 CoreFoundation 0x377ac4c5 __CFRunLoopDoSource1 + 141
28 CoreFoundation 0x377ab313 __CFRunLoopRun + 1371
29 CoreFoundation 0x3772e4a5 CFRunLoopRunSpecific + 301
30 CoreFoundation 0x3772e36d CFRunLoopRunInMode + 105
31 GraphicsServices 0x33eed439 GSEventRunModal + 137
32 UIKit 0x314dacd5 UIApplicationMain + 1081
33 Evader 0x00171029 main (main.m:14)
34 Evader 0x000dec68 start + 40
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3198f32c __pthread_kill + 8
1 libsystem_c.dylib 0x3408c208 pthread_kill + 48
2 libsystem_c.dylib 0x34085298 abort + 88
3 libc++abi.dylib 0x36f12f64 abort_message + 40
4 libc++abi.dylib 0x36f10346 _ZL17default_terminatev + 18
5 libobjc.A.dylib 0x354dd350 _objc_terminate + 140
6 libc++abi.dylib 0x36f103be _ZL19safe_handler_callerPFvvE + 70
7 libc++abi.dylib 0x36f1044a std::terminate() + 14
8 libc++abi.dylib 0x36f1181e __cxa_rethrow + 82
9 libobjc.A.dylib 0x354dd2a2 objc_exception_rethrow + 6
10 CoreFoundation 0x3772e506 CFRunLoopRunSpecific + 398
11 CoreFoundation 0x3772e366 CFRunLoopRunInMode + 98
12 GraphicsServices 0x33eed432 GSEventRunModal + 130
13 UIKit 0x314dacce UIApplicationMain + 1074
14 Evader 0x00171022 main (main.m:14)
15 Evader 0x000dec60 start + 32
I have tried to look for the error, but I do not know what to look for. Can someone help solve this problem?
CCSprite initWithTexture: raises the exception that causes your app to exit. I'm not entirely up on Cocos2d but a quick check in the documentation suggests it raises exceptions on failure to find named files.
That being the case, I'd guess the problem is simply one of filename case. Macs are by default case insensitive. So if you have FunnyImage.png then the simulator will succeed if you attempt to load funnyimage.png.
iOS devices are case sensitive. So it will fail if you attempt to load funnyimage.png.
So probably what you want to do is check that all the filenames you've used in code exactly match the case of the actual files.