cancel
Showing results for 
Search instead for 
Did you mean: 

Building SAP MDK Client using MDK SDK - Command xcodebuild failed with exit code 65

Santoshnaidu
Explorer
0 Kudos
775

Hello Everyone,

I am in the middle of following the steps mentioned in the below tutorial for building a client with MDK SDK

https://developers.sap.com/tutorials/cp-mobile-dev-kit-build-client.html

Have got through Step 1 to Step 3 successfully, however the create client command in Step 4 fails with a message saying Command xcodebuild failed with exit code 65

One of the messages in the log shown in the below screen is saying "The project will use the default application metadata. No demo metadata was found"

Is this related to setting up the app in demo mode and is it mandatory to setup the app in demo mode ?

Thanks,

Santosh.

Accepted Solutions (0)

Answers (2)

Answers (2)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

First of all, i would suggest you to upgrade to NativeScript 8.2.2 as there was an issue recently caused due to unexpected changes in {N} dependencies if you are working with MDK SDK 6.x version. Please follow https://launchpad.support.sap.com/#/notes/3159124

Your issue might not be directly related though. Once you have upgraded to NS 8.2.2, re-build the client by executing create client command.

You also need to make sure that a valid team ID is set up for signing capabilities. You can do it via XCode.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

WARNING: Did not find definitions in directory /Users/......//DemoSampleApp.mdkproject/metadata!
The project will use the default application metadata
No demo metadata was found >> these are warnings as there seems no built-in metadata and demo app defined in your .mdkproject. These warnings can be ignored.

By looking at the console log, i am assuming you are using MDK SDK version 6.1.1 to build your branded client, right? (you can find the version in the README file available in the extracted folder) I just tried building an iOS client on my machine using the same version, it works as expected.


I would first check if the per-requisites are met for iOS platform by running the MDK dependency installer.

Santoshnaidu
Explorer
0 Kudos

Hi jitendra.kansal

Yes, the version is 6.1.1

I also checked the pre-requisites by running the dependency installer. Below is the screenshot.

All of the iOS items are in green but most of the Android items are in red. Bill Froelich did suggest on another thread that its not necessary resolve any android dependencies when I am trying to create a client only for iOS.

I also tried Step 4 several times but I am getting the same result. Anything else that you can think of that could be going wrong here.

Thanks,

Santosh.