Software Archive
Read-only legacy content
17061 Discussions

Build failed IOS and Cordova

Henk_M_
Beginner
349 Views

I'm trying to do a build for an IOS app with Cordova but keep getting a Build Failed.
I have no idea what causes this. The error log doesn't help a lot.

Could you please help me out?
Regards,

Henk

** BUILD FAILED **

The following build commands failed:
        Check dependencies
(1 failure)
ERROR building one of the platforms: Error code 65 for command: xcodebuild with args: -xcconfig,.../EAOGV_IPHONE/platforms/ios/cordova/build-release.xcconfig,-project,EAOGV-IPHONE.xcodeproj,ARCHS=armv7 arm64,-target,EAOGV-IPHONE,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=.../EAOGV_IPHONE/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../EAOGV_IPHONE/platforms/ios/build/sharedpch
You may not have the required environment or OS to build this project
Error: Error code 65 for command: xcodebuild with args: -xcconfig,.../EAOGV_IPHONE/platforms/ios/cordova/build-release.xcconfig,-project,EAOGV-IPHONE.xcodeproj,ARCHS=armv7 arm64,-target,EAOGV-IPHONE,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=.../EAOGV_IPHONE/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../EAOGV_IPHONE/platforms/ios/build/sharedpch

0 Kudos
1 Solution
Swati_S_Intel1
Employee
349 Views

@Henk, There is a mismatch between your certificate and provisioning profile. Please follow this thread with a similar issue.

Follow the steps in this post : https://software.intel.com/en-us/forums/intel-xdk/topic/627945#comment-1870013

View solution in original post

0 Kudos
4 Replies
Amrita_C_Intel
Employee
349 Views

You may need to uninstall the existing app on your device and then try building it again.

And clear the cache.

https://software.intel.com/en-us/xdk/blog/remove-xdk-local-data

0 Kudos
Amrita_C_Intel
Employee
349 Views

Replied through PM.

0 Kudos
Swati_S_Intel1
Employee
350 Views

@Henk, There is a mismatch between your certificate and provisioning profile. Please follow this thread with a similar issue.

Follow the steps in this post : https://software.intel.com/en-us/forums/intel-xdk/topic/627945#comment-1870013

0 Kudos
Henk_M_
Beginner
349 Views

Dear Swati,

That was the problem.
Thanx a lot!!!!!

Regards,

Henk

0 Kudos
Reply