David Notario
David Notario

Reputation: 297

MonoTouch: no gcc compiler found

In the middle of MonoTouch/Xcode upgrade to fix broken app in app store. Can't seem to get everything to work again. Stuck right now in what looks like a broken configuration, as mtouch can't seem to find gcc.

gcc does seem available, and I can compile an sample iphone project on xcode

Any ideas?

Upvotes: 3

Views: 485

Answers (1)

poupou
poupou

Reputation: 43553

Such things can happen when:

a) Installing Xcode 4.3[.1] and when Xcode 4.2 is removed (the installer ask for this) or if it was never installed.

To fix this you need to install the optional "Command Line Tools" to get a complete installation.

You can do this from inside Xcode using those steps: XCode 4.3 Command Line Tools Package with Invalid Checksum

b) when you install Xcode in a non-default directory. In this case you'll need to tell MonoDevelop where the Apple SDK is located. You can change this in the MonoDevelop's preferences dialog, SDK locations.

Upvotes: 3

Related Questions