Unable to successfully compiles on Apple iOS platform

Reply by k3kalinix | 2024-07-03 10:55:40

<@1122792808181420033>

Reply by k3kalinix | 2024-07-03 10:56:00

#if UNITY_EDITOR && UNITY_IOS
using System.IO;
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode;

public class BuildIos: MonoBehaviour
{
  [PostProcessBuild]
  public static void OnPostProcessBuild(BuildTarget target, string path)
  {
    var projectPath = PBXProject.GetPBXProjectPath(path);
    var project = new PBXProject();
    project.ReadFromString(File.ReadAllText(projectPath));
#if UNITY_2019_3_OR_NEWER
    var targetGuid = project.GetUnityFrameworkTargetGuid();
#else
    var targetGuid = project.TargetGuidByName(PBXProject.GetUnityTargetName());
#endif

    // libz.tbd for grpc ios build
    project.AddFrameworkToProject(targetGuid, "libz.tbd", false);

    // bitode is disabled for libgrpc_csharp_ext, so need to disable it for the whole project
    project.SetBuildProperty(targetGuid, "ENABLE_BITCODE", "NO");

    File.WriteAllText(projectPath, project.WriteToString());
  }
}
#endif

Reply by enormousvampire | 2024-07-03 10:56:20

Yeah I was assisting him too

Reply by enormousvampire | 2024-07-03 10:56:35

<@1122792808181420033> Use the particular versions that I mentioned and LMK

Replying to enormousvampire’s Message

Reply by enormousvampire | 2024-07-03 10:56:35
<@1122792808181420033> Use the particular versions that I mentioned and LMK

Reply by golden_possum_87097 | 2024-07-03 10:57:49

OK

Reply by golden_possum_87097 | 2024-07-04 08:28:18

I encountered these bugs

Images:

Reply by k3kalinix | 2024-07-04 08:29:01

<@614184022121119745> <@433610960725344267>

Reply by enormousvampire | 2024-07-04 08:29:39

<@1122792808181420033> Can you show me the contents of your Convai/plugin folder

Reply by golden_possum_87097 | 2024-07-04 08:34:57

Images:

Reply by enormousvampire | 2024-07-04 08:36:06

Which version of the SDK are you using ?

Reply by enormousvampire | 2024-07-04 08:36:19

Is it the latest one from AssetStore ?

Reply by golden_possum_87097 | 2024-07-04 08:36:50

Yes, It’s convai 3.0.1

Reply by enormousvampire | 2024-07-04 08:36:50

Can you join for a quick call ?

Reply by enormousvampire | 2024-07-04 08:37:20

Reply by golden_possum_87097 | 2024-07-04 08:38:09

My English is poor. I need google to translate. :frowning_with_open_mouth:

Reply by enormousvampire | 2024-07-04 08:38:39

Ohkay I see. No issues

Reply by enormousvampire | 2024-07-04 08:39:04

Can you understand my english ?? I just need to guide you and check a few settings

Reply by golden_possum_87097 | 2024-07-04 08:39:30

ok

Reply by golden_possum_87097 | 2024-07-04 08:39:35

let’s try

Reply by k3kalinix | 2024-07-04 08:40:15

<@1122792808181420033> Could you please join?