Bug 29822

Summary: [XVS.iOS 3.11] Setting "Build" number different from "Version" number causes IPA not to be copied to Windows
Product: Visual Studio Extensions Reporter: Brendan Zagaeski (Xamarin Team, assistant) <brendan.zagaeski>
Component: iOSAssignee: Bugzilla <bugzilla>
Status: VERIFIED FIXED    
Severity: normal CC: joe, kzu, mohitk, mono-bugs+bugzilla
Priority: ---    
Version: 3.11 (C5)   
Target Milestone: 3.11.1 (C5SR1)   
Hardware: PC   
OS: Windows   
Tags: Is this bug a regression?: ---
Last known good build:
Attachments: Test case

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.