Cannot upload to App store - invalid bundle

Hi all,

All the programming done, bugs gone, images prettified, tested on simulator, tested on devices, etc etc. App builds beautifully on Simulator and using development profile.

Also builds with no errors on distribution profile but…

When I use app loader to upload the package to the store I get the same message that previous peoples have done re:

“Unable to authenticate the package”

ERROR ITMS-9000 “This bundle is invalid” “The file is not a valid application bundle” at SoftwareAssets/SoftwareAsset (MZrmspSoftWareAssetPackage).

I have read previous similar queries from other developers here and it turned out to be the name of the asset folder inside the app. AFAIK mine are ok. I have a folder images for images and sound for sound. I also have a folder called “example files” that I use to keep my example files in. (Surely it couldn’t be that!)

Ive rebuilt all my certificates from scratch, but to no avail. Any ideas.

Xcode 5.02

Corona SDK 2013 2076 (2013.07.15)

Is there something else I need to do for distribution bundle that’s not in the normal development bundle?

I will try a version with my example files hanging around in the main directory, but I don’t like untidiness.

comments gratefully received.

Thanks in advance

Martin

Well, I never…

It was the example file folder. I removed all the code and just left the example files sitting amongst the icons and all was ok. App still works, just untidy. Any ideas how to make it tidy again?

Martin

I am having the same trouble. There is no example file folder; I don’t know what you are talking about there. It just keeps telling me the bundle id is invalid. I tried starting over and now I have two projects that I can’t upload.

Hi @martin.kilkie,

Was your folder (that you removed) named with a space, as in “example folder”? @zentemple, do you have a folder with a space or other non-standard characters in it?

Brent

The zip file has no spaces in it. It is in a folder named Bluebear Lite. The zip file is called BluebearFreeVersion.zip. I am not uploading folders, just the zip file.

So inside the bundle, you have folders with spaces? This may be the issue.

If by bundle you mean the zip file that Corona created from, I assume, my Build folder, no. No spaces.

I get these kind of errors:

“Unable to authenticat the package: 773896520.itmsp”

"ERROR ITMS-9000: This bundle is invalid. The bundle identifier is already in use by a different software package. at SoftwareAssets (MZItmspSoftwareAssetPackage)

ERROR ITMS-9000: The bundle identifier cannot be changed from the current value, ‘com.leolabook.bluebearlite’. If you want to change your bundle identifier, you will need to create a new application in iTunes Connect at SoftwareAssets (MZItmspSoftwareAssetPackage)

To clarify, before you compile the build, do you have folders in the project with spaces or non-standard characters? For example:

MyCoronaApp

–main.lua

–My Art Assets

----image1.png

----My Characters

------character1.png

no space, no non-standard characters. There are dashes and underscores in individual files but that was not a problem in the full version.

Can you bring up your terminal, change directory to the folder where your source code is and issue the command:

ls -la

and post the results of that command?

I’m not a terminal guy so simple things like…can’t figure the path. What is it you are trying to see? Perhaps there is another way.

I am on a mac. The path to the build is: /Documents/Sites/Leola Book/Kwik Movies/bluebearlite/build

I thought zen said “It is in a folder named Bluebear Lite.”

Which is a folder with a space in the name, which would cause it to break(?) If that’s the root folder, other filename issues would be case-sensitivity (upper/lower case names), hyphens-dashes, apostrophes, ANY punctuation would likely cause a problem, spaces as brent said…  (any of these in folder or filenames will cause a problem).

Spaces are one of those things that work for some people and not others. 

Any way, @zentemple, you really need to get comfortable with the command line, at least enough to change directories and get file listings.  Finder hides things and I’m sure there is a way to make it show hidden items, but even then it likes to hide some file extensions. 

Is this:   /Documents/Sites/Leola Book/Kwik Movies/bluebearlite/

The folder with the source and you are putting a build folder inside the project folder (where main.lua lives)?

You cannot do this.  It will take your last build and include it inside the current build and Apple cannot handle having an app inside an app.  If this is the case, remove the build folder and save your build’s somewhere else.   I made a folder off of my home directory called AppBuilds (/Users/rmiracle/AppBuilds) and that’s where I have Corona drop all of it’s builds into. 

Rob

I don’t know what you mean by “you cannot do this”. But I think you are saying to move the entire folder somewhere else. Here is that screenshot: http://i.imgur.com/ncKIvwa.jpg

Can you get a screen shot of the folder where your main.lua lives?  What is that path?

Do you have any other live apps? Are you using a unique AppID/BundleID for this app that’s different than anything else you’ve published?

http://i.imgur.com/N2f6NMZ.jpg

I have published the long version, without any problems. You can see the folder above the bluebearlite folder. Here is the info on itunesconnect:

Identifiers

SKUbblite

Bundle IDcom.leolabook.bluebearlite

Apple ID773896520

TypeiOS App

Default LanguageEnglish

You cannot have that build folder there.  Remove it and have Corona SDK output the build to some other place on your computer.

Rob

The build from Corona is elsewhere, not in the project folder. The file that I am uploading with the App Uploader is here:

http://i.imgur.com/F9LCO3K.png

You have me quite confused about where your files are.  The one screen shot seems to say your build folder is in your source folder, the second one it doesn’t look that way.   Can you do a screen shot of your Build screen??

Rob

The original project files are are under Kwik Movies/bluebearlite. These are the files that Kwik created, including the “build” folder. Kwik publishes this to Corona. Corona uses this to “Build” the final zip file which is kept in another folder at Bluebear/Apps Icons and Builds/Bluebear Lite/ where the .zip file, which I am trying to upload using App Uploader, is called BluebearFreeVersion.zip.

I hope this helps. Thank you for your effort to solve this problem.