Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Is possible to upload my app to AppStore?
Started by nacho.gbm91 Jul 21 2019 07:28 AM

22 replies to this topic
appstore
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

nacho.gbm91

[GLOBAL: userInfoPane.html]
nacho.gbm91
  • Observer

  • 2 posts
  • Corona SDK

I just wanted to know if i could upload my own app to AppStore. I want to download it in my mobile phone. Is there another possibility to do that? 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,409 posts
  • Enterprise

Yes, it's possible. Depending on your development environment, you may have to take a few extra steps.

 

1. To build something you can deploy to Apple's App store, it has to be done from a Mac. If you have a Window's PC, you can either look for a cheap used Mac Mini or use the MacInCloud service.

 

2. You have to have an Apple Developer account which has a $99 + tax USD fee per year. This is for all Apple developers. It's paid to Apple. It's not a Corona fee.

 

3. You have to learn about Apple certificates, bundle creation, provisioning. You have to setup your store entry for Apple's App Store, which means writing descriptions, providing screen shots etc.

 

But Apple iOS is one of the OS's that's our main focus and Corona will produce the proper .ipa file needed to upload using Apple's Application Uploader tool.

 

We have a guide in our documentation on this. It's a bit dated, because we can't keep updating our documentation every time Apple or Google makes a change to their services. There are plenty of tutorials that can be found on an Internet search on how to setup your Apple developer account, your App Store app entry and uploading the .ipa file to the store.

 

Rob



[TOPIC: post.html]
#3

dmarques42

[GLOBAL: userInfoPane.html]
dmarques42
  • Enthusiast

  • 62 posts
  • Corona SDK

As of xcode 13.0 (installed on my mac yesterday with updates), applicationLoader is no longer available. The Apple documentation has been changed to say that apps need to be loaded through xcode. 

 

What is the new procedure for Corona apps? The latest build still tries to start applicationLoader, which does not start, of course.

 

David



[TOPIC: post.html]
#4

dmarques42

[GLOBAL: userInfoPane.html]
dmarques42
  • Enthusiast

  • 62 posts
  • Corona SDK

