MonoTouch Error – Missing UIKit.h

From Ben Hall (via Google Reader) – Using Mono to write an iPhone app. Hopefully the first of many posts.

MonoTouch Error – Missing UIKit.h: “MonoTouch Error.pngIf you haven’t heard about MonoTouch, then you need to be on twitter. MonoTouch allows you to write iPhone applications using C#! It’s in early, private, beta at the moment but it is very cool with huge amounts of potential.

However, on my first attempt to compile an application I received the following error:

‘uikit.h no such file or directory’

UIKit.h is one of the iPhone SDK files. I knew I had the iPhone SDK installed, however it turns out I didn’t have the 3.0 SDK! After installing the latest version, the application compiled without a problem. A note of the future in-case you hit the same error.

UPDATE: Sorry about edits, I was playing around with MarsEdit and the formatting.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.