How to upload to the iOS app store - I guess I am nearly there

Hai there,

There are plenty of walk-throughs to upload your app to Google Play (which I nailed) but no suitable help to upload an app to the Apple app-store. I am searching for clues many hours now since I cannot believe somebody else did not run into the issues I am having right now. Unfortunately I have to ask you all… How to submit your app to the Apple iOS app-store.

I have set up the app at iTunes Connect and it now says: Waiting for upload… So I guess I am nearly there.

On my MacBook Air, I build the App in the simulator for ‘xCode Simulator’ or ‘Device’ and use my iPhone Developer Code Signing Identity. After hitting ‘Build’ my App is created on the desktop: EVViewer.app

I fire up xCode and directly go to the Application Loader (as I found somewhere), select my EVViewer app from the drop-down list and after pressing next, it says: Choose…

But what to choose? It refuses to select my Corona build of EVViewer.app (greyed out)

All tutorials speak of a .zip that should be created by the Corona SDK Built process but there is no zip!

I am using all latest versions of Corona and xCode.

I am clueless now and cannot find any documention…

Please help me to understand this last step… Or direct me to a proper guide…

Thanx, Regards, Marc

You need to build for device, not for xCode Simulator.

Hai Nick,

Tnanx for your reply, but nope, also when I build for ‘device’, the Application Loader cannot select the ‘EVViewer.app’. It is still greyed out.

The app can be installed through iTunes and works, so there seems nothing wrong with the EVViewer.app

When build for xCode simulator, xCode can not open the EVViewer.app… I guess I am missing something here too…

When looking at this walkthrough, I am stuck at step 5 - Uploading Binary

http://code.tutsplus.com/tutorials/how-to-submit-an-ios-app-to-the-app-store–mobile-16812

Hope you have some other clue.

Dear all,

After creating an IPA from my .app folder (creating a Payload folder, adding the .app folder and rename), I can select the EV-Viewer.ipa in the Application Loader. After hitting ‘send’, a few errors pop up…

1 Apple’s web service operation was not successful

2 Unable to authenticate the package: 853159071.itmsp

3 ERROR ITMS-9000 "Invalid Provisioning Profile. The provisioning profile included in the bundle EV-Viewer [Payload/EV-Viewer.app] is invalid. [Missing code-signing certificate.]…

My iPhone developer certificate is in my KeyChain. I downloaded the certificate from the Apple Developer website again and copied it into the EV-Viewer.app inside the EV-Viewer.IPA since it states: Missing certificate, but that does not help me. 

After some googling I found that you can sign a .app yourself from the terminal:

codesign -d --entitlements - /Users/Marc/Desktop/EV-Viewer.app

This outputs an XML file, but after creating an IPA again and try to upload, same message: Missing certificate

I guess you have to nail this once but I find it a strange thing that this process is this awkward!

What am I missing now?

Why is this process not straight forward from Corona?

This issue is nagging me for many hours now.

I am completely done with this… , I am going to bed…

Hoping somebody can help me and has my solution tomorrow and have my app send for review to Apple…

Reards, Marc

Hmm, 

My suggestion is check your Provisioning profile - and it’s a shot in the dark as i have not come across this problem, BUT in the recesses of my memory i seem to recall a “greyed out” situation. When loading an Adhoc build onto device - only one of the two files produced is available to select - therefore the potential opposite situation could result from trying to build a APP Store release but using an Adhoc Profile??

So have you selected your  App Store profile when building for Distribution - (code signing Authority)?

Thats my only suggestion - I’ve got no other ideas as to the problem!!!

T.

Hmmm, could not sleep…

So I had to create a distribution provisioning profile and production certificates at the Apple Developer website.

I Installed these on the Mac-book, reboot, started Corona and selected the distribution certificate when building the EV-Viewer app.

Only then the button ‘Upload to the app-store’ appeared and the upload process of the application loader starts working without issues. The missing Metadata.xml warning was giving me some worries but after googling and starting the application loader directly from xCode, it finally worked… The app is uploaded to the iOS app-store!

Why is this NOT documented anywhere? 

So: If you are stuck uploading your app to the app-store, request a distribution certificates and provisioning from https://developer.apple.com, install these on your mac by clicking on them. Reboot (perhaps not nescessary).

Select the distribution certificate when building for iOS and only then the zip is created that can be send to tha appstore with the Application Loader!

Costed me many hours to discover,hope this post will save somebody the same amount of frustration and time!

Regards, Marc

You need to build for device, not for xCode Simulator.

Hai Nick,

Tnanx for your reply, but nope, also when I build for ‘device’, the Application Loader cannot select the ‘EVViewer.app’. It is still greyed out.

The app can be installed through iTunes and works, so there seems nothing wrong with the EVViewer.app

When build for xCode simulator, xCode can not open the EVViewer.app… I guess I am missing something here too…

When looking at this walkthrough, I am stuck at step 5 - Uploading Binary

http://code.tutsplus.com/tutorials/how-to-submit-an-ios-app-to-the-app-store–mobile-16812

Hope you have some other clue.

Dear all,

After creating an IPA from my .app folder (creating a Payload folder, adding the .app folder and rename), I can select the EV-Viewer.ipa in the Application Loader. After hitting ‘send’, a few errors pop up…

1 Apple’s web service operation was not successful

2 Unable to authenticate the package: 853159071.itmsp

3 ERROR ITMS-9000 "Invalid Provisioning Profile. The provisioning profile included in the bundle EV-Viewer [Payload/EV-Viewer.app] is invalid. [Missing code-signing certificate.]…

My iPhone developer certificate is in my KeyChain. I downloaded the certificate from the Apple Developer website again and copied it into the EV-Viewer.app inside the EV-Viewer.IPA since it states: Missing certificate, but that does not help me. 

After some googling I found that you can sign a .app yourself from the terminal:

codesign -d --entitlements - /Users/Marc/Desktop/EV-Viewer.app

This outputs an XML file, but after creating an IPA again and try to upload, same message: Missing certificate

I guess you have to nail this once but I find it a strange thing that this process is this awkward!

What am I missing now?

Why is this process not straight forward from Corona?

This issue is nagging me for many hours now.

I am completely done with this… , I am going to bed…

Hoping somebody can help me and has my solution tomorrow and have my app send for review to Apple…

Reards, Marc

Hmm, 

My suggestion is check your Provisioning profile - and it’s a shot in the dark as i have not come across this problem, BUT in the recesses of my memory i seem to recall a “greyed out” situation. When loading an Adhoc build onto device - only one of the two files produced is available to select - therefore the potential opposite situation could result from trying to build a APP Store release but using an Adhoc Profile??

So have you selected your  App Store profile when building for Distribution - (code signing Authority)?

Thats my only suggestion - I’ve got no other ideas as to the problem!!!

T.

Hmmm, could not sleep…

So I had to create a distribution provisioning profile and production certificates at the Apple Developer website.

I Installed these on the Mac-book, reboot, started Corona and selected the distribution certificate when building the EV-Viewer app.

Only then the button ‘Upload to the app-store’ appeared and the upload process of the application loader starts working without issues. The missing Metadata.xml warning was giving me some worries but after googling and starting the application loader directly from xCode, it finally worked… The app is uploaded to the iOS app-store!

Why is this NOT documented anywhere? 

So: If you are stuck uploading your app to the app-store, request a distribution certificates and provisioning from https://developer.apple.com, install these on your mac by clicking on them. Reboot (perhaps not nescessary).

Select the distribution certificate when building for iOS and only then the zip is created that can be send to tha appstore with the Application Loader!

Costed me many hours to discover,hope this post will save somebody the same amount of frustration and time!

Regards, Marc