This is a migrated thread and some comments may be shown as answers.

build error for ios

3 Answers 78 Views
iOS Devices
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 13 Nov 2013, 03:04 PM
Started getting this error recently when I attempt to build/deploy onto an ios device. The program still auto-updates on the device when I save it, though. Wondering what it means, exactly?

Error: ENOENT, no such file or directory '/Users/builder/Cordova/Cordova270/CorePlugins/org.apache.cordova.core.device/plugin.xml' at Object.fs.openSync (fs.js:427:18) at Object.fs.readFileSync (fs.js:284:15) at Object.module.exports.parseElementtreeSync (/Users/builder/Cordova/node_modules/plugman/src/util/xml-helpers.js:107:27) at Object.fetchPlugin [as fetch] (/Users/builder/Cordova/node_modules/plugman/src/fetch.js:26:31) at possiblyFetch (/Users/builder/Cordova/node_modules/plugman/src/install.js:29:31) at Object.installPlugin [as install] (/Users/builder/Cordova/node_modules/plugman/src/install.js:19:5) at Object. N/A [MyAppName] 0 0 C# N/A

3 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 13 Nov 2013, 03:43 PM
I switched to cardova 3, attempted to build and deploy and it failed. the log said:

Exception rethrown at [0]: 
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Then I switched back to cardova 2.7, attempted to build and deploy and both errors went away.

Not sure what that means. Glad it is fixed, in any case.
0
Pete
Top achievements
Rank 2
answered on 13 Nov 2013, 06:27 PM
I got this error a couple times when trying to migrate to Cordova.  The first time I started a new project, and copied all of my files over.  (Pain in the butt.)  But it worked.

Then I needed to reset my app to an older version (with 2.7 Cordova) (since we don't have branch support yet!) for some bug fixes.  I then tried a second transition.  Got the error, switched back to Cordova 2.7 in the selector, and then switched to Cordova 3.0 again in the selector (no code chages), and the second time I switched it worked correctly.  The migration script (for me at least) isn't 100%, but if you make the switch a couple times it may make it all the way through correctly.
0
Steve
Telerik team
answered on 14 Nov 2013, 12:21 PM
Hi guys,

This is an upgrade bug in our latest release that could be avoided fairly easy following these steps:

  1. Go to Project Properties -> Plugins
  2. Enable and Disable any of our Advanced Plugins
  3. Save

After that you should be able to build & deploy successfully.

This workaround will cause a change in your project file. It should have empty CorePlugins like this:

<CorePlugins>
</CorePlugins>

When you are using Cordova 2.7 the CorePlugins property should be empty. We suspect that you have tried to upgrade to 3.0 in earlier Icenium release, but for some reason you have downgraded to 3.0. This procedure has added the CorePlugins tag which is breaking the things for Cordova 2.7.

Sorry for the temporary inconvenience.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
iOS Devices
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Pete
Top achievements
Rank 2
Steve
Telerik team
Share this question
or