[ 
https://issues.apache.org/jira/browse/CB-9265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14612659#comment-14612659
 ] 

Nikhil Khandelwal commented on CB-9265:
---------------------------------------

I get it - looks like ios7 deprecated some methods and we need use objective-C 
equivalent of reflection to get the right version of the method for this to 
work. [~shazron] Let me know if my understanding is correct. This only happened 
because we started using an iPhone 6 simulator? So this bug has been there for 
a while on master just that no one was testing and not related to recent 
changes with merge of 4.x branch?



> Mobilespec crashes on iPhone 6 simulator
> ----------------------------------------
>
>                 Key: CB-9265
>                 URL: https://issues.apache.org/jira/browse/CB-9265
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, mobile-spec
>         Environment: iOS 8.3, iPhone 6 simulator, Xcode 6.3.1
>            Reporter: Dmitry Blotsky
>            Priority: Critical
>              Labels: crash, ios, mobilespec, simulator
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Mobilespec hangs during splash screen and then crashes. Console output below:
> {noformat}
> Jun 29 19:08:54 dbexecutor.local mobilespec[5854]: *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: '-[NSConcreteData 
> base64EncodedString]: unrecognized selector sent to instance 0x796be580'
>       *** First throw call stack:
>       (
>               0   CoreFoundation                      0x01a7d746 
> __exceptionPreprocess + 182
>               1   libobjc.A.dylib                     0x016d8a97 
> objc_exception_throw + 44
>               2   CoreFoundation                      0x01a85705 
> -[NSObject(NSObject) doesNotRecognizeSelector:] + 277
>               3   CoreFoundation                      0x019cc287 
> ___forwarding___ + 1047
>               4   CoreFoundation                      0x019cbe4e 
> _CF_forwarding_prep_0 + 14
>               5   mobilespec                          0x0010565f 
> __25-[CDVFile readAsDataURL:]_block_invoke_2 + 255
>               6   mobilespec                          0x0010d7db 
> -[CDVLocalFilesystem readFileAtURL:start:end:callback:] + 539
>               7   mobilespec                          0x0010551a 
> __25-[CDVFile readAsDataURL:]_block_invoke + 202
>               8   libdispatch.dylib                   0x03672d8a 
> _dispatch_call_block_and_release + 15
>               9   libdispatch.dylib                   0x0368fecf 
> _dispatch_client_callout + 14
>               10  libdispatch.dylib                   0x0367a348 
> _dispatch_root_queue_drain + 745
>               11  libdispatch.dylib                   0x0367b3e7 
> _dispatch_worker_thread3 + 108
>               12  libsystem_pthread.dylib             0x039cf1da 
> _pthread_wqthread + 724
>               13  libsystem_pthread.dylib             0x039cce2e 
> start_wqthread + 30
>       )
> Jun 29 19:08:55 dbexecutor 
> com.apple.CoreSimulator.SimDevice.D1704D22-3CBA-45D4-A2C6-B30A8CC30799.launchd_sim[5712]
>  (UIKitApplication:org.apache.mobilespec[0x11c6][5854]): Service exited due 
> to signal: Abort trap: 6
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to