1. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  2. Unity 5.6 is now released.
    Dismiss Notice
  3. Check out all the fixes for 5.5 in patch releases 1 & 2.
    Dismiss Notice
  4. Get further faster with the Unity Plus Accelerator Pack, free for new Unity Plus subscribers for a limited time. Click here for more details.
    Dismiss Notice
  5. Learn how you'll soon be able to publish your games to China in four simple steps with Xiaomi. Sign up now for early access.
    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
    Posts:
    36
    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
    Posts:
    547
    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
    Posts:
    36
    Unity 5.4.1p1

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

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    36
    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
    Posts:
    547
    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
    Posts:
    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
    Posts:
    36
    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
    Posts:
    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
    Posts:
    3
    Thank you, found it!