Start a new topic

sample is broken after "phonegap platform update xxx"

sample is broken after "phonegap platform update xxx"
1 Comment

First, my envs:

1. Latest phonegap (v 3.3.0-0.19.6)

2. Latest wikitude phonegap plugin (v 3.2.1 )

3. Latest wikitude phonegap sample fetched from your Github repo ( on today(08, Feb, 2014)

And the following things happened:

1. If I directly open /platforms/ios/PluginSamples.xcodeproj via Xcode and build it, run it on my ios device, IT WORKS!

2. If I execute "phonegap build" in the root directory of this sample, it throws: 

detecting iOS SDK environment...

using the local environment

compiling iOS...

Generating config.xml from defaults for platform "ios"

Compiling app on platform "ios" via command "/Users/Chriest/PhoneGapProject/wikitude-phonegap-samples/PluginSamples/platforms/ios/cordova/build"



        throw er; // Unhandled 'error' event


Error: spawn ENOENT

    at errnoException (child_process.js:988:11)

    at Process.ChildProcess._handle.onexit (child_process.js:779:34)

3. Then I execute: "phonegap platform update ios", then "phonegap platform build ios" would be done without any error. But when I install this new build into my ios device, I cannot enter any ARWorld, when I click the link (e.g: 1.1 IMAGE ON TARGET), nothing happened!


I'm facing the deadline of a demo app, please help me! 

BTW: The same thing happened on android either.
Login or Signup to post a comment