Bug 28994 - Watchkit apps fail to build when you Specify SDK location
Summary: Watchkit apps fail to build when you Specify SDK location
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: XI 8.9.x (iOS 8.3)
Hardware: PC Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-04-10 15:11 UTC by James Clancey
Modified: 2016-06-09 00:12 UTC (History)
4 users (show)

Tags:
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:
Status:
RESOLVED NORESPONSE

Description James Clancey 2015-04-10 15:11:54 UTC
Since we only support Xcode 6.2 right now, I had "Xcode 6.2.app" in my applications folder. I specified it in Xamarin studio as the iOS SDK location. You get a build error when you do this. You can see it looks like someone is manually concat a path rather then using Path.Combine

Error MT5309: Native linking error: clang: error: no such file or directory: '"/Applications/Xcode 6.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk"/System/Library/PrivateFrameworks/PlugInKit.framework/PlugInKit' (MT5309) (CoinFlipWatchKitExtension)
Comment 1 James Clancey 2015-04-10 15:12:17 UTC
To work around this, I had to remove the SDK location and rename the Xcode file to be Xcode.app inside of Applicaitons
Comment 2 Rolf Bjarne Kvinge [MSFT] 2015-04-13 03:44:39 UTC
This could be an issue with the space in the directory name.
Comment 3 Sebastien Pouliot 2015-04-13 14:54:09 UTC
or the quotes - that could break Path.Combine

Please attach a full build log (include `-v -v -v -v` in the Additional mtouch arguments) so we can be sure where this string originates (and the code path it followed).
Comment 4 Sebastien Pouliot 2016-06-09 00:12:43 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!