Search Issue Tracker

Fixed in 2020.2

Fixed in 2019.4, 2020.1

Fix In Review for 2018.4

Votes

1

Found in

2020.2.0a12

Issue ID

1248692

Regression

Yes

[iOS] Appending an iOS build fails due to missing LaunchImage path error

iOS

-

Steps to reproduce:

1. Create new Unity project
2. Switch target platform to iOS
3. Make an iOS build
4. Make an iOS build again, use the same destination
5. Choose 'Append' when asked to
6. Notice build will fail with the following error message:
DirectoryNotFoundException: Could not find a part of the path '/Users/robertas/Documents/test-append/ios-build/Unity-iPhone/Images.xcassets/LaunchImage.launchimage'.

Reproduced with: 2020.2.0a12
Not reproducible with: 2020.2.0a9

Comments (15)

  1. 452fba69357397c80e4b44bcd466baa2?d=mm

    Coryatmarsden

    Jul 08, 2020 20:20

    For people still experiencing this issue, this bug is mentioned as a newly added fix in the 2019.4.3f1 LTS Release Notes.

  2. 04eea23d250a87f075495085ee23aba6?d=mm

    odysoftware

    Jul 04, 2020 19:54

    Still happening in 2019.4.2f1 - so not fixed in 2019.4?

  3. 10e6b2e9596aba43605c7bf928f0502e?d=mm

    TheCodingMonkeys

    Jun 30, 2020 19:43

    Well, since this is not going to be fixed for LTS as it seems, I'll leave an (annoying) but working workaround here. add this to any editor directory in your project just touch the offending launch image again.

    using UnityEngine;
    using UnityEditor;
    using UnityEditor.Callbacks;
    using System.Collections;
    using UnityEditor.iOS.Xcode;
    using UnityEditor.Build;
    using UnityEditor.Build.Reporting;
    using System.IO;
    using System.Linq;
    using System.Text.RegularExpressions;

    public class ProjectPostProcessing {

    [PostProcessBuild(0)]
    public static void ChangeXcodePlist(BuildTarget buildTarget, string pathToBuiltProject) {

    if (buildTarget == BuildTarget.iOS) {

    // Temporary Unity 2019.4.0 workaround:
    // https://forum.unity.com/threads/ios-appending-an-ios-build-fails-due-to-missing-launchimage-path-error.904235/
    System.IO.Directory.CreateDirectory(Path.Combine(pathToBuiltProject, "Unity-iPhone/Images.xcassets/LaunchImage.launchimage"));
    }
    }
    }

  4. A05d2d037fa6775c64c6e2731f4cb231?d=mm

    torikasyu

    Jun 21, 2020 07:37

    Also happening 2019.4.1 LTS

  5. B0c07289e8e240d34b5fd7ba2b592a44?d=mm

    vharutyunyan

    Jun 20, 2020 13:02

    This happens in the latest LTS version therefore it CANNOT HAVE A STATUS OF RESOLVED.

  6. F3acfca989754ce67e28fc88809845e2?d=mm

    sama-van

    Jun 17, 2020 17:21

    Fixed in 2020.2.0a13

  7. 10e6b2e9596aba43605c7bf928f0502e?d=mm

    TheCodingMonkeys

    Jun 16, 2020 18:09

    Still Happening in 2019.4.0f with custom storyboard xib. Please reopen or at least reference the still open issue)

  8. Ee17f2102929d0eaea021b9db6bc29b7?d=mm

    Kobald-Klaus

    Jun 15, 2020 15:10

    it´s still happening in 2019.4.0.
    why is this marked as fixed? in what version?

  9. 0ff7f3eda7d3d6055e3834de330cf327?d=mm

    gtaieb

    Jun 14, 2020 14:19

    was not happening in 2019.3.5f1, happens in 2019.4LTS

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.