Software Archive
Read-only legacy content

Version 1816: Cannot build

John_F_3
New Contributor I
3,184 Views

 

I upgraded from 1621 to 1816 this morning and get this message. I reverted to my old project and 1621 and can build with no problems.

When I attempt to build I get the following screen:Screen Shot 2015-02-24 at 7.43.34 AM.png

 

 

0 Kudos
1 Solution
John_F_3
New Contributor I
3,170 Views

Solution: 

On Mac OSX I dragged the Intel XDK app to the trash. Downloaded 1816 and reinstalled. Previous settings remembered and after the project converted, build succeeded.

I repeated the test with allowing 1621 to upgrade itself to 1816.  Same result with the fail to build after the file zipping and upload commenced.

View solution in original post

0 Kudos
21 Replies
John_H_Intel2
Employee
2,867 Views

Is that with all apps, or just one app? If you havent tried another app, please create one from the demos and try to build it?

Is this will all platforms or just one? Which one?

0 Kudos
PaulF_IntelCorp
Employee
2,867 Views

Just a wild guess, this may be a bad install problem. Try these instructions to reinstall your copy of the XDK:

Take the following steps to completely uninstall the XDK from your system:
-- from the Windows Control Panel, remove the Intel XDK

then:
> cd %LocalAppData%\Intel\XDK
> del *.* /s/q

then:
> cd %LocalAppData%\XDK
> copy global-settings.xdk %UserProfile%
> del *.* /s/q
> copy %UserProfile%\global-settings.xdk .

then:
-- goto xdk.intel.com and select download link
-- download and install the new XDK

0 Kudos
John_F_3
New Contributor I
2,867 Views

John, That was with all projects even the most trivial Intel example hello. I tried Web version, Android Xwalk and iOS adhoc.

It occurred in the auto-upgrade version of 1621 to 1816 on Mac OSX.  I reverted everything to 1621 so I can't do more experiments.  There was no log!  Only the dialog shown in the picture.

Reading other comments on the web it seems that a fresh install will work rather than an upgrade which is broken.

 

 

0 Kudos
John_F_3
New Contributor I
3,171 Views

Solution: 

On Mac OSX I dragged the Intel XDK app to the trash. Downloaded 1816 and reinstalled. Previous settings remembered and after the project converted, build succeeded.

I repeated the test with allowing 1621 to upgrade itself to 1816.  Same result with the fail to build after the file zipping and upload commenced.

0 Kudos
Alfredo_R_1
Beginner
2,867 Views

Hello,

Already unisntalled and did a fresh install on Windows 8.1 but no luck, builds keep failing. Does anyone know how to fix it?

 

Thank you!

0 Kudos
John_H_Intel2
Employee
2,867 Views

Alfredo ~

Are you seeing the same error as the one pictured previously on this thread?

0 Kudos
John_F_3
New Contributor I
2,867 Views

Alfredo, I am using the OSX version for my project.  I not only wiped XDK from my applications before a re-install but reverted my projects to what were working on 1621 before starting the fresh install of 1816. So far so good.

0 Kudos
John_H_Intel2
Employee
2,867 Views

Glad you got it working. 

I just installed 1621, built and Android app, then used the updater to update to 1816, and successfully built again on my Mac.

0 Kudos
Alfredo_R_1
Beginner
2,867 Views

John H.

Mmm...no it's not the same error, it jut tells me to check the assets, which is strange since nothing has changed since the last build.

John F.

By reverting the projects you mean re-naming them as described in another thread on this forum? Then the XDK will prompt you to update to new XDK specs right?

 

Thank you,

Alfredo.

0 Kudos
John_F_3
New Contributor I
2,867 Views

Alfredo,

No, I copied over the files with my backup instead of renaming. I'm about to revert to 1621 again investigating why I can't built a working Android APK!

 

0 Kudos
Alfredo_R_1
Beginner
2,867 Views

 

John F.,

Thank you for the info, did the same but still no luck. I did open the build log and found this at the bottom:

The following build commands failed:
    CompileC build/Colegio\ Herbart.build/Release-iphoneos/Colegio\ Herbart.build/Objects-normal/armv7/CDVSound.o Colegio\ Herbart/Plugins/org.apache.cordova.media/CDVSound.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Command finished with error code 65: .../ColegioHerbart/platforms/ios/cordova/build --release,--device
Error: .../ColegioHerbart/platforms/ios/cordova/build: Command failed with exit code 65
    at ChildProcess.whenDone (/Developer/cordova/3.5.0-0.2.7/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:753:16)
    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

 

Maybe somebody at Intel knows what this means.

0 Kudos
John_F_3
New Contributor I
2,867 Views

Google "Command finished with error code 65"

Since you are building iOS, check which certificates exist in the project you are building.

 

0 Kudos
John_F_3
New Contributor I
2,867 Views

Alfredo,

I did an experiment with  a fresh project.  With the plugin "Capture" selected the error code 65 is reproducible.  Uncheck the capture plugin (I only had device and splashscreen checked) and the build error goes away.

0 Kudos
Alfredo_R_1
Beginner
2,867 Views

 

 

John F.,

Thanks a lot for the info, I'll try that shortly. Been very busy coding but will soon need to build adhoc for testing. I'll post back results.

Thank you again,

Alfredo.

0 Kudos
Alfredo_R_1
Beginner
2,867 Views

Hello,

Well, it turns out I don't use that plugin, the "Capture" plugin, and still can't build for iOS. I'll try removing plugins until finding the one that's causing problems, if any.

