Bug 29822 - [XVS.iOS 3.11] Setting "Build" number different from "Version" number causes IPA not to be copied to Windows
Summary: [XVS.iOS 3.11] Setting "Build" number different from "Version" number causes ...
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.11 (C5)
Hardware: PC Windows
: --- normal
Target Milestone: 3.11.1 (C5SR1)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-05-06 23:08 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2015-05-08 07:02 UTC (History)
4 users (show)

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


Attachments
Test case (12.10 KB, application/zip)
2015-05-06 23:08 UTC, Brendan Zagaeski (Xamarin Team, assistant)
Details


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 Brendan Zagaeski (Xamarin Team, assistant) 2015-05-06 23:08:47 UTC
Created attachment 11106 [details]
Test case

[XVS.iOS 3.11] Setting "Build" number different from "Version" number causes IPA not to be copied to Windows


At first glance, this bug sounds closely related to bug 29703, but bug 29703 is _not_ fixed on XVS 3.11.507, while this bug _is_ fixed on XVS 3.11.507.

To take a guess, this might have been fixed by the fix for Bug 24416 (which appears also to have fixed Bug 24417) or the fix for Bug 28979.



I am filing this bug:

A. To allow QA to do a verification pass on this specific issue for the Cycle 5, Service Release 1 milestone.

and

B. To help distinguish among the several regressions related to IPAs on XVS 3.11.




## Regression status

GOOD: XVS 3.9.547  (20fd2f0) + Xamarin.iOS 8.9.1.3    (f7736a4)
BAD:  XVS 3.11.445 (5061f92) + Xamarin.iOS 8.10.0.267 (6481535)
GOOD: XVS 3.11.507 (dfac85e) + Xamarin.iOS 8.10.1.24  (1b48440)




## Steps to reproduce

1. Open the attached test case in Visual Studio. (The test case is just a template project where IPA builds have been switched on for the AppStore configuration, and the "iOS Application -> Build" number has been changed to 1.0.3)

2. Ensure VS is attached to the build host.

3. Build the app in the "AppStore|iPhone" configuration.

4. List the size of the IPA file that is copied over on the Windows side:
> $ dir UnifiedSingleViewIphone1\bin\iPhone\AppStore\*.ipa



## Actual result (as seen on 3.11.445)

> $ dir UnifiedSingleViewIphone1\bin\iPhone\AppStore\*.ipa
...
> 05/06/2015  10:41 PM                 0 UnifiedSingleViewIphone1-1.0.ipa



## _Acceptable_ result for this _specific_ bug (as seen on 3.11.507) 

> $ dir UnifiedSingleViewIphone1\bin\iPhone\AppStore\*.ipa
...
> 05/06/2015  10:48 PM         2,916,429 UnifiedSingleViewIphone1-1.0.ipa


(Note: for _this_ bug the important thing is the file _size_. As you can see, the file _name_ is different from the original "Expected result", but that issue is the topic of bug 29703, so we can ignore that for this _specific_ bug.)




## Expected result (as seen on 3.9.547)

> $ dir UnifiedSingleViewIphone1\bin\iPhone\AppStore\*.ipa
...
> 05/06/2015  10:22 PM         2,370,113 UnifiedSingleViewIphone1-1.0.3.ipa



## Version information

### Windows 8.1 64-bit, VMWare Fusion 6.0.6 (2684343)

Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.6.00057

Xamarin   3.11.445.0 (5061f92)
Xamarin.Android   5.1.0.115 (d23da369e436488f38c8ab8fe8a9ae7d9ea5256b)
Xamarin.iOS   8.10.0.0 (7741cc495ab0baf04ff0405d0604bc27f0ecae2e)


### OS X 10.9.5, MacBook Air

Xamarin.iOS 8.10.0.267 (Business Edition)
Hash: 6481535
Branch: master
Build date: 2015-04-27 04:38:13-0400

Xcode 6.2 (6776), Build 6C131e

Mono 4.0.0 (detached/d136b79)
Comment 1 Mohit Kheterpal 2015-05-08 07:02:41 UTC
I have checked this issue by setting different build number and version no. in monotouch watchkitcatalog sample and observed that ipa file is generated on widows machine as well as shown in screencast : http://screencast.com/t/HLdkIBJ0

Using : Xamarin.VisualStudio_3.11.544_ce43650cee4a4f67154852e7d02cf8e5eff07584.msi

Hence closing this issue.