Bug 29650 - Provisioning and versioning seems to have broken
Summary: Provisioning and versioning seems to have broken
Status: RESOLVED ANSWERED
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: XI 8.10
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-05-01 09:56 UTC by Paul Johnson
Modified: 2015-05-05 04:47 UTC (History)
2 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 ANSWERED

Description Paul Johnson 2015-05-01 09:56:38 UTC
Under the previous version of Xam.iOS (8.9.3), I could build my app without an issue. I still can, but those previously allowed to run the app with a debug profile seem to now be locked out (they get the "you don't have the correct profile" error. The version number system seems to have also messed up.

Previously, the version would be 2501 with the build number being 2.0.111. This would produce a debug version with the filename myapp-2.0.111.ipa. It now produces an app called myapp-2501.

As 8.10 is now in stable, I cannot revert back down and cannot deploy the debug version to testers

=== Xamarin Studio ===

Version 5.9 (build 431)
Installation UUID: 728e2a5d-c6a2-4d84-a931-ee64cb78694c
Runtime:
	Mono 4.0.0 ((detached/d136b79)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400000143

=== Apple Developer Tools ===

Xcode 6.3.1 (7703)
Build 6D1002

=== Xamarin.iOS ===

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

=== Xamarin.Android ===

Version: 5.1.0.115 (Business Edition)
Android SDK: /Users/Paul/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.8.0_20-ea"
Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b21)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b20, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.0.0.262 (Business Edition)

=== Build Information ===

Release ID: 509000431
Git revision: 7560726734fc7267de2fa9abed2509968deefaa8
Build date: 2015-04-17 19:25:48-04
Xamarin addins: 2e772c734ab3148054eae7bf8949f340fdeb5e5e

=== Operating System ===

Mac OS X 10.10.4
Darwin Pauls-MacBook-Pro.local 14.4.0 Darwin Kernel Version 14.4.0
    Sun Apr 19 20:30:19 PDT 2015
    root:xnu-2782.30.2~2/RELEASE_X86_64 x86_64
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-05-01 10:05:18 UTC
@Jeff, can you have look?

@Paul, you can download older packages from your Xamarin Store account (https://store.xamarin.com/account/my/subscription/downloads).
Comment 2 Paul Johnson 2015-05-01 10:08:06 UTC
@Rolf - thanks mate - need to put that on the production box at home
Comment 3 Jeffrey Stedfast 2015-05-01 10:33:44 UTC
What is your CFBundleShortVersionString value? That's the value it uses.

The Version textbox in the Info.plist editor maps to CFBundleShortVersionString while the Build textbox maps to CFBundleVersion
Comment 4 Paul Johnson 2015-05-02 21:26:48 UTC
Ah, in that case there has been a change between the last stable and current stable as the old version used CFBundleVersion for the build while the new uses the CFBundleShortVersionString

	<key>MinimumOSVersion</key>
	<string>8.0</string>
	<key>UIStatusBarHidden</key>
	<true/>
	<key>CFBundleShortVersionString</key>
	<string>2.501</string>
	<key>CFBundleDisplayName</key>
	<string>FTrack Live</string>
	<key>CFBundleVersion</key>
	<string>2.0.112</string>
	<key>CFBundleIdentifier</key>
	<string>Farmtrack</string>

(this is from my info.plist file)

Question remains though, why with a developer profile for debug that contains a number of devices can the other devices not run an app built with the current Xam.iOS (they give the not correctly provisioned error). The profile worked with 8.9
Comment 5 Jeffrey Stedfast 2015-05-04 15:03:46 UTC
That's a question for Rolf...
Comment 6 Rolf Bjarne Kvinge [MSFT] 2015-05-05 04:47:42 UTC
@Paul, you should be able to run the app on all devices included in the provisioning profile. Are you using Xamarin Studio to deploy to these other devices, or some other means? Exactly where do you see this error?