Giter Site home page Giter Site logo

Comments (4)

thanwah avatar thanwah commented on May 18, 2024

Hello, thank you for reporting this issue.

A colleague and I have both tried to reproduce this issue on a Mac running Unity 2018.4 without success. We're both able to build an instant app APK with IL2CPP on 2018.4.

One challenge with this issue is that "il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException" gives the clang++ command line invocation that failed, but to my reading doesn't indicate what the underlying cause was.

If you switch your project's "PlayInstant > Build Settings... > Android Build Type" from "Instant" back to "Installed" and build again, does the exception still occur for IL2CPP builds?

from play-instant-unity-plugin.

ValeriaColombo avatar ValeriaColombo commented on May 18, 2024

Yes, I aready tried that.

Here:
https://drive.google.com/file/d/10C7wjINdXTcD54tGAkdcVSned3FDhLek/view?usp=sharing

You can find a demo project I made that fails with that error when I use the "PlayInstant --> Build for Play Console" option

from play-instant-unity-plugin.

thanwah avatar thanwah commented on May 18, 2024

Thank you for sharing the demo project.

I tried it out on Unity 2018.4.13f1 with NDK r16b on computer MacOS 10.14. I tried building with IL2CPP several times with toggling various settings (.NET version, engine stripping, etc) and wasn't able to reproduce the issue.

I'm not sure what to suggest at this point other than installing the latest Unity 2018.4 or perhaps reinstalling some of the other dependencies such as the Android NDK?

from play-instant-unity-plugin.

ValeriaColombo avatar ValeriaColombo commented on May 18, 2024

Ok, thanks to your info on what MacOS version you were using, I remembered I had updated to Catalina recently, investigated a little, and found out the error I was having was this one:
https://forum.unity.com/threads/clang-cannot-be-opened.759941/

Now I can build without problems!!!

Thank you for your help!

from play-instant-unity-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.