Beenden
  • Globale Community
    • Sprache:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Gesperrt

How do I set CFBundleVersion in AIR

Neu hier ,
Sep 26, 2014 Sep 26, 2014

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-ex...

--

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.

THEMEN
Entwicklung
1.3K
Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Entdecker ,
Sep 27, 2014 Sep 27, 2014

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

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Neu hier ,
Sep 27, 2014 Sep 27, 2014
AKTUELL

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

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines