Bug 6203 - MT fails to work when xcode is installed at location with spaces
Summary: MT fails to work when xcode is installed at location with spaces
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 5.3.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Sebastien Pouliot
Depends on:
Reported: 2012-07-19 14:28 UTC by Marek Safar
Modified: 2012-07-27 16:12 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Marek Safar 2012-07-19 14:28:22 UTC
/Volumes/Xcode 1/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version=2 -miphoneos-version-min=6.0 -arch i386  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/include -isysroot /Volumes/Xcode 1/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -c /var/folders/zw/_2mb6txx19b1c3g9ls4mwngr0000gn/T/tmp72f6db5a.tmp/main.m -o /var/folders/zw/_2mb6txx19b1c3g9ls4mwngr0000gn/T/tmp72f6db5a.tmp/main.x86.o
i686-apple-darwin11-llvm-gcc-4.2: 1/Xcode45-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk: No such file or directory
In file included from /Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/include/monotouch/monotouch.h:16,
                 from /Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/include/monotouch/main.h:10,
                 from /var/folders/zw/_2mb6txx19b1c3g9ls4mwngr0000gn/T/tmp72f6db5a.tmp/main.m:1:

/Volumes/Xcode 1/Xcode45-DP3.app causes build failure
Comment 1 Jeffrey Stedfast 2012-07-20 12:18:21 UTC
This looks like an mtouch bug.

Comment 2 Sebastien Pouliot 2012-07-20 13:02:03 UTC
yup, looks like -isysroot is not quoted
Comment 3 Sebastien Pouliot 2012-07-27 16:12:44 UTC
Fixed in 
master f1ab3819005f73c939442150f7926c6153ada019
5.2-series 4a8429bfd3c641860ecb1fd0603c9bf1547f6e4e