Darwin Build Environment Help Center

The source path Libraries\baselib.a does not exist. Building for TVos using Unity 6000.0.32f1

append delete gamer

Windows version: Windows 10 Pro
Builder version: v3.73.1
TVos version: 18.2 SDK
Unity Version:6000.0.32f1

I am trying to build a TVos project without any additional framework in Unity 6000.0.32f1.
I have set the path using mklink /D since my Unity 6 is not in my default path.
I get this error while building: "The source path Libraries\baselib.a does not exist."
How do I solve this? Thanks!

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello @gamer

Currently the builder supports iOS and macOS. Support for other platforms is incomplete and has not been tested yet (I have no AppleTV device to test the builds).

Do you want to help me support tvOS ? If so, send me the Xcode project you're trying to build. I think I'll be able to add what's necessary for it to build, but I won't be able to test it, so I make no guarantees.

append delete #2. gamer

Hi,
I tried to build a test empty TVOS project. In project builder, the il2cpp build successfully with this message "*** il2cpp build success (653.74 seconds - 0:10:53),ExitCode: 0 Duration: 10m:53s
Success:"
But after that while building project UnityFramework, I got this error message: "Building the dependency project UnityFramework...
ERROR: The target UnityFramework in this Xcode project is for the 'appletvos' platform, whereas your installed SDK is for 'iphoneos'. Either get a 'appletvos' SDK, or change this Xcode project's target to 'iphoneos'."
I have mailed you the project zip with the subject line "Test TVos project for building ipa". Please check. Thanks!

append delete #3. Pierre-Marie Baty

Well received. Let's see how hard this new miracle is going to be.

append delete #4. gamer

Hi,
Any update on this? Please let me know if it supports building ipa for tvOS.
Thanks!

append delete #5. Pierre-Marie Baty

I am currently working on it. The capabilities of the asset compiler (cartool) that compiles an .xcassets directory into an Assets.car file need to be extended. And there’ll be something to do about the splash screen storyboard too. And that should be it.

append delete #6. gamer

ok, thanks. will keep checking for an update

append delete #7. Pierre-Marie Baty

An update on this:

After much effort, I'm hitting a technical dead-end. TVOS requires that some particular sets of images be packed in the Assets.car file in a particular format. This Assets.car file is used by Apple's CoreUI framework to quickly load various images and resources. One of them, specific to TVOS, is a banner image with blurred parallax that displays in the TVOS app browser.

Unfortunately in spite of my efforts I could not reverse engineer the "blurred" algorithm/compression method that is used by Apple to pack these images in the Assets.car file. I could not find any reference nor any documentation about this format anywhere on the Internet. I am not able at the moment to offer a reimplementation of this algorithm through reverse engineering (I ran out of time for that). Trying to workaround the problem by storing the same blurred image with a different compression method (e.g. LZFSE) only ended in making CoreUI crash (which hints that Apple's CoreUI makes way too many unverified assumptions when reading an Assets.car file)

This is the only, but blocking, challenge to solve to produce an app that would run on TVOS. As a consequence there is no possibility at the moment to use this toolchain to build TVOS apps - except if one preserves and reuses the Assets.car file previously generated by a Xcode build.

Sorry for not being able to achieve this one.

append delete #8. gamer

Hi,
Thanks a lot for all your efforts. Hope it will get sorted in the future. If I have once uploaded an app to tvOS. I would get Assets.car file from the ipa. In this case how do I rebuild the next version using Project builder. Can I get the project builder version that supports building for tvOS with external Assets.car, along with the steps on how to add Assets.car?
Thanks!

append delete #9. Pierre-Marie Baty

I would have to tidy things up and publish an update but TBH I'm not quite motivated for publishing a "half-working" solution. There doesn't seem to be much interest in building tvOS apps.

That said, if you're in dire need of such a workaround, I may get that motivation in exchange of a reasonable tip. Let me know (by mail) how much you can allocate, and I'll tell you if that's okay. Thank you for your understanding.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty