Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Submission to app store unable to find metadata.xml
Started by farid.iberraken Sep 19 2013 03:50 PM

55 replies to this topic
[TOPIC CONTROLS]
Page 1 of 3 1 2 3
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

farid.iberraken

[GLOBAL: userInfoPane.html]
farid.iberraken
  • Observer

  • 1 posts
  • Corona SDK

Hi all,

 

I could not upload my app because I miss the metadata.xml file in the zip file produced after building in Corona. Can somebody explain me what I need to do?

 

Also, if I open Application Loader, it cannot select the zip file.

 

Thx,

Farid



[TOPIC: post.html]
#2

Nix Hydra

[GLOBAL: userInfoPane.html]
Nix Hydra
  • Observer

  • 4 posts
  • Enterprise

We are also receiving this error now.  This happens after pressing the button to submit to Apple when building with our distribution profile.  We are building for iOS SDK 6.1 with Corona v2013.1202 and have Xcode v5.0 with Application Loader v2.9.  We have never experienced this issue before and have submitted builds as recently as 3-4 weeks ago (note that was before updating to Corona 1202 and Xcode 5.0).  We need to submit a new build immediately so any information on this would be greatly appreciated.

 

Actual Error:

Metadata Not Found

 

There was a problem opening the package <file path>/<gamename>.zip

 

Unable to find metadata.xml at location: <file path>/<gamename>.zip



[TOPIC: post.html]
#3

staytoooned

[GLOBAL: userInfoPane.html]
staytoooned
  • Contributor

  • 198 posts
  • Corona SDK

I'm having the same exact problem here. I need to upload an update immediately. Also, is it safe to build with 7.0 beta?

 

Thanks.



[TOPIC: post.html]
#4

perrynewuser

[GLOBAL: userInfoPane.html]
perrynewuser
  • Observer

  • 3 posts
  • Corona SDK

Xcode 5.0 does indeed present the message however, it only does this if you launch the Application Loader from Corona using the  "Upload to App Store..." button that presents itself at the end of the device build if (and only if) you use a Store cert.  Pressing this seems to trigger the issue.  Just use Application Loader directly from Xcode for now while we figure out what the problem is.  Also, from my observation, it appears you can just ignore this error message anyway.

 

I uploaded a test binary via the "Deliver Your App" option in Xcode 5.0, and was able to submit a binary and did NOT see any subsequent messaging related to missing metadata.

 

You cannot build for distribution using a beta SDK (to comply with Apple rules) so stick with 6.1 for now.  There's no functional difference between the two as far as Corona apps are concerned.



[TOPIC: post.html]
#5

brainofsteel

[GLOBAL: userInfoPane.html]
brainofsteel
  • Enthusiast

  • 44 posts
  • Corona SDK

I had this same problem but discovered that I had simply forgotten to go to the app's iTunes Connect page and hit "Ready to Upload Binary". Once I activated that, it went through without a hitch.



[TOPIC: post.html]
#6

duo.imagination

[GLOBAL: userInfoPane.html]
duo.imagination
  • Enthusiast

  • 37 posts
  • Corona SDK

I had this same problem but discovered that I had simply forgotten to go to the app's iTunes Connect page and hit "Ready to Upload Binary". Once I activated that, it went through without a hitch.

 

 

But if you have not hit "Ready to Upload Binary", you wouldn't be able to select the application from the Application Loader drop down. 



[TOPIC: post.html]
#7

noeguer

[GLOBAL: userInfoPane.html]
noeguer
  • Contributor

  • 265 posts
  • Corona SDK

Same problem corona sdk 1228 osx 10.8.5



[TOPIC: post.html]
#8

joe528

[GLOBAL: userInfoPane.html]
joe528
  • Contributor

  • 800 posts
  • Corona SDK

Same problem here, too. (I did click "Ready to Upload Binary")

 

Should I use XCode or igonre the error? It seems there is no specific answer for this problem yet? 



[TOPIC: post.html]
#9

Nix Hydra

[GLOBAL: userInfoPane.html]
Nix Hydra
  • Observer

  • 4 posts
  • Enterprise

We successfully uploaded our last build a while ago by just ignoring the error and opening Application Loader right through Xcode (Xcode -> Open Developer Tool -> Application Loader).  The package that was created during the build process was able to be submitted without a problem. It has since been approved and live for a while now without any known issues.

 

Note:  It is still a little nerve racking though anytime you are submitting a package that has previously told you that there was an error with a missing file.



[TOPIC: post.html]
#10

mkelly

[GLOBAL: userInfoPane.html]
mkelly
  • Contributor

  • 124 posts
  • Corona SDK

I got the first error also. when I tried to go through the Application Loader, I got: ITMS-9000 invalid routing app setting



[TOPIC: post.html]
#11

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,682 posts
  • Enterprise

Just run Application Loader directly.  Click on the Spotlight magnifying class at the top right, type in Application Loader and then click on the one that says "Application" and it will launch it for you.  Then you can send your app without this error.  We are looking into fixing it, but this is the work-around for now.



[TOPIC: post.html]
#12

mkelly

[GLOBAL: userInfoPane.html]
mkelly
  • Contributor

  • 124 posts
  • Corona SDK

I got that error inside the Application Loader directly several times, in fact. my clients are freaking out!



[TOPIC: post.html]
#13

mkelly

[GLOBAL: userInfoPane.html]
mkelly
  • Contributor

  • 124 posts
  • Corona SDK

The full message: ERROR ITMS-9000: "In valid routing app setting: To upload a routing app coverage file on iTunes Connect, you must define the app binary as a routing app." as SoftwareAssets/AoftwareAsset(MZItmspSoftareAsset Package)

 

