Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

iOS fails on Cloud Build but android is fine.

Discussion in 'Unity Build Automation' started by Narlix, Nov 7, 2015.

  1. Narlix

    Narlix

    Joined:
    Jul 3, 2009
    Posts:
    111
    Hi,

    This seems like a configuration issue, so i've changed and rebuild it with every combination in the player settings, il2cpu, mono, texture compressions you name it. even combining cloud settings and xcode versions.

    1: [Unity] Initialize engine version: 5.2.2f1 (3757309da7e7)
    2: [Unity] Initialize engine version: 5.2.2f1 (3757309da7e7)
    3: [Unity] WARNING: Shader Unsupported: 'Hidden/InternalSplashShadowReceiver' - Pass '' has no vertex shader
    4: [Unity] WARNING: Shader Unsupported: 'Hidden/InternalSplashShadowReceiver' - Setting to default shader.
    5: [Unity] UnityEngine.Debug:LogWarning(Object)
    6: [Unity] DirectoryNotFoundException: Directory '/BUILD_PATH/narlix.hoodee.default-ios/Assets/Soomla/Editor/build-tools' not found.
    7: [Unity] Finished exporting player successfully.
    8: + Building with Xcode 6.3.1
    9: [xcode] /APPLICATION_PATH/Xcode6_3_1.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /BUILD_PATH/narlix.hoodee.default-ios/temp.UQLnFa/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/assetcatalog_dependencies.txt --output-partial-info-plist /UNITY_PATH/workspace/workspace/workspace/narlix.hoodee.default-ios/temp.UQLnFa/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/assetcatalog_generated_info.plist --app-icon AppIcon --launch-image LaunchImage --platform iphoneos --minimum-deployment-target 4.0 --target-device iphone --target-device ipad --compress-pngs --compile EXPORT_PATH/hoodee.app /opt/workspace/workspace/workspace/narlix.hoodee.default-ios/temp.UQLnFa/Unity-iPhone/Images.xcassets
    10: [xcode] /BUILD_PATH/narlix.hoodee.default-ios/temp.UQLnFa/Unity-iPhone/Images.xcassets:./AppIcon.appiconset: warning: App Icons built with asset catalogs are unavailable on iOS releases prior to 5.0.
    11: [xcode] clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
    12: [xcode] clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
    13: [xcode] ** BUILD FAILED **
    14: ! build of 'default-ios' failed. compile failed
    15: Finished: FAILURE
    Status: FAILED


    it states most times simply just BUILD FAILED, sometimes it says it requires iOS 5.0, however since this is a unity service, it figures they are running the pro version on the servers with iOS and whatever modules are required to build to iOS :p

    Are there ways to extract more information why it fails. and before you ask, the full shows the same, a few info's non-lethal warnings. and then boom FAIL.

    I'm using way to much resources on the server with a trial and error approach like this.
     
    Last edited: Nov 7, 2015
  2. Narlix

    Narlix

    Joined:
    Jul 3, 2009
    Posts:
    111
    another attempt, just as a clang exit after player was build, this is one step further than a user of cloud build can take.

    1: [Unity] Initialize engine version: 5.2.2f1 (3757309da7e7)
    2: [Unity] Initialize engine version: 5.2.2f1 (3757309da7e7)
    3: [Unity] WARNING: Shader Unsupported: 'Hidden/InternalSplashShadowReceiver' - Pass '' has no vertex shader
    4: [Unity] WARNING: Shader Unsupported: 'Hidden/InternalSplashShadowReceiver' - Setting to default shader.
    5: [Unity] UnityEngine.Debug:LogWarning(Object)
    6: [Unity] DirectoryNotFoundException: Directory '/BUILD_PATH/narlix.hoodee.default-ios/Assets/Soomla/Editor/build-tools' not found.
    7: [Unity] Finished exporting player successfully.
    8: + Building with Xcode 6.3.1
    9: [xcode] /BUILD_PATH/narlix.hoodee.default-ios/temp.N87Qsp/Classes/UI/SplashScreen.mm:293:7: warning: 'wantsFullScreenLayout' is deprecated: first deprecated in iOS 7.0 [-Wdeprecated-declarations]
    10: [xcode] /BUILD_PATH/narlix.hoodee.default-ios/temp.N87Qsp/Classes/UI/SplashScreen.mm:299:66: warning: 'interfaceOrientation' is deprecated: first deprecated in iOS 8.0 [-Wdeprecated-declarations]
    11: [xcode] /BUILD_PATH/narlix.hoodee.default-ios/temp.N87Qsp/Classes/UI/SplashScreen.mm:207:69: warning: 'interfaceOrientation' is deprecated: first deprecated in iOS 8.0 [-Wdeprecated-declarations]
    12: [xcode] /BUILD_PATH/narlix.hoodee.default-ios/temp.N87Qsp/Classes/UI/OrientationSupport.mm:103:74: warning: 'interfaceOrientation' is deprecated: first deprecated in iOS 8.0 [-Wdeprecated-declarations]
    13: [xcode] /BUILD_PATH/narlix.hoodee.default-ios/temp.N87Qsp/Classes/UI/UnityViewControllerBase.mm:197:69: warning: 'interfaceOrientation' is deprecated: first deprecated in iOS 8.0 [-Wdeprecated-declarations]
    14: [xcode] /BUILD_PATH/narlix.hoodee.default-ios/temp.N87Qsp/Classes/UI/UnityAppController+ViewHandling.mm:78:34: warning: 'interfaceOrientation' is deprecated: first deprecated in iOS 8.0 [-Wdeprecated-declarations]
    15: [xcode] /BUILD_PATH/narlix.hoodee.default-ios/temp.N87Qsp/Classes/UI/UnityAppController+ViewHandling.mm:89:18: warning: 'wantsFullScreenLayout' is deprecated: first deprecated in iOS 7.0 [-Wdeprecated-declarations]
    16: [xcode] /BUILD_PATH/narlix.hoodee.default-ios/temp.N87Qsp/Classes/UI/iAD.mm:238:17: warning: 'presentFromViewController:' is deprecated: first deprecated in iOS 7.0 - Use -[UIViewController requestInterstitialAdPresentation] and related APIs documented in <iAd/UIViewControlleriAdAdditions.h>. [-Wdeprecated-declarations]
    17: [xcode] clang: error: linker command failed with exit code 1 (use -v to see invocation)
    18: [xcode] ** BUILD FAILED **
    19: ! build of 'default-ios' failed. compile failed
    20: Finished: FAILURE
    Status: FAILED
     
  3. Barnaff

    Barnaff

    Joined:
    Feb 26, 2013
    Posts:
    1
    Having the same issue (requires iOS 5.0 or later),
    anyone know how to fix it?
     
  4. Pix10

    Pix10

    Joined:
    Jul 21, 2012
    Posts:
    850
    I was getting the same in local builds with 5.2.2f1. It went away after upgrading to 5.2.2p1.

    Now though (with Cloud Builds):

    I'm getting this after importing a new provisioning profile (just added one new device - the new iPad Mini), and changing Unity version from 5.2.2p1 to 5.2.2p2 (everything was building fine under 5.2.2p1 on Friday, no new commits...)

    Reverting to 5.2.2p1, it builds fine.