This bundle is invalid. It does not contain a .app bundle, which must be a readable directory

No I am not, I am building it to the desktop. I am using a hackintosh with a fully paid copy of Mac OS X.

I actually went out, bought a real physical MacBook with the latest XCode. Ran Corona, build my application and is still getting the problem. Any HELP would be greatly appreciated. 

Can you build one of the sample apps?

I think you’ve misunderstood my situation. I stated “I uploaded a different app 2 days prior to this and it worked like magic”, so yes, I can build sample apps, run them on my device under my developer certificate. To also answer your question, that has already been stated previously. Sample apps can be build perfectly and also be INSTALLED on test device. You guys seems to love leaving your supporters in the dark. 

I apologize if I offended you, but you didn’t mention anything about trying our sample apps.  You said you uploaded a couple of apps a few days ago and then since you get this error.  I’m trying to isolate if it’s something in your code or your setup.  By having you try to put a sample app through the process eliminates your project from the equation. 

What version of Xcode are you running? 

Can you open the terminal and change directory to the folder where the .app file is and try to do an “ls -l” command and post the results here?

I’m sorry, my description originally was bad now that I’ve read it over and couple of times. Here is a completely detailed debug list I’ve tried:

I am currently running:

xCode 4.6.3

Application uploader 2.8

Corona 2013.8.28

-I made sure the bundle IDs matched Apple standards.

-I made sure that the correct ID was set in the provision profile and iTune Connect’s app upload console

-I have mad 100+ successful build so far, of the same code and it works perfectly when I built for development and installed on our iPhone and iPod touch, but when it gets rebuilt with the same code for distribution, it gets this message:

     all 60+ build with the distribution provisional profile got this error:

              Apple’s web service operation was not successful

             Unable to authenticate the package: xxxxxxxxx.itmsp

             ERROR ITMS-9000 “This bundle is invalid. It does not contain a .app bundle, which must be a readable directory.” at 

             SoftwareAssets/SoftwareAsset (MZitmspSoftAssetPackage)

Every single time.

-I have tried adding CFB ID

-Tried building to: desktop, same folder, different folder

-Tried making new bundle IDs

So you see, I’ve tried to done A LOT to try and debug this, but let me know if there’s something I’ve missed.

I hope I am doing this right:

Admins-MacBook:~ admin$ dc ~/Desktop

Admins-MacBook:~ admin$ dc ~/Desktop/Devs

Admins-MacBook:~ admin$ dc ~/Desktop/Devs/Baby’s First App

> ls -l

> dc ~/Desktop/Devs/Baby’s First App

ls -l

Could not open file /Users/admin/Desktop/Devs/Babys First App

ls -l

dc ~/Desktop/Devs/Babys: No such file or directory

total 0

drwx------+  5 admin  staff   170 Oct  4 21:59 Desktop

drwx------+  5 admin  staff   170 Oct  4 21:51 Documents

drwx------+ 12 admin  staff   408 Oct  4 22:13 Downloads

drwx------@ 39 admin  staff  1326 Oct  4 21:53 Library

drwx------+  3 admin  staff   102 Jul 22 10:52 Movies

drwx------+  4 admin  staff   136 Oct  4 19:28 Music

drwx------+  4 admin  staff   136 Jul 22 10:52 Pictures

drwxr-xr-x+  5 admin  staff   170 Jul 22 10:52 Public

cd not dc.

Last login: Sat Oct  5 16:53:19 on ttys000

Admins-MacBook:~ admin$ cd ~/Desktop/Devs/baby

Admins-MacBook:baby admin$ ls -l

total 5672

drwxr-xr-x  29 admin  staff      986 Oct  5 11:15 BabyFirstAquarium.app

-rw-r–r--   1 admin  staff  2902837 Oct  5 11:15 BabyFirstAquarium.zip

Admins-MacBook:baby admin$ 

now do a “cd BabyFirstAquarium.app” and do an “ls -l”.  From here it looks like a proper directory as I would expect.  Let’s see what’s inside there.

Last login: Sat Oct  5 16:56:24 on ttys000

Admins-MacBook:~ admin$ cd ~/Desktop/Devs/baby

Admins-MacBook:baby admin$ ls -l

total 5672

drwxr-xr-x  29 admin  staff      986 Oct  5 11:15 BabyFirstAquarium.app

-rw-r–r--   1 admin  staff  2902837 Oct  5 11:15 BabyFirstAquarium.zip

Admins-MacBook:baby admin$ cd BabyFirstAquarium.app

Admins-MacBook:BabyFirstAquarium.app admin$ ls -l

total 5128

