Software Archive
Read-only legacy content
17060 Discussions

An error occurred while building the application. Verify your build assets are correct and try again.

Kumar_K_
Beginner
583 Views

Hi, I am using Intex XDK for Android and iOS web App development. I have successfully developed Android App but iOS App is showing error during final stage.

Error is :An error occurred while building the application. Verify your build assets are correct and try again.

Other details are following

You can also check log by clicking Here

Where the bug showing:

The following build commands failed:
	Check dependencies
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,.../ClearPathVisitPipe_APPLE/platforms/ios/cordova/build-release.xcconfig,-project,ClearPath Daily Visit Pipeline.xcodeproj,ARCHS=armv7 armv7s arm64,-target,ClearPath Daily Visit Pipeline,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 armv7s arm64,CONFIGURATION_BUILD_DIR=.../ClearPathVisitPipe_APPLE/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../ClearPathVisitPipe_APPLE/platforms/ios/build/sharedpch
Command finished with error code 2: .../ClearPathVisitPipe_APPLE/platforms/ios/cordova/build --release,--device
ERROR building one of the platforms: Error: .../ClearPathVisitPipe_APPLE/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: .../ClearPathVisitPipe_APPLE/platforms/ios/cordova/build: Command failed with exit code 2
    at ChildProcess.whenDone (/Developer/cordova/5.1.1/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134: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)

 

However I am trying since 3 days but not solutions. Apps details are also attached.

Your instant reply appreciated.

 

 

The build failed.
An error occurred while building the application. Verify your build assets are correct and try again.
You can view the detailed log of the iOS build here
Build Log:
  • Building a Cordova 5.1.1 application.
  • The application name is " ClearPath Daily Visit Pipeline"
  • The package name is "clearpath.daily.visitpipeline"
  • Will use the provisioning profile for "production"
  • No plugins were found in the intelxdk.config.xml file.
  • Targeting iOS version 5.1.1.
  • An unexpected error occured while attempting to build the application
0 Kudos
1 Reply
John_H_Intel2
Employee
583 Views

You have a couple issues that are preventing your build from completing.

1. You need to create an AppID on Apples developer portal and then create a provisioning profile.

2. You must download the provisioning profile, and give it to the XDK in the project settings. Currently you are supplying a .cer file, this is incorrect.

3. This document should help you out. https://software.intel.com/en-us/xdk/articles/walkthrough-obtain-ios-appstore-adhoc-cert

0 Kudos
Reply