0

How do I set compiler options -fobjc-arc in the VS 2017 IDE?

This seems like it should be a simple thing just to set a couple of compiler options (a total of 10 characters) some place in the IDE. Yet, researching it yields convoluted discussions of CMAKE. Is there an easier, less time consuming way to set a couple of compiler options?

littlegreendude
  • 117
  • 1
  • 10
  • 1
    In the project settings build tab? That doesn't look like a C# compiler option though. Is your question tagged with the wrong language? –  Oct 18 '17 at 13:08
  • Yes. It is a Xamarin application. I found the solution, these options may be specified through the "Additional mtouch arguments" field on the iOS Build tab. Specifically, it needs to be -gcc_flags "-fobjc-arc" – littlegreendude Oct 18 '17 at 13:17
  • You can write an answer to your own question, if you found the answer. –  Oct 18 '17 at 13:18

1 Answers1

0

I found the solution, these options may be specified through the "Additional mtouch arguments" field on the iOS Build tab. Specifically, it needs to be -gcc_flags "-fobjc-arc"

Please see here for further information: Enabling in ARC in xamarin

littlegreendude
  • 117
  • 1
  • 10