Kiril
Kiril

Reputation: 2131

Developing in Xcode with MonoTouch?

I am new to Xcode and MonoTouch, so please bear with me. Is it possible to develop MonoTouch applications with Xcode instead of with MonoDevelop? I have read the MonoTouch Xcode tutorial but unfortunately the process described does not seem to work with the latest MonoTouch version (I get a "No SDK in directory" error, there is also no resource rules file in the root SDK directory). Finally, where am I supposed to put the directives to the MonoTouch compiler?

I have downloaded the trial version of MonoTouch.

Thanks in advance.

Upvotes: 0

Views: 906

Answers (2)

Chris Hanson
Chris Hanson

Reputation: 55174

Xcode does not support third-party plug-ins or environments.

Upvotes: 0

Geoff Norton
Geoff Norton

Reputation: 5056

Its technically possible, but not in the supported MonoTouch workflow, so you'd be somewhat on your own. What you'd need to do is look at the output of a MonoTouch build with "-v -v -v" in the Extra Arguments field to see how we invoke the AOT compiler. You'll also need to look at the main.m generated by -keeptemp and adapt that in to your Xcode workflow. Lastly you would not be able to use the linker unless you maintained a parallel monotouch project which compiled and linked, and then you did a secondary build step to update your Xcode project.

Upvotes: 1

Related Questions