[ https://issues.apache.org/jira/browse/CB-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465623#comment-13465623 ]
Andrew Grieve commented on CB-1553: ----------------------------------- Sorry, I should have elaborated. The fix is to either use the code from the 2.1.0 release for both the native side and the JS side, or if you want to run off of head, you need to build yourself a copy of the JS from head by following the instructions here: https://github.com/apache/incubator-cordova-js. running "jake" puts a copy of cordova.ios.js into the pkg/ directory. and you need to use that copy in your app. > FileTransfer crashes > -------------------- > > Key: CB-1553 > URL: https://issues.apache.org/jira/browse/CB-1553 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaJS, iOS > Affects Versions: 2.1.0 > Environment: iOS > Reporter: Dan Jordan > Assignee: Andrew Grieve > Priority: Critical > Fix For: 2.1.0 > > > When uploading a file the app crashes on Line 250 of CDVFileTransfer.m ( > NSString* objectId = [command.arguments objectAtIndex:9]; ) because there is > no object at index 9. > I've recreated the issue with a brand new PhoneGap 2.1.0 app and using the > code from the 2.1.0 docs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira