I am trying to build a xcode ios project native app for iOS devices using sencha. I am using cordova-2.4.0 and sencha 2.x. I am also using sencha cordova builder. The application successfully launches in browser but not in native app. The following error occurs after I execute sencha app build package command in my terminal.

Can someone please help me with this?


Successfully deployed your application to /package
[INF]
[INF] -after-page:
[INF]
[INF] run:
[INF]
[INF] -build:
[INF]
[INF] -check-os:
[INF]
[INF] -make-unix-property-paths:
[INF]
[INF] -make-windows-property-paths:
[INF]
[INF] -init-properties:
[INF]
[INF] -is-ios-built:
[INF]
[INF] -set-windows-create-script:
[INF]
[INF] -set-unix-create-script:
[INF]
[INF] -is-ios-init-ready:
[INF] [echo] checking ios initialization using the following resources:
[INF] [echo] cordova library /Documents/cordova-2.4.0/cordova-ios
[INF] [echo] ios tools /Documents/cordova-2.4.0/cordova-ios/bin
[INF] [echo] ios create script /Documents/cordova-2.4.0/cordova-ios/bin/create
[INF] [echo] ios project
[INF] [echo] ios project built state...false
[INF]
[INF] -before-init-ios-internal:
[INF]
[INF] -before-init-ios:
[INF]
[INF] -init-ios-internal:
[INF] [echo] initializating ios build...
[INF] [echo] creating ios project with the following details:
[INF] [echo] project path:
[INF] [echo] project namespace:
[INF] [echo] project name:
[INF] [echo] ios project successfully created at
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.io.FileNotFoundException: File '''/cordova-2.4.0/cordova-ios/VERSION''' does not exist (<Unknown source>#3) in <Unknown source> at line number 3
[ERR] at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
[ERR] at com.sencha.cli.Command.dispatch(Command.java:104)
[ERR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERR] at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:182)
[ERR] at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:69)
[ERR] at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
[ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERR] at java.lang.reflect.Method.invoke(Method.java:601)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERR] at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR] at org.apache.tools.ant.Target.execute(Target.java:392)
[ERR] at org.apache.tools.ant.Target.performTasks(Target.java:413)
[ERR] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[ERR] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[ERR] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[ERR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:156)
[ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:72)
[ERR] at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:94)
[ERR] at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:98)
[ERR] at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:142)
[ERR] at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:116)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERR] at java.lang.reflect.Method.invoke(Method.java:601)
[ERR] at com.sencha.cli.Command.dispatch(Command.java:78)
[ERR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERR] at com.sencha.command.Sencha.main(Sencha.java:71)
[ERR] Caused by: /Users/ngarach/Documents/sencha-cordova-builder/build-cordova-ios.xml:60: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.io.FileNotFoundException: File '''/Users/ngarach/Documents/cordova-2.4.0/cordova-ios/VERSION''' does not exist (<Unknown source>#3) in <Unknown source> at line number 3
[ERR] at org.apache.tools.ant.util.ReflectUtil.toBuildException(ReflectUtil.java:183)
[ERR] at org.apache.tools.ant.util.ReflectUtil.throwBuildException(ReflectUtil.java:166)
[ERR] at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:110)
[ERR] at org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81)
[ERR] at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:103)
[ERR] at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:67)
[ERR] at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:52)
[ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[ERR] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERR] at java.lang.reflect.Method.invoke(Method.java:601)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERR] at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR] at org.apache.tools.ant.Target.execute(Target.java:392)
[ERR] at org.apache.tools.ant.Target.performTasks(Target.java:413)
[ERR] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[ERR] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[ERR] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[ERR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:156)
[ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:80)
[ERR] at com.sencha.command.ant.AntCommand.execute(AntCommand.java:75)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERR] at java.lang.reflect.Method.invoke(Method.java:601)
[ERR] at com.sencha.cli.Command.dispatch(Command.java:78)
[ERR] ... 31 more
[ERR] Caused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.io.FileNotFoundException: File '''/cordova-2.4.0/cordova-ios/VERSION''' does not exist (<Unknown source>#3) in <Unknown source> at line number 3
[ERR] at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:224)
[ERR] at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:240)
[ERR] at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERR] at java.lang.reflect.Method.invoke(Method.java:601)
[ERR] at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:108)
[ERR] ... 55 more
[ERR] Caused by: sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.io.FileNotFoundException: File '''/cordova-2.4.0/cordova-ios/VERSION''' does not exist (<Unknown source>#3)
[ERR] at sun.org.mozilla.javascript.internal.Context.throwAsScriptRuntimeEx(Context.java:1798)
[ERR] at sun.org.mozilla.javascript.internal.MemberBox.invoke(MemberBox.java:196)
[ERR] at sun.org.mozilla.javascript.internal.NativeJavaMethod.call(NativeJavaMethod.java:245)
[ERR] at sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Interpreter.java:1706)
[ERR] at sun.org.mozilla.javascript.internal.Interpreter.interpret(Interpreter.java:849)
[ERR] at sun.org.mozilla.javascript.internal.InterpretedFunction.call(InterpretedFunction.java:162)
[ERR] at sun.org.mozilla.javascript.internal.ContextFactory.doTopCall(ContextFactory.java:429)
[ERR] at com.sun.script.javascript.RhinoScriptEngine$1.superDoTopCall(RhinoScriptEngine.java:116)
[ERR] at com.sun.script.javascript.RhinoScriptEngine$1.doTopCall(RhinoScriptEngine.java:109)
[ERR] at sun.org.mozilla.javascript.internal.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
[ERR] at sun.org.mozilla.javascript.internal.InterpretedFunction.exec(InterpretedFunction.java:173)
[ERR] at sun.org.mozilla.javascript.internal.Context.evaluateReader(Context.java:1159)
[ERR] at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:214)
[ERR] ... 62 more
[ERR] Caused by: java.io.FileNotFoundException: File '''/cordova-2.4.0/cordova-ios/VERSION''' does not exist
[ERR] at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:299)
[ERR] at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1711)
[ERR] at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1748)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERR] at java.lang.reflect.Method.invoke(Method.java:601)
[ERR] at sun.org.mozilla.javascript.internal.MemberBox.invoke(MemberBox.java:167)
[ERR] ... 73 more
[ERR]
[ERR] Total time: 12 seconds
[ERR] com.sencha.exceptions.BasicException: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.io.FileNotFoundException: File '/Documents/cordova-2.4.0/cordova-ios/VERSION' does not exist (<Unknown source>#3) in <Unknown source> at line number 3