# gRPC errors when building for iOS from Unity3D

**URL:** <https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941>\
**Category:** Unity SDK\
**Tags:** question, unity\
**Created:** [October 18, 2024, 12:53pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941 "2024-10-18T12:53:22Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 12:53pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/1 "2024-10-18T12:53:22Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 2:11pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/2 "2024-10-18T14:11:16Z")

</div>

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

Hello \<@443372280962088970\>,

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 2:11pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/3 "2024-10-18T14:11:20Z")

</div>

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

> **[Building for iOS/iPadOS | Documentation](https://docs.convai.com/api-docs/plugins-and-integrations/unity-plugin/building-for-supported-platforms/building-for-ios-ipados)**
>
> This guide will walk you through the process of installing Convai-powered Unity applications on iOS and iPadOS devices.

**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](https://docs.convai.com/api-docs/plugins-and-integrations/unity-plugin/building-for-supported-platforms/building-for-ios-ipados)

 ![Thumbnail](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/5d9c1e6e8c462a2269052637e6f3e5e95cd57275.png)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 2:11pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/4 "2024-10-18T14:11:26Z")

</div>

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

Did you follow this documentation?

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 3:14pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/5 "2024-10-18T15:14:32Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 3:15pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/6 "2024-10-18T15:15:47Z")

</div>

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

Could you please Open Custom Package Installer

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 3:16pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/7 "2024-10-18T15:16:49Z")

</div>

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

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/34d76a97bca86d255d2e5c5519864f885987728c.png)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 3:16pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/8 "2024-10-18T15:16:53Z")

</div>

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

Use this.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 3:53pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/9 "2024-10-18T15:53:54Z")

</div>

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

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

**Images:**

 ![Screenshot_2024-10-18_at_7.15.37_PM.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/e811025ab80c57d681370582aaeb6498943837ef.png)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 4:00pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/10 "2024-10-18T16:00:53Z")

</div>

**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

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 4:03pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/11 "2024-10-18T16:03:18Z")

</div>

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

What is asset store package?

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 4:16pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/12 "2024-10-18T16:16:33Z")

</div>

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

> **[NPC AI Engine - Dialog, actions, voice and lipsync - Convai | Behavior AI |...](https://assetstore.unity.com/packages/tools/behavior-ai/npc-ai-engine-dialog-actions-voice-and-lipsync-convai-235621?srsltid=AfmBOopRNOd64MuGUaZhKLilWMAWNkn7xFoahjcWsHuS-itWD5dA1ino)**
>
> 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.

**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](https://assetstore.unity.com/packages/tools/behavior-ai/npc-ai-engine-dialog-actions-voice-and-lipsync-convai-235621?srsltid=AfmBOopRNOd64MuGUaZhKLilWMAWNkn7xFoahjcWsHuS-itWD5dA1ino)

 ![Thumbnail](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/007a1958390a9f1f94936341fcca5647e9775c13.jpeg)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 4:21pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/13 "2024-10-18T16:21:47Z")

</div>

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

Of course, it will not be included by default.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 4:22pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/14 "2024-10-18T16:22:59Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 4:24pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/15 "2024-10-18T16:24:02Z")

</div>

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

Ok. Let me try that

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 4:34pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/16 "2024-10-18T16:34:57Z")

</div>

**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

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 18, 2024, 4:37pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/17 "2024-10-18T16:37:05Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 25, 2024, 12:14pm UTC](https://forum.convai.com/t/grpc-errors-when-building-for-ios-from-unity3d/1941/18 "2024-11-25T12:14:15Z")

</div>

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