1. We've introduced thread tags, search within a thread and similar thread search. Read more here.
    Dismiss Notice
  2. We've released our first Timeline Experimental Preview, our new tool for creating cutscenes and more! To check it out click here.
    Dismiss Notice
  3. All Unity Pro perpetual license customers: your special offer to subscribe is ready! Click here.
    Dismiss Notice
  4. Unity 5.5 is now released.
    Dismiss Notice
  5. Check out all the fixes for 5.5 in patch releases 1 & 2.
    Dismiss Notice
  6. Unity 5.6 beta is now available for download.
    Dismiss Notice
  7. Get prepared for the Tizen Mobile App Incentive Program! Read more about the upcoming program here.
    Dismiss Notice
  8. Enter the Microsoft Developer Challenge for a chance to win prizes. Read more about it here.
    Dismiss Notice

[xcode] clang: error: unable to execute command: Segmentation fault: 11

Discussion in 'Unity Cloud Build' started by SniperED007, Sep 20, 2016.

  1. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Messages:
    27
    I keep getting the following errors on iOS Cloud Build, my project used to build successfully and if I do a manual build to my phone (instead of a cloud build) it works without errors.

    Any ideas what this could be caused by?

    14379: [xcode] clang: error: unable to execute command: Segmentation fault: 11
    14380: [xcode] clang: error: linker command failed due to signal (use -v to see invocation)
    14381: [xcode] ** BUILD FAILED **
     
  2. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Messages:
    518
    Which version of Unity and Xcode do you have selected for that build target? The first thing I would try is manually selecting Xcode 7.3
     
  3. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Messages:
    27
    Unity 5.4.1p1

    I'll try manually selecting Xcode 7.3 now and try again
     
  4. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Messages:
    27
    Thanks, that worked! Interesting that it was that as it was set to use the latest version of Xcode which is 7.3 according to the dropdown list.
     
  5. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Messages:
    518
    Great! And ya, we are in the process of updating of updating which version "latest" is (current it's 7.2).
     
  6. enghoff

    enghoff

    Joined:
    Jun 12, 2015
    Messages:
    3
    I am having this exact problem when building using the iOS Cloud Build service (but not on an independent workstation). How do I specify the Xcode version for a Cloud Build?
     
  7. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Messages:
    27
    select the CONFIG tab from the build.cloud.unity3d.com website page of your game, then open the "Show Signing Credentials" under your iOS settings. And edit the Xcode Version to select Xcode 7.3
     
    enghoff likes this.
  8. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Messages:
    35
    Just subscribed to this thread for future updates. :p
    I was trying to get an iOS build on Cloud Build with 5.4.f1, but I assumed that the "Use latest Xcode version" means Xcode 8.
    I switched to Xcode 7.3 in config, but the webpage showed that my Unity version choice is not compatible with the Xcode version I chose. Is it safe to ignore this for now?
     
  9. enghoff

    enghoff

    Joined:
    Jun 12, 2015
    Messages:
    3
    Thank you, found it!