Hi,
I have been trying rigorously to make an ios Build but don't know what is the problem.I have uploaded the certificate and provisioning too.But even trying every thing I have been unsuccessful.Please help me out. Each time I try to build the application the error is like :
The build failed. An error occurred while building the application. Verify your build assets are correct and try again. and the error log is :
Installing "org.apache.cordova.device-motion" for ios
Installing "org.apache.cordova.camera" for ios
Installing "org.apache.cordova.file" for ios
Installing "org.apache.cordova.media-capture" for ios
Installing "org.apache.cordova.device-orientation" for ios
Installing "org.apache.cordova.network-information" for ios
Installing "org.apache.cordova.contacts" for ios
Installing "org.apache.cordova.device" for ios
Installing "org.apache.cordova.battery-status" for ios
Installing "org.apache.cordova.geolocation" for ios
Installing "org.apache.cordova.globalization" for ios
Installing "org.apache.cordova.inappbrowser" for ios
Installing "org.apache.cordova.media" for ios
Installing "org.apache.cordova.dialogs" for ios
Installing "org.apache.cordova.vibration" for ios
Installing "org.apache.cordova.splashscreen" for ios
Installing "com.intel.xdk.audio" for ios
Installing "com.intel.xdk.cache" for ios
Installing "com.intel.xdk.camera" for ios
Installing "com.intel.xdk.contacts" for ios
Installing "com.intel.xdk.device" for ios
Installing "com.intel.xdk.file" for ios
Installing "com.intel.xdk.player" for ios
Generating config.xml from defaults for platform "ios"
Calling plugman.prepare for platform "ios"
Preparing ios project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'org.apache.cordova.device-motion',
'org.apache.cordova.camera',
'org.apache.cordova.file',
'org.apache.cordova.media-capture',
'org.apache.cordova.device-orientation',
'org.apache.cordova.network-information',
'org.apache.cordova.contacts',
'org.apache.cordova.device',
'org.apache.cordova.battery-status',
'org.apache.cordova.geolocation',
'org.apache.cordova.globalization',
'org.apache.cordova.inappbrowser',
'org.apache.cordova.media',
'org.apache.cordova.dialogs',
'org.apache.cordova.vibration',
'org.apache.cordova.splashscreen',
'com.intel.xdk.audio',
'com.intel.xdk.cache',
'com.intel.xdk.camera',
'com.intel.xdk.contacts',
'com.intel.xdk.device',
'com.intel.xdk.file',
'com.intel.xdk.player' ]
Writing out cordova_plugins.js...
Wrote out iOS Bundle Identifier to "com.profile.distribution"
Wrote out iOS Bundle Version to "1.0.0"
mv: dest file already exists: .../zahnk/platforms/ios/zahnk/Zahnk-Info.plist
mv: dest file already exists: .../zahnk/platforms/ios/zahnk/Zahnk-Prefix.pch
shell.js: internal error
Error: EINVAL, invalid argument '.../zahnk/platforms/ios/zahnk.xcodeproj'
at Object.fs.renameSync (fs.js:543:18)
at /Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/mv.js:77:8
at Array.forEach (native)
at Object._mv (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/mv.js:53:11)
at Object.mv (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/common.js:186:23)
at pbxProject.
(/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:162:27)
at pbxProject.EventEmitter.emit (events.js:98:17)
at pbxProject. (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/node_modules/xcode/lib/pbxProject.js:30:18)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at handleMessage (child_process.js:322:10)
The build log displays :-------
Building a Cordova 4.1.2 application.
The application name is "Zahnk"
The package name is "com.profile.distribution"
Will use the provisioning profile for "adhoc"
Plugin "org.apache.cordova.device-motion" (0.2.11) installed.
Plugin "org.apache.cordova.camera" (0.3.4) installed.
Plugin "org.apache.cordova.file" (1.3.2) installed.
Plugin "org.apache.cordova.media-capture" (0.3.5) installed.
Plugin "org.apache.cordova.device-orientation" (0.3.10) installed.
Plugin "org.apache.cordova.network-information" (0.2.14) installed.
Plugin "org.apache.cordova.contacts" (0.2.15) installed.
Plugin "org.apache.cordova.device" (0.2.13) installed.
Plugin "org.apache.cordova.battery-status" (0.2.12) installed.
Plugin "org.apache.cordova.geolocation" (0.3.11) installed.
Plugin "org.apache.cordova.globalization" (0.3.3) installed.
Plugin "org.apache.cordova.inappbrowser" (0.5.4) installed.
Plugin "org.apache.cordova.media" (0.2.15) installed.
Plugin "org.apache.cordova.dialogs" (0.2.11) installed.
Plugin "org.apache.cordova.vibration" (0.3.12) installed.
Plugin "org.apache.cordova.splashscreen" (0.3.5) installed.
Plugin "com.intel.xdk.audio" (1.0.0) installed.
Plugin "com.intel.xdk.cache" (1.0.0) installed.
Plugin "com.intel.xdk.camera" (1.0.5) installed.
Plugin "com.intel.xdk.contacts" (1.0.4) installed.
Plugin "com.intel.xdk.device" (1.0.9) installed.
Plugin "com.intel.xdk.file" (1.0.1) installed.
Plugin "com.intel.xdk.player" (1.0.0) installed.
Targeting iOS version 6.
An unexpected error occured while attempting to build the application
please provide a workaround how to resolve this issue.Its been days since I am stuck into this.
Also please note I am using a distribution provisioning profile and have selected adhoc as well as production in the project -> build settings and have named the APP Id as the bundle identifier of the provisioning profile.I have also included the provisioning in the www folder of the app.
Please help me out
Ameeduddin