# Xcodebuild failed with code 65 (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 32.63 seconds

**URL:** <https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756>\
**Category:** Issues/Bugs\
**Created:** [October 17, 2016, 9:38am UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756 "2016-10-17T09:38:13Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![crujzo](https://discuss.appium.io/letter_avatar_proxy/v4/letter/c/5f8ce5/32.png) [@crujzo](https://discuss.appium.io/u/crujzo)\
**Post date:** [November 4, 2016, 11:16am UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/41 "2016-11-04T11:16:45Z")

</div>

Thanks @Aleksei

i have installed carthage via **brew install carthage** but it installed it at location : **/usr/local/Cellar/** where as @vani.hosagoudra suggested that carthage should be inside WebDriverAgent Folder path : **usr/local/lib/node\_modules/appium/node\_modules/appium-xcuitest-driver/WebDriverAgent** which i am not able to.  
**More over:** i am getting this error:

[BaseDriver] Session created with session id: f3e8618c-a309-4e71-9660-768047767154  
[Xcode] Finding XcodePath by symlink because Error: Command ‘ **xcode-select --print-path** ’ errored out: Error: spawn xcode-select ENOENT  
at exports.\_errnoException (util.js:1026:11)…  
But when i execute this command on Terminal is shows the complete path ![](https://discuss.appium.io/uploads/default/original/2X/8/836a820712ff2fbd7c6e66ee830186c82c1fa51f.png)

Any help would be highly appreciated.

---

<div class="post-metadata">

**Author:** ![anand853](https://discuss.appium.io/letter_avatar_proxy/v4/letter/a/a6a055/32.png) [@anand853](https://discuss.appium.io/u/anand853)\
**Post date:** [November 17, 2016, 9:22pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/42 "2016-11-17T21:22:22Z")

</div>

> [@pavanbachu](#):
>
> xcodeConfigfile

can you please share the some samples here.  
we should put the key value pairs?..  
pls share some examples. here

---

<div class="post-metadata">

**Author:** ![anand853](https://discuss.appium.io/letter_avatar_proxy/v4/letter/a/a6a055/32.png) [@anand853](https://discuss.appium.io/u/anand853)\
**Post date:** [November 18, 2016, 5:35pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/43 "2016-11-18T17:35:04Z")

</div>

> [@anand853](#):
>
> xcodeConfigfile

can you pls post any sample code here?

---

<div class="post-metadata">

**Author:** ![Jitu1888](https://discuss.appium.io/user_avatar/discuss.appium.io/jitu1888/32/7269_2.png) [@Jitu1888](https://discuss.appium.io/u/Jitu1888)\
**Post date:** [November 18, 2016, 9:07pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/44 "2016-11-18T21:07:37Z")

</div>

DEVELOPMENT\_TEAM is the Account name if not.  
Can you tell me how this looks like

---

<div class="post-metadata">

**Author:** ![pavanbachu](https://discuss.appium.io/user_avatar/discuss.appium.io/pavanbachu/32/5569_2.png) [@pavanbachu](https://discuss.appium.io/u/pavanbachu)\
**Post date:** [November 19, 2016, 12:15am UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/45 "2016-11-19T00:15:50Z")

</div>

You can find the Development team details in the developer account

---

<div class="post-metadata">

**Author:** ![Jitu1888](https://discuss.appium.io/user_avatar/discuss.appium.io/jitu1888/32/7269_2.png) [@Jitu1888](https://discuss.appium.io/u/Jitu1888)\
**Post date:** [November 19, 2016, 7:48pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/46 "2016-11-19T19:48:56Z")

</div>

Name:Enterprise\_Development\_APNS\_ProfileType:iOS DevelopmentApp ID:  
DANY Mobile APNS (com.dishnetwork.DANY-Mobile)  
Certificates:  
3 total  
Devices:  
153 total  
Enabled Services:  
App Groups, Game Center, In-App Purchase, Push Notifications  
Expires:Nov 16, 2017Status:Active

Name is the development team ???

---

<div class="post-metadata">

**Author:** ![pavanbachu](https://discuss.appium.io/user_avatar/discuss.appium.io/pavanbachu/32/5569_2.png) [@pavanbachu](https://discuss.appium.io/u/pavanbachu)\
**Post date:** [November 19, 2016, 11:14pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/47 "2016-11-19T23:14:40Z")

</div>

Development Team is TEam ID number , you can find it under Membership Details in developer account.

---

<div class="post-metadata">

**Author:** ![Jitu1888](https://discuss.appium.io/user_avatar/discuss.appium.io/jitu1888/32/7269_2.png) [@Jitu1888](https://discuss.appium.io/u/Jitu1888)\
**Post date:** [November 20, 2016, 6:39am UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/48 "2016-11-20T06:39:15Z")

</div>

Membership Information  
Program Type  
Apple Developer Enterprise Program  
Team Name  
Sling Media Inc.  
Team ID  
QX6CSLZ8HN  
Entity Type  
In-House / Enterprise  
Phone  
Address  
1051 E. Hillsdale Blvd.  
Ste. 500  
Foster City, California 94404  
United States  
Expiration Date  
February 03, 2017  
Device Reset Date  
February 03, 2017  
Team Agent  
Ilya Geller  
Your Role  
Member

so development team is QX6CSLZ8HN???

---

<div class="post-metadata">

**Author:** ![Jitu1888](https://discuss.appium.io/user_avatar/discuss.appium.io/jitu1888/32/7269_2.png) [@Jitu1888](https://discuss.appium.io/u/Jitu1888)\
**Post date:** [November 20, 2016, 6:45am UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/49 "2016-11-20T06:45:31Z")

</div>

Its a alphanumberic not number

---

<div class="post-metadata">

**Author:** ![Jitu1888](https://discuss.appium.io/user_avatar/discuss.appium.io/jitu1888/32/7269_2.png) [@Jitu1888](https://discuss.appium.io/u/Jitu1888)\
**Post date:** [November 20, 2016, 9:21am UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/50 "2016-11-20T09:21:22Z")

</div>

Now i m getting this error

[Xcode]  
Testing failed:

[Xcode] No profiles for ‘com.facebook.IntegrationApp’ were found: Xcode couldn’t find a provisioning profile matching ‘com.facebook.IntegrationApp’.  
Code signing is required for product type ‘Application’ in SDK ‘iOS 10.0’  
\*\* TEST FAILED \*\*

The following build commands failed:  
Check dependencies  
(1 failure)

---

<div class="post-metadata">

**Author:** ![crujzo](https://discuss.appium.io/letter_avatar_proxy/v4/letter/c/5f8ce5/32.png) [@crujzo](https://discuss.appium.io/u/crujzo)\
**Post date:** [November 21, 2016, 3:24am UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/51 "2016-11-21T03:24:42Z")

</div>

[https://github.com/appium/appium-xcuitest-driver](https://github.com/appium/appium-xcuitest-driver) Take the help from this link.  
You have to pass the location of your .xcconfig file as the desired capability in your java code. And further you may have to do manual configurations also.

Please read the link and related posts first.

---

<div class="post-metadata">

**Author:** ![Jitu1888](https://discuss.appium.io/user_avatar/discuss.appium.io/jitu1888/32/7269_2.png) [@Jitu1888](https://discuss.appium.io/u/Jitu1888)\
**Post date:** [November 23, 2016, 8:19am UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/52 "2016-11-23T08:19:54Z")

</div>

Thanks Sir i am bale to launch application on IOS 10.

---

<div class="post-metadata">

**Author:** ![chiwhitesox56](https://discuss.appium.io/user_avatar/discuss.appium.io/chiwhitesox56/32/4470_2.png) [@chiwhitesox56](https://discuss.appium.io/u/chiwhitesox56)\
**Post date:** [December 5, 2016, 4:55pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/53 "2016-12-05T16:55:11Z")

</div>

I’m having the same problem (Registry returned 404 for GET on [https://registry.npmjs.org/carthage](https://registry.npmjs.org/carthage)). Did you find a workaround for it by any chance?

---

<div class="post-metadata">

**Author:** ![pavanbachu](https://discuss.appium.io/user_avatar/discuss.appium.io/pavanbachu/32/5569_2.png) [@pavanbachu](https://discuss.appium.io/u/pavanbachu)\
**Post date:** [December 5, 2016, 9:53pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/54 "2016-12-05T21:53:45Z")

</div>

Yeah thats the development team

---

<div class="post-metadata">

**Author:** ![jtangadagi](https://discuss.appium.io/letter_avatar_proxy/v4/letter/j/cab0a1/32.png) [@jtangadagi](https://discuss.appium.io/u/jtangadagi)\
**Post date:** [December 21, 2016, 5:44pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/55 "2016-12-21T17:44:08Z")

</div>

Hi @crujzo, Were you able to find a solution for the **carthage installation** in this location **/usr/local/lib/node\_modules/appium/node\_modules/appium-xcuitest-driver/WebDriverAgent**??

Please help.

---

<div class="post-metadata">

**Author:** ![Dineshk](https://discuss.appium.io/user_avatar/discuss.appium.io/dineshk/32/10349_2.png) [@Dineshk](https://discuss.appium.io/u/Dineshk)\
**Post date:** [December 28, 2016, 6:05am UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/56 "2016-12-28T06:05:09Z")

</div>

How did you launch the app. I’m stuck in “Unable to start Webdriver Agent”. Do have any solution to this ?

---

<div class="post-metadata">

**Author:** ![pavanbachu](https://discuss.appium.io/user_avatar/discuss.appium.io/pavanbachu/32/5569_2.png) [@pavanbachu](https://discuss.appium.io/u/pavanbachu)\
**Post date:** [December 28, 2016, 9:27pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/57 "2016-12-28T21:27:05Z")

</div>

Follow these steps: [Getting error "linker command failed with exit code 1 (use -v to see invocation)](https://discuss.appium.io/t/getting-error-linker-command-failed-with-exit-code-1-use-v-to-see-invocation/13894/10)

---

<div class="post-metadata">

**Author:** ![chiwhitesox56](https://discuss.appium.io/user_avatar/discuss.appium.io/chiwhitesox56/32/4470_2.png) [@chiwhitesox56](https://discuss.appium.io/u/chiwhitesox56)\
**Post date:** [January 10, 2017, 8:55pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/58 "2017-01-10T20:55:08Z")

</div>

@pavanbachu - I ran appium-doctor and noticed that I somehow have two versions of Carthage installed. One is in WebDriverAgent as expected, but the one that Appium Doctor points to is elsewhere:

`info AppiumDoctor ✔ Carthage was found at: /usr/local/bin/carthage`

Before I start trying to reconfigure everything, do you know if this could be causing me to get an `xcodebuild failed with code 65` warning when trying to tests on the iOS simulator?

I’ve followed just about all of the instructions that I can find to get rid of this error and I’m just not getting anywhere. I’ve run Appium Doctor many times but all tests passed, so I never really thought to check the installation paths.

---

<div class="post-metadata">

**Author:** ![TheChell](https://discuss.appium.io/user_avatar/discuss.appium.io/thechell/32/2170_2.png) [@TheChell](https://discuss.appium.io/u/TheChell)\
**Post date:** [January 10, 2017, 9:44pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/59 "2017-01-10T21:44:29Z")

</div>

@crujzo, I am in the exact same position you were in. I have followed @pavanbachu 's instructions:

My path here:

**/usr/local/lib/node\_modules/appium/node\_modules/appium-xcuitest-driver/WebDriverAgent/**

Only lists:

```
npmignore
.travis.yml
CONTRIBUTING.md
Cartfile
Cartfile.resolved
Inspector/
LICENSE
PATENTS
PrivateHeaders/
README.md
Scripts/
WebDriverAgent.xcodeproj/
WebDriverAgentLib/
WebDriverAgentRunner/
WebDriverAgentTests/
WebDriverAgentUSBClient/ 

```

As you can see, Carthage is not there. It is installed at **/usr/local/Cellar/**

I have uninstalled and reinstalled Appium, I have uninstalled and reinstalled Carthage through both npm and brew, to no avail.

The .xcconfig file I have created under WebDriverAgent is not being recognized. I am on appium --version 1.6.3. I would greatly appreciate any help.

---

<div class="post-metadata">

**Author:** ![pavanbachu](https://discuss.appium.io/user_avatar/discuss.appium.io/pavanbachu/32/5569_2.png) [@pavanbachu](https://discuss.appium.io/u/pavanbachu)\
**Post date:** [January 10, 2017, 10:04pm UTC](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/60 "2017-01-10T22:04:59Z")

</div>

@chiwhitesox56 Whats appium version ? Try with latest Appium Version and please share config file

[Previous page](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756.md?page=2)

[Next page](https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756.md?page=4)
