ios - IPhone App crashing if downloaded from app store or testflight -
i done development process of app, before releasing app store had done several rounds of testing (adhoc testing on ios version 6.0.1). while doing adhoc testing didnt find issues build. working fine. after submitting app store got report apple team saying application crashing on iphone 5 having ios version 6.1.3. updated iphone 6.1.3 . after updating latest version, uploaded build testflight , downloaded app it. crashing. uninstalled app phone , directly connected system , installed directly through xcode out code changes. app started working fine. confused reason behind crashing. not issue code because same code working fine if directly install through xcode. whats difference b/w installing app through testflight , directly xcode ? might problem ? symbolicated crash logs , found nothing wrong code. has faced similar kind of problem ? if got fixed plz me out. highly admired. below crash log
version: ??? (???) code type: `enter code here`arm (native) parent process: launchd `enter code here`[1] date/time: 2013-05-07 10:19:43.206 -0700 os version: ios 6.1.4 (10b350) report version: 104 exception type: exc_bad_access (sigsegv) exception codes: kern_invalid_address @ 0x43462d40 crashed thread: 0 thread 0 name: dispatch queue: com.apple.main-thread thread 0 crashed: 0 libobjc.a.dylib 0x3bc905d0 objc_msgsend + 16 1 foundation 0x348031dc _nsdescriptionwithlocalefunc + 48 2 corefoundation 0x33f7b42e __cfstringappendformatcore + 11158 3 corefoundation 0x33ef289e _cfstringcreatewithformatandargumentsaux + 4 foundation 0x34802cf8 +[nsstring stringwithformat:] + 56 5 nuedoo 0x0002f8a2 -[vcache updatewithxml:] (vcache.m:122) 6 nuedoo 0x0003f00a -[vparser parsexmlfile:] (vparser.m:80) 7 nuedoo 0x0002ecda -[vbrowser open:] (vbrowser.m:23) 8 nuedoo 0x0002d6e8 -[vaayoo_frameworkappdelegate:] (vaayoo_frameworkappdelegate.m:57) 9 uikit 0x35e09a9c -[uiapplication _handledelegatecallbackswithoptions:issuspended:restorestate:] + 248 10 uikit 0x35e09620 -[uiapplication _callinitializationdelegatesforurl:payload:suspended:] + 1164 11 uikit 0x35e0182e -[uiapplication _runwithurl:payload:launchorientation:statusbarstyle:statusbarhidden:] + 694 12 uikit 0x35da9d1a -[uiapplication handleevent:withnewevent:] + 1006 13 uikit 0x35da97a8 -[uiapplication sendevent:] + 68 14 uikit 0x35da91ea _uiapplicationhandleevent + 6194 15 graphicsservices 0x37ac15f4 _purpleeventcallback + 588 16 graphicsservices 0x37ac1222 purpleeventcallback + 30 17 corefoundation 0x33f6f3e4 __cfrunloop_is_calling_out_to_a_source1_perform_function__ + 32 18 corefoundation 0x33f6f386 __cfrunloopdosource1 + 134 19 corefoundation 0x33f6e20a __cfrunlooprun + 1378 20 corefoundation 0x33ee1238 cfrunlooprunspecific + 352 21 corefoundation 0x33ee10c4 cfrunloopruninmode + 100 22 uikit 0x35e00468 -[uiapplication _run] + 664 23 uikit 0x35dfd2b4 uiapplicationmain + 1116 24 nuedoo 0x00056efa main (main.m:14) 25 nuedoo 0x0002ce84 start + 36 thread 1: 0 libsystem_kernel.dylib 0x3c189d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3c0d7ad6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3c0d77f2 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3c0d7680 start_wqthread + 4 thread 2 name: dispatch queue: com.apple.libdispatch-manager thread 2: 0 libsystem_kernel.dylib 0x3c1795d0 kevent64 + 24 1 libdispatch.dylib 0x3c0b4d22 _dispatch_mgr_invoke + 806 2 libdispatch.dylib 0x3c0b0374 _dispatch_mgr_thread + 32 thread 3: 0 libsystem_kernel.dylib 0x3c189d98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x3c0d7ad6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x3c0d77f2 _pthread_wqthread + 362 3 libsystem_c.dylib 0x3c0d7680 start_wqthread + 4 thread 4 name: webthread thread 4: 0 libsystem_kernel.dylib 0x3c178e30 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3c178fd0 mach_msg + 48 2 corefoundation 0x33f6f2b6 __cfrunloopservicemachport + 126 3 corefoundation 0x33f6e02c __cfrunlooprun + 900 4 corefoundation 0x33ee1238 cfrunlooprunspecific + 352 5 corefoundation 0x33ee10c4 cfrunloopruninmode + 100 6 webcore 0x39ee9390 runwebthread(void*) + 440 7 libsystem_c.dylib 0x3c0e20de _pthread_start + 306 8 libsystem_c.dylib 0x3c0e1fa4 thread_start + 4 thread 0 crashed arm thread state (32-bit): r0: 0x1f5c0ab0 r1: 0x39a512ae r2: 0x34004b3a r3: 0xffffffff r4: 0x43462d38 r5: 0x00000000 r6: 0x34004b3a r7: 0x2fdd3178 r8: 0x2fdd367c r9: 0x0e6944ab r10: 0x3c307c20 r11: 0x1f5c0ca0 ip: 0x3c3b8704 sp: 0x2fdd3164 lr: 0x348031e1 pc: 0x3bc905d0 cpsr: 0x20000030 </string> <key>displayname</key> <string>nuedoo</string> <key>name</key> <string>nuedoo</string> <key>os_version</key> <string>iphone os 6.1.4 (10b350)</string> <key>system_id</key> <string></string> <key>version</key> <string>??? (???)</string> </dict> </plist>
installing app directly through xcode use 'debug' configuration (depends on how it's set in build scheme). archiving first, use adhoc/release configuration.

the configurations may differ in search paths, constants, preprocessor macros , other things used during compile/build time.
since it's working when built directly xcode, may have @ differences between run build configuration ('debug') , 'archive' build configuration ('adhoc' in image above).
to view differences between configurations, select app target , search fields <multiple values> (inside build settings tab) 
you may able set 'run' step use 'release' configuration (with correct provisioning accepts device), in case should able catch exception when connected xcode (and maybe have better @ what's causing using breakpoints).
Comments
Post a Comment