Newtonsoft.Json icon indicating copy to clipboard operation
Newtonsoft.Json copied to clipboard

Cannot compile for deployment to iOS device

Open ralfw opened this issue 13 years ago • 2 comments

When I set the configuration of the MonoTouch solution to Debug|iPhone it won´t compile. When I compile it with Debug|iPhoneSimulator, reference it in some other project and try to build that project with Debug|iPhone a linker error occurs. The cause lies with System.Reflection.Emit.

Has anybody successfully deployed the Json MonoTouch lib to the iPhone (not just the simulator)?

ralfw avatar Nov 10 '11 23:11 ralfw

Hi Ralf,

You might have better luck working from Andrew's more up to date version based off a newer version of Newtonsoft.Json - https://github.com/ayoung/Newtonsoft.Json

I hope this helps,

ChrisNTR

chrisntr avatar Nov 11 '11 01:11 chrisntr

Chris: Thx for the hint. This worked out just fine. Just downloaded the sources, compiled them, referenced them in my MonoTouch project and were able to deploy it to the iPhone. Great!

ralfw avatar Nov 12 '11 12:11 ralfw