Re: Changed CFBundleShortVersionString. Still old version in the downloaded MAS receipt.
Re: Changed CFBundleShortVersionString. Still old version in the downloaded MAS receipt.
- Subject: Re: Changed CFBundleShortVersionString. Still old version in the downloaded MAS receipt.
- From: Leonardo <email@hidden>
- Date: Sat, 10 Jan 2015 10:20:06 +0100
- Thread-topic: Changed CFBundleShortVersionString. Still old version in the downloaded MAS receipt.
How can I define the build number?
Is it a key-value object in the Info.plist file? Which key?
Also, the receipt always returns 1.1.2. Why?
Within the Info.plist there is no trace of the string 1.1.2.
It seems someway associated to the first version number that was defined
within the Info.plist file when I downloaded the first receipt.
Maybe the AppStore memorized that value. I¹m puzzled.
Regards
-- Leonardo
Da: David Brittain <email@hidden>
Data: Fri, 9 Jan 2015 16:51:47 -0800
A: Leonardo <email@hidden>
Oggetto: Re: Changed CFBundleShortVersionString. Still old version in the
downloaded MAS receipt.
I think you should be using build number and not version number.
On Friday, January 9, 2015, Leonardo <email@hidden> wrote:
> Hi, I properly compiled an OS X application. The CFBundleShortVersionString
> is 1.1.2.
> On iTunes Connect I have just created a new app, defined its metadata (that
> is even the version 1.1.2) but I didn't yet upload the build.
> On my machine at launch I fill with the SandBox Tester's name and password
> and I properly get the MAS receipt within my app bundle.
> Everything worked well. The version string from the receipt is 1.1.2, as
> well as the CFBundleShortVersionString in my app.
>
> Now I go on iTunes Connect and set the version to 1.1.3.
> On XCode I set CFBundleShortVersionString to 1.1.3.
> I clean the build and I rebuild it again.
> On my machine at launch I fill with the SandBox Tester's name and password
> and I get the same old MAS receipt with the version 1.1.2. Wrong!
> While my CFBundleShortVersionString is now 1.1.3. Result? The app exits.
>
> What did I forget?
> I double checked my app and there is not trace of the version 1.1.2.
> How does the MAC prepare the receipt? Which data does it use?
> The CFBundleShortVersionString from my app? The version from the iTunes
> Connect app page?
>
> I even reboot my machine. Same result. Any idea?
>
>
> Regards
> -- Leonardo
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden <javascript:;> )
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> <http://lists.apple.com>
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden <javascript:;>
--
David Brittain
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden