Skip to content

Building Taichi-Unity Project on iOS (iPad) #20

@Jenix8

Description

@Jenix8

Hi, I'm trying to build the project from Taichi-UnityExample on my iPad.
I am facing difficulties in accomplishing this, so I'd like to ask for your help.

From what I understand, some libraries are required for this and they can be acquired as follows:

  • iOS/libtaichi_c_api.a: by building taichi repo using python3 build.py ios (v1.6.0+)
  • iOS/libtaichi_unity.a: by using sh build-ios.sh at root dir of taichi-unity2
  • macOS/arm64/libtaichi_c_api.dylib: by installing taichi (pip install taichi or developer installation)
  • macOS/arm64/libtaichi_unity.dylib: by cmake building taichi-unity2.

I cannot find the way to build "iOS/LaunchHook.m" that corresponds to the desired taichi version, but it seems that the same file can be used regardless of the version.

However, despite attempting the above entire process for multiple versions (1.5.0~1.7.0), I have not successfully built it on iOS.
Thus I'd like to ask whether there is any mistake in my steps I've taken or if there are any necessary tasks for building on iOS that I might be unaware of.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions