Bug 15696 - [MTVS]Unable to deploy iOS application on Mac Build Host machine through VS.
Summary: [MTVS]Unable to deploy iOS application on Mac Build Host machine through VS.
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.8.x
Hardware: PC Mac OS
: Highest blocker
Target Milestone: 1.8.x (VS2013)
Assignee: Vinicius Jarina
URL:
Depends on:
Blocks:
 
Reported: 2013-10-25 10:06 UTC by Saurabh
Modified: 2013-11-06 10:46 UTC (History)
8 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 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:
VERIFIED FIXED

Description Saurabh 2013-10-25 10:06:36 UTC

    
Comment 1 Saurabh 2013-10-25 10:22:55 UTC
[Condition] VS is connected and Paired with Mac Build Host

Step to reproduce:
1. Open VS 
2. Create any iOS application 
3. Debug the application

Actual result:
Observe that user is not able to deploy iOS application on Mac Build Host Server.

Expected result:
User should able to deploy iOS application on Mac Build Host Server.

Screencast: http://screencast.com/t/r3uaR1bL5DL
Mac Server log: https://gist.github.com/AkhileshKumar01/d377a774b5d4269ff668
Debug output: https://gist.github.com/AkhileshKumar01/b13845d5cb46b1e1d51c

Environment info:
Windows 7 and 8
VS 2012/13
Xamarin.iOS_Setup-1.8.120.0
Mac Build Hist info:
Xamarin.iOS Version: 7.0.4.124 
Xcode 5.0.1 (3335.6)
Comment 2 dean.ellis 2013-10-28 07:31:05 UTC
You are getting this error

 The directory name 'Resources' is reserved and cannot be used for BundleResource files. 

Because you have a Resources directory in your project with files that have a 'BundledResource' action. 

On iOS the Resources word is reserved and cannot be used. So you will need to rename that folder to something else or remove it completely. 

Can you try the same project in Xamarin Studio and see if you get the same results?
Comment 3 Saurabh 2013-10-28 09:19:40 UTC
Today, we have checked this issue with latest builds:

MTVS 1.8.170
X.iOS 7.0.4.1.3.8

Now, we are able to to deploy application on Mac build host server successfully. And also we are able to deploy iOS application on Mac using XS.

Hence, closing this issue.
Comment 4 PJ 2013-10-28 09:39:01 UTC
Dean - comment 2 seems completely antithetical to the way Xamarin Studio does things. It creates a Resources directory, and sets the build action of files included in that folder as BundleResource. 

Is XS wrong? We should almost certainly support whatever the default XS behavior is for new projects, and right now that's using Resouces and BundleResource. CC Jeff to discuss.
Comment 5 Jeffrey Stedfast 2013-11-06 09:30:06 UTC
What PJ said is correct. The Resources folder is treated specially in Xamarin Studio. Essetially, the "Resources/" prefix is stripped off when copying files over to the app bundle at build time.
Comment 6 Nischal 2013-11-06 10:46:06 UTC
Today we have checked this issue on following builds :

VS 2013 
MTVS 1.8.294
XS 4.1.13 (build 27)
MT 7.0.4.175

Now, we are able to to deploy application on Mac build host server successfully. And also we are able to deploy iOS application on Mac using XS.

Hence closing this issue.