-rwxr-xr-x@  1 admin  staff  2259424 Oct  5 11:15 BabyFirstAquarium

drwxr-xr-x   7 admin  staff      238 Oct  5 11:15 CoronaResources.bundle

-rw-r–r--@  1 admin  staff    65022 Aug 28 17:31 CoronaSDK3rdPartyLicenses.txt

-rw-r–r--   1 admin  staff     7927 Oct  5 11:15 Default-568h@2x.png

-rw-r–r--   1 admin  staff     4636 Oct  5 11:15 Default-Portrait.png

-rw-r–r--   1 admin  staff     1464 Oct  5 11:15 Default.png

drwxr-xr-x   8 admin  staff      272 Oct  5 11:15 FacebookSDKResources.bundle

-rw-r–r--   1 admin  staff    50115 Oct  5 11:15 Icon-150.png

-rw-r–r--   1 admin  staff     7269 Oct  5 11:15 Icon-72.png

-rw-r–r--   1 admin  staff    15289 Oct  5 11:15 Icon-72@2x.png

-rw-r–r--   1 admin  staff     7269 Oct  5 11:15 Icon-hdpi.png

-rw-r–r--   1 admin  staff     2722 Oct  5 11:15 Icon-ldpi.png

-rw-r–r--   1 admin  staff     4043 Oct  5 11:15 Icon-mdpi.png

-rw-r–r--   1 admin  staff     9793 Oct  5 11:15 Icon-xhdpi.png

-rw-r–r--   1 admin  staff    11267 Oct  5 11:15 Icon.png

-rw-r–r--   1 admin  staff    11706 Oct  5 11:15 Icon@2x.png

-rw-------   1 admin  staff     2009 Oct  5 11:15 Info.plist

-rw-r–r--@  1 admin  staff     1354 Aug 28 17:31 MainWindow-iPad.nib

-rw-r–r--@  1 admin  staff     1312 Aug 28 17:31 MainWindow.nib

-rw-r–r--@  1 admin  staff        8 Aug 28 17:31 PkgInfo

-rw-r–r--@  1 admin  staff      150 Aug 28 17:31 ResourceRules.plist

drwxr-xr-x  15 admin  staff      510 Oct  5 11:15 Resources

drwxr-xr-x   5 admin  staff      170 Oct  5 11:15 Sound

drwxr-xr-x   3 admin  staff      102 Oct  5 11:15 _CodeSignature

-rw-r–r--@  1 admin  staff     7326 Oct  5 11:15 embedded.mobileprovision

-rw-r–r--   1 admin  staff   105785 Oct  5 11:15 icon_1024.png

-rw-r–r--@  1 admin  staff    11220 Oct  5 11:15 resource.car

Admins-MacBook:BabyFirstAquarium.app admin$ 

I like to keep my assets organized, so they are in “resources” for images and “sounds” for sounds.

I believe “resources” is a folder that Apple doesn’t like us using.   Can you rename the folder to either “assets” or “images” and try building again?  You will of course to have update your code. 

It WORKS! THANK YOU SO MUCH! For the love of god. Apple’s rules and regulations are a pain.

Congrats!

 I’m having a very similar problem.  Please see error message below: 

Apple’s web service operation was not successful

Unable to authenticate the package: xxxxxxxxx.itmsp

ERROR ITMS-9000 “The bundle ‘com.miteegames.XXXXX’ at bundle path ‘XXXXX.app’ is not signed using an Apple submission certificate.” at SoftwareAssets/SoftwareAsset (MZitmspSoftAssetPackage)

It sounds like your app is not singed with a distribution profile.  Apple has three profiles:  Developer, Distribution for the store, and distribution via AdHoc.  You can only upload an app to the store that’s been signed with a Provisioning Profile that is designated for the store.

Rob

 I’m having a very similar problem.  Please see error message below: 

Apple’s web service operation was not successful

Unable to authenticate the package: xxxxxxxxx.itmsp

ERROR ITMS-9000 “The bundle ‘com.miteegames.XXXXX’ at bundle path ‘XXXXX.app’ is not signed using an Apple submission certificate.” at SoftwareAssets/SoftwareAsset (MZitmspSoftAssetPackage)

It sounds like your app is not singed with a distribution profile.  Apple has three profiles:  Developer, Distribution for the store, and distribution via AdHoc.  You can only upload an app to the store that’s been signed with a Provisioning Profile that is designated for the store.

Rob

I am getting the same error message as @ime. I am DEFINITELY using a Distribution certificate and provisioning profile, yet I am still receiving the error. 

In addition, I am receiving the following error: 

“Unable to authenticate the package: *********.itmsp”

Any thoughts?