Really appreciate if someone at Intel can follow this please!

Thank you!

0 Kudos
John_H_Intel2
Employee
2,867 Views

It would be very helpful if you posted your entire build log :)

0 Kudos
Alfredo_R_1
Beginner
2,867 Views

All right, here it goes:

Build Log:
  • Building a Cordova 4.1.2 application.
  • The application name is "Colegio Herbart"
  • The package name is "com.istudiomobile.herbart"
  • Will use the provisioning profile for "adhoc"
  • Plugin "org.apache.cordova.file" (0.2.5) installed.
  • Plugin "org.apache.cordova.media" (0.2.10) installed.
  • Plugin "org.apache.cordova.dialogs" (0.2.6) installed.
  • Plugin "de.appplant.cordova.plugin.email-composer" (0.8.2) installed.
  • Plugin "org.apache.cordova.inappbrowser" (0.4.0) installed.
  • Plugin "org.apache.cordova.statusbar" (0.1.7) installed.
  • Plugin "nl.x-services.plugins.socialsharing" (4.3.15) installed.
  • Plugin "org.apache.cordova.device" (0.2.9) installed.
  • Targeting iOS version 6.
  • Copied icon120.png (120x120) image file to icon-60@2x
  • Copied icon152.png (152x152) image file to icon-76@2
  • Copied icon76.png (76x76) image file to icon-76
  • Copied icon60.png (60x60) image file to icon-60
  • Copied icon180.png (180x180) image file to icon-60@3x
  • Copied icon57.png (57x57) image file to icon
  • Copied icon72.png (72x72) image file to icon-72
  • Copied icon114.png (114x114) image file to icon@2x
  • Copied icon144.png (144x144) image file to icon-72@2x
  • Copied icon180.png (180x180) image file to icon-60@3x
  • Copied the iPhone 5 [splash640x1136.png] (640w x 1136h) splash screen to Default-568h@2x~iphone.
  • Copied the iPhone Retina [splash640x960.png] (640w x 960h) splash screen to Default@2x~iphone.
  • Copied the iPhone [splash320x480.png] (320w x 480h) splash screen to Default~iphone.
  • Copied the iPad Retina portrait [splash1536x2008.png] (1536w x 2008h) splash screen to Default-Portrait@2x~ipad.
  • Copied the iPad Retina Landscape [2048x1496.png] (2048w x 1496h) splash screen to Default-Landscape@2x~ipad.
  • Copied the iPad Landscape [1024x748.png] (1024w x 748h) splash screen to Default-Landscape~ipad.
  • Copied the iPhone 6 Portrait [splash750x1334.png] (750w x 1334h) splash screen to Default-667h@2x.
  • Copied the iPhone 6 Plus Portrait [splash1242x2208.png] (1242w x 2208h) splash screen to Default-736h@3x.
  • Copied the iPad portrait [splash768x1004.png] (768w x 1004h) splash screen to Default-Portrait~ipad.
  • Copied the iPhone 6 Landscape [splash1334x750.png] (1334w x 750h) splash screen to Default-Landscape-667h@2x.
  • Copied the iPhone 6 Plus Landscape [splash2208x1242.png] (2208w x 1242h) splash screen to Default-Landscape-736h@3x.
  • Copied the iPad portrait [splash768x1004.png] (768w x 1004h) splash screen to Default-Portrait~ipad.
  • Copied the iPhone 6 Plus Landscape [splash2208x1242.png] (2208w x 1242h) splash screen to Default-Landscape-736h@3x.
  • Copied the iPhone 6 Plus Portrait [splash1242x2208.png] (1242w x 2208h) splash screen to Default-736h@3x.
  • Copied the iPhone 6 Portrait [splash750x1334.png] (750w x 1334h) splash screen to Default-667h@2x.
  • Copied the iPhone 6 Landscape [splash1334x750.png] (1334w x 750h) splash screen to Default-Landscape-667h@2x.
  • An unexpected error occured while attempting to build the application.

Apart from this, in the first log to the XDK this morning it prompted me to install the new "1816" version, when that's the one already installed!

 

Thank you!

0 Kudos
John_H_Intel2
Employee
2,867 Views

There is an additional build log you can click on, on the build failed screen. On that screen, scroll all the way to the bottom and you will see the error, it has to do with the version of the Cordova Media plugin you are trying to include. You have 0.2.10, I think the latest is 0.2.15. If you dont need this plugin, just remove it (as with all plugins that you do not require). If you do need it, update it and try building again.

0 Kudos
Alfredo_R_1
Beginner
2,867 Views

Oh, John thanks for the advice, I'll try that in a couple of hours and let you know the results.

0 Kudos
Alfredo_R_1
Beginner
2,744 Views

Here again,

 

Well, did upgrade to the media plugin latest version but no, no luck, build still fails. Here's the last portiion of the build log

** BUILD FAILED **


The following build commands failed:
	CompileC build/Colegio\ Herbart.build/Release-iphoneos/Colegio\ Herbart.build/Objects-normal/armv7/CDVSound.o Colegio\ Herbart/Plugins/org.apache.cordova.media/CDVSound.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Command finished with error code 65: .../ColegioHerbart/platforms/ios/cordova/build --release,--device
Error: .../ColegioHerbart/platforms/ios/cordova/build: Command failed with exit code 65
    at ChildProcess.whenDone (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:753:16)
    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

It apparently still has to do with the media plugin, and yes it is needed. Hope you can sort this out.

Thank you!

Alfredo.

0 Kudos
Reply