Skip to main content
gussa1520
Participant
September 26, 2014
Question

How do I set CFBundleVersion in AIR

  • September 26, 2014
  • 2 replies
  • 1365 views

Hello, I am making an AIR app for my client.

When my client upload the iTunes Connect to submit their app again( because it have some error at the first time), they received an error. It said

--

ERROR ITMS-9000: "Redundant Binary Upload. There already exists a binary upload with build version '3.0.2' for train '3.0.2'

--

I tried to resolve this and search the web. I found the solution

--

ERROR ITMS-9000: “Redundant Binary Upload. There already exists a binary upload with build version '1.0' for train '1.0'”

http://stackoverflow.com/questions/25680604/error-itms-9000-redundant-binary-upload-there-already-exists-a-binary-upload

--

The solution is to change the "build" number of app not the "version" number.

We can change the version number but cannot change the build number with application settings xml file in AIR development.

versionNumber property in application xml is assigned to both CFBundleShortVersionString and CFBundleVersion in Info.plist

CFBundleShortVersionString is used for version number

CFBundleVersion is used for build number

If I set versionNumber, packager set both CFBundleShortVersionString and CFBundleVersion automatically. I tried versionLabel property in application settings xml, but it is no mean. I also tried to this.

rename .ipa file to .zip file

unzip it

set CFBundleVersion to other number in Info.plist in Payload/app.app directory

zip it again

and upload it to iTunes connect by application loader

but application loader said

--

ERROR ITMS-9000: "Missing or invalid signature. The bundle 'xxxxxx.xxxxx.xxxx.appname' at bundle path 'Payload/appname.app' is not signed using an Apple submission certificate'

--

How can I set the CFBundleVersion?

I found the same problem here in Adobe's discussion.

How do I set the CFBundleVersion value of my App in Flex

https://forums.adobe.com/thread/1036926?start=0&tstart=0

But unfortunately  it had not been resolved.

I want to change only the build number but the version number if it is possible.

Thanks in advance.

This topic has been closed for replies.

2 replies

gussa1520
gussa1520Author
Participant
September 27, 2014

Finally I found the solution. But it takes too long time to fix it manually. So I made shell script and upload it in github.

KinkumaDesign/SetCFBundleVersionInAdobeAIR

https://github.com/KinkumaDesign/SetCFBundleVersionInAdobeAIR

Inspiring
September 27, 2014

I'm joining this conversation because I need to know also.