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 <da...@paperetto.com>
Data: Fri, 9 Jan 2015 16:51:47 -0800
A: Leonardo <mac.iphone....@gmail.com>
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 <mac.iphone....@gmail.com> 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 (Cocoa-dev@lists.apple.com <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:
> https://lists.apple.com/mailman/options/cocoa-dev/websites%40paperetto.com
> 
> This email sent to websi...@paperetto.com <javascript:;>


-- 
David Brittain
da...@paperetto.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to