says it's unable to Authenticate the package...



[TOPIC: post.html]
#14

mkelly

[GLOBAL: userInfoPane.html]
mkelly
  • Contributor

  • 124 posts
  • Corona SDK

it turned out to be the geojson file I was forced to upload (it was supposed to be optional, but it wouldn't let me move on until I uploaded one). I went back and deleted it and the app went up in a flash!!!!



[TOPIC: post.html]
#15

Perry Clarke

[GLOBAL: userInfoPane.html]
Perry Clarke
  • Moderator

  • 850 posts
  • Corona Staff

Not all app submission issues are the same thing.

 

The issue that started this forum thread is with the "Upload to App Store" button in the Simulator causing an error concerning "metadata.xml" when you've installed Xcode 5.0.  The interim solution is to not use that button in the Simulator but use Xcode directly.

 

Other App Store submission issues are almost certainly unrelated.  As we all know, you have to get your certs and provisioning lined up just so or Apple will throw an error.  If you get an error you haven't seen before, you'll have to go to search the web and try to find someone who has already figured it out or post a new thread here asking if anyone has seen the issue before.



[TOPIC: post.html]
#16

mkelly

[GLOBAL: userInfoPane.html]
mkelly
  • Contributor

  • 124 posts
  • Corona SDK

my original discovery of this issue came  from research when I tried to use the alternative method of publishing out of Corona when the App Uploader didn't work. I couldn't find any info on the issue I was having with the app uploader so I posted my dilemma here hoping to find someone who had encountered a similar problem because this project needed to be published right away. when I discovered the solution I shared it here as well. there may be others who have encountered this error, who were forced to upload geojson files as I was who will now know the solution. all of my other ducks were certainly in the proverbial row...I didn't know I was violating any forum rules by publishing my query here, and I'm sorry if I did. Desperate times, etc...



[TOPIC: post.html]
#17

Perry Clarke

[GLOBAL: userInfoPane.html]
Perry Clarke
  • Moderator

  • 850 posts
  • Corona Staff

Sorry, I didn't mean to imply you'd broken any "rules".  Actually, your reply to your own post came in while I was writing my response which makes the order of events look different to what it actually was.

 

My only aim was to stop people thinking that because someone once had an issue with the metadata.xml file then all app submission issues are caused by the same thing.  I'm glad you solved your problem and even gladder (?) that you posted the solution for others to see.



[TOPIC: post.html]
#18

mkelly

[GLOBAL: userInfoPane.html]
mkelly
  • Contributor

  • 124 posts
  • Corona SDK

gladder is a perfectly fine adjective, Perry. no worries... thanks!



[TOPIC: post.html]
#19

spjnowak

[GLOBAL: userInfoPane.html]
spjnowak
  • Contributor

  • 160 posts
  • Corona SDK

I am also getting the missing metadata.xml error message (and it then tells me the zip file is invalid) but even if I launch Application Loader directly I cannot select the build zip file as it is greyed out.

 

I've submitted loads of apps before so I know the ropes pretty well but this is my first submission since upgrading to Xcode 5.

 

Update: Solved my own problem! Being so used to Corona nicely taking you into Application Loader I forgot that you need you use Deliver Your App not Open Package ... when doing it manually!



[TOPIC: post.html]
#20

Lava Level

[GLOBAL: userInfoPane.html]
Lava Level
  • Contributor

  • 275 posts
  • Corona SDK

You forgot to mention how you solved your problem!

"but even if I launch Application Loader directly I cannot select the build zip file as it is greyed out."

 

because I can load the application loader myself.

 

I just can't select myBuild.zip, if I rename it to myBuild.ipa, still nothing happens.

very desperate. Help!




 



[TOPIC: post.html]
#21

mkelly

[GLOBAL: userInfoPane.html]
mkelly
  • Contributor

  • 124 posts
  • Corona SDK

it turned out to be the geojson file I was forced to upload (it was supposed to be optional, but it wouldn't let me move on until I uploaded one). I went back and deleted it and the app went up in a flash!!!!



[TOPIC: post.html]
#22

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,682 posts
  • Enterprise

@Lava Level, you don't upload .ipa's to iTunes Connect.  They expect a .zip file.  Run Application Loader and make sure you click on "Deliver your app".   Presuming you built the app with a distribution certificate and not an AdHoc one, it should guide you through uploading the .zip file.

 

Rob



[TOPIC: post.html]
#23

Lava Level

[GLOBAL: userInfoPane.html]
Lava Level
  • Contributor

  • 275 posts
  • Corona SDK

Hey thanks Rob. I spend a lot of time (prolly too much time) on polishing of my games so I am RARELY at this point...

 

I think the problem is, I needed to set it up the update in iTunesconnect first so that it would see my me@apple email and know I had a wide receiver on the other end waiting to accept the update build? Therefore let me select things.
 

For some reason I was thinking it would take me to iTunes connect to set that up. Setting that up now and trying again... will post my success...

Thanks!



[TOPIC: post.html]
#24

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,682 posts
  • Enterprise

Yes, iTunes Connect needs to be in "Ready to Upload Binary" for your app.  Once you update iTunes Connect, then Application Loader will see the app waiting and let you select it.

 

Rob



[TOPIC: post.html]
#25

Lava Level

[GLOBAL: userInfoPane.html]
Lava Level
  • Contributor

  • 275 posts
  • Corona SDK

That worked! Thanks Rob. You're still blasting out the jedi miracles. :)




[topic_controls]
Page 1 of 3 1 2 3
 
[/topic_controls]