Software Archive
Read-only legacy content
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
17065 Discussions

Error code 65 for command: xcodebuild

Iginio_V_
Beginner
1,557 Views

Hi, I'm italian and this is my first time on the forum.

I work with Win 10 and this it's a build failed to iOS application file
I have update a Intel XDK to build 3240, so I have converted my previous App to Android build and I have update all plugins.

I read some replay to other tickets (same this error) and I Removing Intel® XDK Local Data on Windows 10 but the last test was building an IOS app failed and the logs are:

** BUILD FAILED **

Building a Cordova 5.1.1 application.
Using platform cordova-ios 3.8.0.
The application name is "Allevamento Newstarwood"
The package name is "app.newstarwood"
Plugin "cordova-plugin-screen-orientation" (1.4.0) installed.
Plugin "cordova-plugin-statusbar" (2.0.0) installed.
Plugin "cordova-plugin-device" (1.1.0) installed.
Plugin "cordova-plugin-network-information" (1.1.0) installed.
Plugin "cordova-plugin-x-socialsharing" (5.0.12) installed.
Plugin "cordova-plugin-fullscreen" (1.1.0) installed.
Targeting iOS version 7.0.
Error: A build error occurred. Check the build log.
The following build commands failed:
	CodeSign build/device/Allevamento\ Newstarwood.app
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,.../newstarwood/platforms/ios/cordova/build-release.xcconfig,-project,Allevamento Newstarwood.xcodeproj,ARCHS=armv7 arm64,-target,Allevamento Newstarwood,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=.../newstarwood/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../newstarwood/platforms/ios/build/sharedpch
Command finished with error code 2: .../newstarwood/platforms/ios/cordova/build --release,--device
ERROR building one of the platforms: Error: .../newstarwood/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: .../newstarwood/platforms/ios/cordova/build: Command failed with exit code 2
    at ChildProcess.whenDone (.../cordova/cordova-cli/5.1.1/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:821:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

Help me, please

0 Kudos
1 Solution
John_H_Intel2
Employee
1,557 Views

At the bottom of the log file, you will see this line:

6E1C58E1F285CA4A3F654E20EA4F7E22AE166B0A: no identity found

 

You have a problem with your certificate and/or provisioning profile. 

View solution in original post

4 Replies
John_H_Intel2
Employee
1,557 Views

Please save your entire build log to a txt file and attach it to the thread for us to assist you.

Iginio_V_
Beginner
1,557 Views

Hi John,

I attach a complete build log in a text file.

Thanks

John_H_Intel2
Employee
1,558 Views

At the bottom of the log file, you will see this line:

6E1C58E1F285CA4A3F654E20EA4F7E22AE166B0A: no identity found

 

You have a problem with your certificate and/or provisioning profile. 

View solution in original post

Iginio_V_
Beginner
1,557 Views

Hi John,

I read "Creating an Apple iOS* Distribution Certificate and P12 File with Intel® XDK" and I solved my problem!

Thanks so much!

Reply