Building for iOS Fails, Claiming Sockets in Use, But they Are Not

I’m trying to build my code for the iPad for the first time. When I select Build and Run, I get the following error:

Exception: Error building Player: SystemException: System.Net.Sockets are supported only on Unity iPhone Advanced. Referenced from assembly ‘Mono.Data.Tds’.
UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions)
UnityEditor.BuildPlayerWindow.BuildPlayerAndRun ()

However, I am not using System.Net.Sockets. I am using a .NET 2.0 build of JSON.NET and some System.Linq.Xml code, but nothing related to sockets at all. This code runs fine on Windows, Android and Mac, but fails to build for iOS. What is going wrong here?

I got the same error. It turned out to be the JsonFx assembly. If I removed it the build was successfull. Looks like I am going to have to look at the JsonFx source and see if I can remove the .net references.

I am having the same issue from the Android side. I have android basic, I am not trying to use System.Net.Sockets, and yet I receive this error and am unable to test my game on my device. I DO use WWW in my scripts but this should be fully supported on Android Basic.

Can anyone help here? Is there a way to view all the assemblies my project is referencing? Possibly I can remove an unneeded one that is breaking this?