Software Archive
Read-only legacy content
17060 Discussions

iOS build failing

David_B_22
Beginner
456 Views

Trying to build iOS after success with andoird, sadly I'm getting a build failure.  

Build summary: 

  • Building a Cordova 4.1.2 application.
  • The application name is "Draw me Crazy"
  • The package name is "com.zoooohgames.drawmecrazy"
  • Will use the provisioning profile for "production"
  • Plugin "org.apache.cordova.device" (0.2.13) installed.
  • Plugin "org.apache.cordova.splashscreen" (0.3.5) installed.
  • Plugin "com.phonegap.plugins.facebookconnect" (0.10.1) installed.
  • Plugin "com.phonegap.plugins.PushPlugin" (2.2.1) installed.
  • Plugin "uk.co.whiteoctober.cordova.appversion" (0.1.7) installed.
  • Plugin "org.apache.cordova.file" (0.2.5) installed.
  • Plugin "org.apache.cordova.media" (0.2.16) installed.
  • Plugin "com.mesmotronic.plugins.fullscreen" (1.0.1) installed.
  • Plugin "org.apache.cordova.network-information" (0.2.15) installed.
  • Targeting iOS version 6.
  • Copied appicon-180.png (180x180) image file to icon-60@3x
  • Copied appicon-120.png (120x120) image file to icon-60@2x
  • Copied appicon-60.png (60x60) image file to icon-60
  • Copied appicon-152.png (152x152) image file to icon-76@2
  • Copied appicon-76.png (76x76) image file to icon-76
  • Warning: No splash screen supplied for iPad Retina portrait (1536w x2008h). The default will be provided.
  • Warning: No splash screen supplied for iPad portrait (768w x1004h). The default will be provided.
  • Warning: No splash screen supplied for iPhone Retina (640w x960h). The default will be provided.
  • Warning: No splash screen supplied for iPhone 6 Plus Landscape (2208w x1242h).
  • Warning: No splash screen supplied for iPhone 6 Plus Portrait (1242w x2208h).
  • Warning: No splash screen supplied for iPad Retina Landscape (2048w x1496h). The default will be provided.
  • Warning: No splash screen supplied for iPhone 6 Landscape (1334w x750h).
  • Warning: No splash screen supplied for iPhone (320w x480h). The default will be provided.
  • Warning: No splash screen supplied for iPhone 5 (640w x1136h). The default will be provided.
  • Warning: No splash screen supplied for iPhone 6 Portrait (750w x1334h).
  • Warning: No splash screen supplied for iPad Landscape (1024w x748h). The default will be provided.
  • An unexpected error occured while attempting to build the application.

The end of the build log shows this:

** BUILD FAILED **


The following build commands failed:
	CompileC build/Draw\ me\ Crazy.build/Release-iphoneos/Draw\ me\ Crazy.build/Objects-normal/armv7/CDVSound.o Draw\ me\ Crazy/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: .../FBTEST4/platforms/ios/cordova/build --release,--device
Error: .../FBTEST4/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)

 

Looks like a sound issue but I have no idea what to do now.

Ideas?

 

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
456 Views

My guess is you're having a plugin problem. There are two possibilities:

  • the file plugin has the wrong version (there's a known bug in the dependency logic in the build system for that plugin)
  • or one of your third-party plugins is causing the problem

The Media plugin requires the File plugin. I'm guessing the File plugin was pulled in automatically, the version number looks too low. I recommend you explicitly select the File plugin from the Cordova plugins list (it should specify version 1.3.2) and then rebuild your app.

If that doesn't work there's probably some additional useful info just before that detailed build error log message that would shed some light as to which plugin is the source of the problem. If you cannot glean that from the detailed error log, then I would systematically remove each of the following, one at a time, until you determine which plugin is the culprit:

  • Plugin "com.phonegap.plugins.facebookconnect" (0.10.1) installed.
  • Plugin "com.phonegap.plugins.PushPlugin" (2.2.1) installed.
  • Plugin "uk.co.whiteoctober.cordova.appversion" (0.1.7) installed.
  • Plugin "com.mesmotronic.plugins.fullscreen" (1.0.1) installed.
0 Kudos
Reply