Mahesh Bansode
Mahesh Bansode

Reputation: 297

Updated for ios7 in monodevelop but it is giving error

Now,I have updated my Xamarin.ios to 7.0.x It is giving error that, I am already having xcode 5

Error: A valid Xcode installation could not be found. If your copy of Xcode is 
installed to a non-standard prefix, please specify the location in MonoDevelop's
Preferences under 'SDK Locations'. (Scrapboom.iPhone)

I have updated Xcode to 5.0 for ios7 and running application in monodevelop but application is not running it is giving,

warning on simulator:

warning MT1201: Could not load the simulator: dlopen(Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient, 1): image not found

warning on device:

warning MT1003: Could not kill the application 'com.scrapboom.iphone'. You may have to kill the application manually.
error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
System.IO.DirectoryNotFoundException: Directory 'Platforms/iPhoneOS.platform/DeviceSupport' not found.
  at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0 
  at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0 
  at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0 
  at MonoTouch.Installation.Device.get_DeveloperImagePath () [0x00000] in <filename unknown>:0 
  at MonoTouch.Installation.Device.MountDeveloperImage () [0x00000] in <filename unknown>:0 
  at MonoTouch.Installation.Installer.FindApplication (MonoTouch.Installation.Device d, System.String appId) [0x00000] in <filename unknown>:0 
  at MonoTouch.Installation.Installer+<LaunchApplication>c__AnonStorey1A.<>m__22 (MonoTouch.Installation.Device d) [0x00000] in <filename unknown>:0 

Upvotes: 1

Views: 1091

Answers (2)

j7nn7k
j7nn7k

Reputation: 18582

I had a similar issue after updating to Xcode6. What helped me was installing all updates for Xamarin Studio over the beta channel. Go to Xamarin Studio > Check for Updates ... an then choose beta instead of stable

Upvotes: 0

Stephane Delcroix
Stephane Delcroix

Reputation: 16232

You can set the new XCode location in Xamarin.Studio in the Preferences:

Xamarin Studio > Preferences... > Projects > SDK Locations > Apple

Xamarin studio preferences

If you don't have the green check marks, set the location targetting your new XCode 5 installation (usually /Applications/XCode.App)

Upvotes: 1

Related Questions