Bug 57649 - "Show IPA on Build Server" button is always enabled, even when there is no IPA.
Summary: "Show IPA on Build Server" button is always enabled, even when there is no IPA.
Status: RESOLVED ANSWERED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: unspecified
Hardware: Macintosh Mac OS
: Normal enhancement
Target Milestone: Future Cycle
Assignee: Emanuel
URL:
Depends on:
Blocks:
 
Reported: 2017-06-21 02:11 UTC by Pierce Boggan [MSFT]
Modified: 2017-11-03 17:28 UTC (History)
10 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:
RESOLVED ANSWERED

Description Pierce Boggan [MSFT] 2017-06-21 02:11:24 UTC
# Steps to reproduce
1. File -> New -> iOS app.
2. Connect to a Mac build host.

# Expected behavior
"Show IPA on Build Server" button is disabled, as I have yet to build an IPA.

# Actual behavior
"Show IPA on Build Server" button is enabled.

From a consistency standpoint, this approach makes the most sense as it ensures _every_ time this button is enabled in the toolbar, there is an IPA available to me as a developer. @Jon Goldberger and I have also discussed a user story where a user is simply booting up Visual Studio to open the IPA directory (because they don't know it), but the downside to this is that it could cause issues with developers a.) thinking they have a new IPA in this location, when it could be quite old, and b.) the IPA in this path is equivalent to what I would get if I built the app I've loaded in Visual Studio.

An alternative approach is to keep the button enabled _always_, but let the user know via a dialog/message that the IPA in this location might be different than the iOS app they have loaded in Visual Studio. If the user hasn't yet built the app in Visual Studio, but attempts to "Show IPA", show a dialog and pop open the directory on the build host. If the user has built the app, simply pop open the directory on the build host.

# Test environment (full version information)
Environment Info: https://gist.github.com/pierceboggan/f1ffd9e92b04565eb494d4138e1a034a
Comment 1 mag@xamarin.com 2017-06-28 20:29:28 UTC
Assigning to Emanuel for confirmation given that I don't observe the mentioned behavior. I can see the button disabled if I don't have an IPA
Comment 2 Jimmy [MSFT] 2017-11-03 17:28:13 UTC
I didn't see the button always enabled, but it was automatically enabled when the "Build IPA" option was enabled, even before an IPA was built. Will track this further on VSTS: https://devdiv.visualstudio.com/DevDiv/XamarinVS/_workitems/edit/519662