Closed uezo closed 1 year ago
Succeed iOS build on Unity but failed on Xcode.
It works by setting the conditional compile like below:
namespace ChatdollKit.IO { public class WebGLMicrophone : MonoBehaviour { #if UNITY_WEBGL [DllImport("__Internal")] private static extern void InitWebGLMicrophone(string targetObjectName); [DllImport("__Internal")] private static extern void StartWebGLMicrophone(); [DllImport("__Internal")] private static extern void EndWebGLMicrophone(); [DllImport("__Internal")] private static extern int IsWebGLMicrophoneRecording(); : : } #endif } }
Succeed iOS build on Unity but failed on Xcode.
It works by setting the conditional compile like below: