xcode - iOS - Development build working but Distribution build crash -


i facing issue/crash in distribution build app. not in development build. development running fine. (distribution app validate successfully)

what problem while create distribution build. checked configs debug , release.

here crash log : device when use distribution (distribution adhoc , upload

hardware model:      iphone4,1 process:             appname [513] path:                /private/var/mobile/containers/bundle/application/f2922a29-2e11-4377-xxxx-327a3dfc4612/appname.app/appname identifier:          com.user.appname version:             1.2.5 (1.2.5) code type:           arm (native) parent process:      launchd [1]  date/time:           2014-11-12 13:05:32.465 +0530 launch time:         2014-11-12 12:59:08.534 +0530 os version:          ios 8.1 (12b411) report version:      105  exception type:  exc_bad_access (sigsegv) exception subtype: kern_invalid_address @ 0xf0419f0b triggered thread:  0  thread 0 name:  dispatch queue: com.apple.main-thread thread 0 crashed: 0   libobjc.a.dylib                 0x3083ef76 objc_msgsend + 22 1   appname                 0x000d7cc0 -[asyncudpsocket doreceive:] (asyncudpsocket.m:2181) 2   appname                 0x000d7fa0 -[asyncudpsocket docfsocketcallback:forsocket:withaddress:withdata:] (asyncudpsocket.m:2281) 3   appname                 0x000d3e7c mycfsocketcallback (asyncudpsocket.m:2297) 4   corefoundation                  0x22f9ce9c __cfsocketperformv0 + 552 5   corefoundation                  0x22f9a5e4 __cfrunloop_is_calling_out_to_a_source0_perform_function__ + 12 6   corefoundation                  0x22f999f6 __cfrunloopdosources0 + 218 7   corefoundation                  0x22f98074 __cfrunlooprun + 764 8   corefoundation                  0x22ee597c cfrunlooprunspecific + 472 9   corefoundation                  0x22ee578e cfrunloopruninmode + 102 10  graphicsservices                0x2a2be04c gseventrunmodal + 132 11  uikit                           0x264d797c uiapplicationmain + 1436 12  appname                 0x000d80ca main (main.m:16) 13  appname                 0x0009149c start + 36  ) 

i missed configurations ? please me issue.

thanks.

recently had issue asyncudpsocket , believe it's because asyncudpsocket not thread safe, , in debug mode may running single thread while in distribution, various optimizations cause crash.

i've converted on gdcasyncudpsocket , distribution builds not crash. luck!


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -