Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

xcode build failed

Discussion in 'Unity Cloud Build' started by coly_sugai, Apr 27, 2018.

  1. coly_sugai

    coly_sugai

    Joined:
    May 14, 2016
    Posts:
    8
    21847: /BUILD_PATH/.mason/buildpacks/xcode/bin/compile:253:in `block in build': ! xcode build failed. (RuntimeError)


    Hi, I use UBC everyday:)

    From today, my project build failed many times and never succeeded.
    I got a wired error log.

    I found the log : Maybe the error shown is caused by using the wrong version of Xcode.
    I builded my project successfully with Xcode9.2 at my PC.

    What should I do?

    Code (CSharp):
    1. 21787: The following build commands failed:
    2. 21788: CompileAssetCatalog /BUILD_PATH/Library/Developer/Xcode/DerivedData/Unity-iPhone-auolejencraxtdesexnoltmhhhlk/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/APPLICATION_PATH/MY_PROJECT_NAME.app Unity-iPhone/Images.xcassets
    3. 21789: (1 failure)
    4. 21790: Exit status: 65
    5. 21791: Maybe the error shown is caused by using the wrong version of Xcode
    6. 21792: Found multiple versions of Xcode in '/APPLICATION_PATH/'
    7. 21793: Make sure you selected the right version for your project
    8. 21794: This build process was executed using '/APPLICATION_PATH/Xcode9_2_0.app'
    9. 21795: If you want to update your Xcode path, either
    10. 21796: - Specify the Xcode version in your Fastfile
    11. 21797: ? xcversion(version: "8.1") # Selects Xcode 8.1.0
    12. 21798: - Specify an absolute path to your Xcode installation in your Fastfile
    13. 21799: ? xcode_select "/APPLICATION_PATH/Xcode8.app"
    14. 21800: - Manually update the path using
    15. 21801: ? sudo xcode-select -s /APPLICATION_PATH/Xcode.app
    16. 21802: +-------------+------------------------------+
    17. 21803: |             Build environment              |
    18. 21804: +-------------+------------------------------+
    19. 21805: | xcode_path  | /APPLICATION_PATH/Xcode9_2_0.app |
    20. 21806: | gym_version | 2.89.0                       |
    21. 21807: | sdk         | iPhoneOS11.2.sdk             |
    22. 21808: +-------------+------------------------------+
    23. 21809: ? /BUILD_PATH/Library/Developer/Xcode/DerivedData/Unity-iPhone-auolejencraxtdesexnoltmhhhlk/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/APPLICATION_PATH/MY_PROJECT_NAME.app/LaunchImage-Landscape~ipad.png
    24. 21810: ? /BUILD_PATH/Library/Developer/Xcode/DerivedData/Unity-iPhone-auolejencraxtdesexnoltmhhhlk/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/APPLICATION_PATH/MY_PROJECT_NAME.app/LaunchImage-Portrait@2x~ipad.png
    25. 21811: ? /BUILD_PATH/Library/Developer/Xcode/DerivedData/Unity-iPhone-auolejencraxtdesexnoltmhhhlk/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/APPLICATION_PATH/MY_PROJECT_NAME.app/LaunchImage-Landscape@2x~ipad.png
    26. 21812: ? /BUILD_PATH/Library/Developer/Xcode/DerivedData/Unity-iPhone-auolejencraxtdesexnoltmhhhlk/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/APPLICATION_PATH/MY_PROJECT_NAME.app/Assets.car
    27. 21813: ? /BUILD_PATH/Library/Developer/Xcode/DerivedData/Unity-iPhone-auolejencraxtdesexnoltmhhhlk/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/assetcatalog_generated_info.plist
    28. 21814: ??  Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error
    29. 21815: ??  For the complete and more detailed error log, check the full log at:
    30. 21816: ??  /BUILD_PATH/Library/Logs/gym/MY_PROJECT_NAME-Unity-iPhone.log
    31. 21817: Looks like fastlane ran into a build/archive error with your project
    32. 21818: It's hard to tell what's causing the error, so we wrote some guides on how
    33. 21819: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
    34. 21820: Before submitting an issue on GitHub, please follow the guide above and make
    35. 21821: sure your project is set up correctly.
    36. 21822: fastlane uses `xcodebuild` commands to generate your binary, you can see the
    37. 21823: the full commands printed out in yellow in the above log.
    38. 21824: Make sure to inspect the output above, as usually you'll find more error information there
     
  2. Nexus1216

    Nexus1216

    Joined:
    Nov 15, 2015
    Posts:
    6
    Were you able to fix this. I'm having the same issue
     
    VilasKumbhare likes this.
  3. VilasKumbhare

    VilasKumbhare

    Joined:
    Sep 30, 2016
    Posts:
    2
    Guys , I'm also facing the same issue , need help to solve this issue . Thanks.