gRPC errors when building for iOS from Unity3D

Original Discord Post by h3ll51ng | 2024-10-18 12:53:22

Hello, I have integrated a convai character with lipsync in my unity scene. Everything works as it should in editor but when building for iOS through xcode i come across gRPC errors. I went through the documentation and made sure the necessary gRPC runtime files are available as suggested but the build still fails.

Reply by k3kalinix | 2024-10-18 14:11:16

Hello <@443372280962088970>,

Reply by k3kalinix | 2024-10-18 14:11:20

Embedded Content:
Building for iOS/iPadOS | Documentation
This guide will walk you through the process of installing Convai-powered Unity applications on iOS and iPadOS devices.
Link: Building for iOS/iPadOS | Documentation

Reply by k3kalinix | 2024-10-18 14:11:26

Did you follow this documentation?

Reply by h3ll51ng | 2024-10-18 15:14:32

Yes, I have. The asset store package gor convai were missing the ios runtime files for grpc.core(libgrpc_csharp_ext.a and libgrpc.a). i have added them and they are still giving errors.

Reply by k3kalinix | 2024-10-18 15:15:47

Could you please Open Custom Package Installer

Reply by k3kalinix | 2024-10-18 15:16:49

Images:

Reply by k3kalinix | 2024-10-18 15:16:53

Use this.

Reply by h3ll51ng | 2024-10-18 15:53:54

I have done this step too. It still shows grpc errors

Images:

Reply by h3ll51ng | 2024-10-18 16:00:53

The asset store package is missing the ios folder inside grpc core/runtime. Can you give me download links for those giles because the documentation mentions that those files are needed

Reply by k3kalinix | 2024-10-18 16:03:18

What is asset store package?

Reply by h3ll51ng | 2024-10-18 16:16:33

Embedded Content:
NPC AI Engine - Dialog, actions, voice and lipsync - Convai | Behav…
Get the NPC AI Engine - Dialog, actions, voice and lipsync - Convai package from Convai and speed up your game development process. Find this & other Behavior AI options on the Unity Asset Store.
Link: NPC AI Engine - Dialog, actions, voice and lipsync - Convai | Behavior AI | Unity Asset Store

Reply by k3kalinix | 2024-10-18 16:21:47

Of course, it will not be included by default.

Reply by k3kalinix | 2024-10-18 16:22:59

When you press Install iOS Build Package, it will download automatically.

Reply by h3ll51ng | 2024-10-18 16:24:02

Ok. Let me try that

Reply by h3ll51ng | 2024-10-18 16:34:57

Hey, it works. I previously tried install the ios build package from the custom packages folder but it doesnt add those library files. Those file are added if selected from menu like you suggested. Thanks a lot

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-10-18 15:16:49

Reply by k3kalinix | 2024-10-18 16:37:05

I already said it should be from here.

This conversation happened on the Convai Discord Server, so this post will be closed.