I was able to download an old version of ApplicationLoader from here (https://itunesconnect.apple.com/apploader/ApplicationLoader_3.1.dmg) and it worked, although it gave a warning about the API file. But I was able to add my latest update. I guess that is what we have to do now? Is there a recommendation for the future?

 

Will Apple remove the link to ApplicationLoader now that they do not recommend using it, or are they just removing it from Xcode (rhetorical question)?



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,409 posts
  • Enterprise

Xcode 11 started rolling out over the past couple of days. Yes, they removed Application Loader in favor of building in uploading inside Xcode as a convenience for native developers.

 

You have two options as of now:

 

1. Find a version of Xcode 10 and save the Application Loader app to somewhere on your computer, such as your desktop. 

2. Figure out how to use the command line tools that let you upload to the store.

 

Engineering has been alerted to this change and I'm sure at some the Corona build dialog box will be updated to use the command line tools to do this, but we've not gotten that completed yet.

Seems to me finding an older application loader download may be the best choice for now.

 

Rob



[TOPIC: post.html]
#6

dmarques42

[GLOBAL: userInfoPane.html]
dmarques42
  • Enthusiast

  • 62 posts
  • Corona SDK

Thank you. If anyone has a newer version (than 3.1 I posted above) of ApplicationLoader to download, that would be great.

 

Command line tools seem like a great idea... but my experience with xcode command line tools has not been good, documentation not very helpful, but I will look at them, thanks for the suggestion.

 

From what I can tell so far, the command line tools all depend ultimately on altool, which is a tool within ApplicationLoader, thus no longer available, at least on my mac. This change makes a lot of blog recommendations out of date. But maybe someone else can find something.



[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,409 posts
  • Enterprise

It's still on my Mac. You have to do "xcrun altool" to get it to run. There may be a need to setup an API key instead of using a username/password combination. One StackOverflow post I found went that route, but when I went to setup an API key, I was a little confused by what Apple's intent was with regard to uploading. They said you could upload to TestFlight, but they didn't say any thing about uploading to production. 



[TOPIC: post.html]
#8

dmarques42

[GLOBAL: userInfoPane.html]
dmarques42
  • Enthusiast

  • 62 posts
  • Corona SDK

Thank you, I do have xcrun altool. I just did not see it in the Xcode...Applications folder and not in finder search. Thank you! I will sort out how to use that.



[TOPIC: post.html]
#9

@SUPER_TOKI

[GLOBAL: userInfoPane.html]
@SUPER_TOKI
  • Enthusiast

  • 98 posts
  • Corona SDK

Thank you. If anyone has a newer version (than 3.1 I posted above) of ApplicationLoader to download, that would be great.

 

Command line tools seem like a great idea... but my experience with xcode command line tools has not been good, documentation not very helpful, but I will look at them, thanks for the suggestion.

 

From what I can tell so far, the command line tools all depend ultimately on altool, which is a tool within ApplicationLoader, thus no longer available, at least on my mac. This change makes a lot of blog recommendations out of date. But maybe someone else can find something.

 

Use xcode 10.3 until Corona finishes working on xcode 11 (ios 13) perfectly.

Search for xcode 10.3 from the link below to downgrade

 

https://developer.apple.com/download/more/

 

 

When building with xcode 11, I also found the following problems:

 

https://forums.coronalabs.com/topic/76323-when-the-application-resumes-after-suspend-a-black-screen-occurs-for-several-seconds/



[TOPIC: post.html]
#10

david79

[GLOBAL: userInfoPane.html]
david79
  • Observer

  • 21 posts
  • Corona SDK

The bash script here : https://stackoverflow.com/questions/57976017/how-to-upload-ipa-now-that-application-loader-is-no-longer-included-in-xcode-11 seems to work for me. It requires getting an API key, downloading it, putting it in ~/.private_keys/ and editing the script with the key ID and user IDs :

#!/bin/bash
APPFILE=$1
set -euo pipefail

# key is in ~/.appstoreconnect/private_keys
KEY="<the key part of the AuthKey_key.p8 file>"
ISSUER="<YOUR ISSUER ID>"
xcrun altool --upload-app --type ios --file $APPFILE --apiKey $KEY --apiIssuer $ISSUER


[TOPIC: post.html]
#11

dmarques42

[GLOBAL: userInfoPane.html]
dmarques42
  • Enthusiast

  • 62 posts
  • Corona SDK

Thank you, that is good to have. So far, the older ApplicationLoader seems to work fine, but if Apple disables that access, I will use altool. It is easy to set up, thank you.



[TOPIC: post.html]
#12

mediakube

[GLOBAL: userInfoPane.html]
mediakube
  • Enthusiast

  • 30 posts
  • Corona SDK

It appears we may finally have some good news from Apple as far as uploading apps built for iOS 13!  They have released a new MacOS app called Transporter which according to Apple "makes it easy to upload your binary to App Store Connect. "

 

Apple news article:

https://developer.apple.com/news/?id=10152019a

 

Mac App Store link:

https://apps.apple.com/us/app/transporter/id1450874784?mt=12

 

 



[TOPIC: post.html]
#13

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 981 posts
  • Corona Staff

Nice!

[TOPIC: post.html]
#14

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 981 posts
  • Corona Staff

Next daily build would use Transporter instead of Application Loader.



[TOPIC: post.html]
#15

jmansfield

[GLOBAL: userInfoPane.html]
jmansfield
  • Observer

  • 10 posts
  • Corona SDK

Using xcode 11.1 and corona 2019.3541 and receiving:

 

"Oct 18 03:38:16.556 No itunesConnect account info found: make sure you are signed into Application Loader (and have checked "Keep me signed in.")"

 

"Oct 18 03:38:16.556 ERROR: Cannot Send To App Store: Only apps built with distribution profiles can be sent to the App Store. Choose a provisioning profile signed with an "iPhone Distribution" certificate and note that the provisioning profile used should not specify any devices (i.e. is not "ad hoc").

"
 
I'm selecting the correct distribution profile but do not have application loader installed since it no longer comes with xcode. 
 
I've installed transporter and signed into my account but it does not seem to help. Any ideas?


[TOPIC: post.html]
#16

rlowenstein

[GLOBAL: userInfoPane.html]
rlowenstein
  • Observer

  • 23 posts
  • Corona SDK

I have no idea if this is what’s happening with you, and I haven’t tried transporter yet, but I got a similar error when I had accidentally signed my provisioning profile with the wrong certificate. Might want to double check that...

[TOPIC: post.html]
#17

bamazy

[GLOBAL: userInfoPane.html]
bamazy
  • Contributor

  • 131 posts
  • Corona SDK

I had tried the Transportet with the Corona version 2019.3540 and it was successful but haven't been able to try it with the version 2019.3541 as my Corona is broken and can't make it build. I'll try one more time and let you know if it works. 

 

Regarding to Provisioning errors, I had that kind of errors and I ended up deleting all the related entries from key chain, and doing everything from scratch. 

 

This forum subject may help you: https://forums.coronalabs.com/topic/76100-ios-build-error/



[TOPIC: post.html]
#18

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 981 posts
  • Corona Staff

The first error is very weird, but second one seems that certificate is wrong. Can you screenshot the certificate name ? (Certificate name is in parentheses after provision profile name in selection box)

[TOPIC: post.html]
#19

jmansfield

[GLOBAL: userInfoPane.html]
jmansfield
  • Observer

  • 10 posts
  • Corona SDK

The first error is very weird, but second one seems that certificate is wrong. Can you screenshot the certificate name ? (Certificate name is in parentheses after provision profile name in selection box)

 

I tried deleting all certificates and profiles and creating them all from scratch but it didnt help.

 

See attached screenshots.

Attached Files



[TOPIC: post.html]
#20

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 981 posts
  • Corona Staff

Got it! We don't support "Apple Development" certificates just yet. Please, select iOS distribution when issuing a certificate.

 

N8z904X.png



[TOPIC: post.html]
#21

jmansfield

[GLOBAL: userInfoPane.html]
jmansfield
  • Observer

  • 10 posts
  • Corona SDK

Got it! We don't support "Apple Development" certificates just yet. Please, select iOS distribution when issuing a certificate.

 

 

 

Thank you!



[TOPIC: post.html]
#22

namanjohnson101

[GLOBAL: userInfoPane.html]
namanjohnson101
  • Observer

  • 1 posts
  • Corona SDK

hello everyone,

 

Hey so I have recently completed creating my app on Xcode (7 beta 5) and am ready to submit it to the app store. I bought my Apple Developer Program membership yesterday and have just been trying to figure out how to upload my app since then.

I am at the point where I'm on iTunes Connect (in the My Apps section) and am adding a new iOS app. When I click "New iOS App", it says I have no bundle IDs for iOS apps and must register for one.

I follow the link to register an iOS App ID and in the App ID Suffix it says to enter a bundle ID that matches your app, so I enter the bundle identifier I see on Xcode (which looks like com.domainname.appname). When I try to submit, however, I get an error saying "An App ID with Identifier 'com.domainname.appname' is not available."

I can't see what the problem is here, can anyone help? Sorry for the wall of text.

 

thanks



[TOPIC: post.html]
#23

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,409 posts
  • Enterprise

Hi @namanjohnson101. These forums are for people using Corona to build apps, not people using Xcode. While you might get lucky and get an answer to his question, the focus here is using Corona. You will be better served finding a more Apple specific forum.

 

Rob




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: appstore