Unity IOS WCF

Hi ALL.
I created WCF, and everything goes well on android, win, and OsX.
but when i running application on iOS in xcode i cet error in console, and nothing happens.

System.Reflection.Emit is not supported.
at System.AppDomain.DefineDynamicAssembly (System.Reflection.AssemblyName name, AssemblyBuilderAccess access) [0x00000] in :0
at Mono.CodeGeneration.CodeModule…ctor (System.String name) [0x00000] in :0
at System.ServiceModel.ClientProxyGenerator.CreateProxyType (System.Type contractInterface, System.ServiceModel.Description.ContractDescription cd, Boolean duplex) [0x00000] in :0
at System.ServiceModel.ChannelFactory1[TChannel].CreateChannel (System.ServiceModel.EndpointAddress address, System.Uri via) [0x00000] in <filename unknown>:0** **at System.ServiceModel.ClientBase1[TChannel].get_InnerChannel () [0x00000] in :0

http://gyanendushekhar.com/2016/04/21/how-to-call-wcf-service-in-unity/ used this tutorial

solved! use wsdl instead svcutil

Hello, I am having the same problem but not sure how to use wsdl directly , I changed all service model client connections to call wsdl directly but I am getting the error below and can’t debug in any way to find where is the problem. Do you have a sample code?

Error:
SoapException: The server was unable to process the request due to an internal error.

Hi, sorry for late time answer
Using wcf is very bad idea, use https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.html, and any rest api.

Or if you need socket use https://github.com/Unity-Technologies/multiplayer or https://github.com/vis2k/Mirror