Overview of application publishing

This guide answers common questions about publishing and distributing apps with Siberian.

Requirements to publish an application to a store:
What are the requirements before trying to publish an application with Siberian?

apple_store
To distribute an application on the App Store, you need to subscribe an Apple Developer account. The Apple Developer Program annual fee is 99 USD.

If you don’t already have an Apple Developer account you can subscribe your account here: https://developer.apple.com/programs/enroll//

Once you’ve completed your enrollment in the Apple Developer Program, you can sign in to iTunes Connect with the Apple ID you used to enroll. iTunes Connect is where you manage your App Store apps, see your sales reports, manage your iTunes Connect users and testers, and more.

For more information about the complete process use the link below: https://itunespartner.apple.com/en/apps/overview



google_play

To distribute an application on the Google Play Store, you need to subscribe a Google Play Developer account. There is a $25 USD one-time registration fee.

If you don’t already have one you can subscribe your account here: https://developer.android.com/distribute/googleplay/start.html

The process of publishing:
Once I have installed Siberian what is the publishing process for an IOS application?

apple_store

There are two options to distribute an application on the App Store:

I – The manual method

You have a minimal technical knowledge and you want to publish yourself your application manually. In this case, take the following steps:

1. First you need to generate in Siberian the sources code of your application.
Connect to your backoffice, select the concerned application in Manage > Applications by clicking the button on the right of the list. In the section called “Mobile Source Codes & Builds” click on “Generate sources”. Your request enters the queue and is going to be generated,then a link appears to download the generated sources code.

2. Then you have to use an Apple software called Xcode to compile yourself the concerned sources code in the aim of generating your application. Of course, you need to have a Mac to be able to use Xcode.

Xcode_iconYou can download this software here: https://developer.apple.com/xcode/

To find more information about how to use Xcode in aim of generating your application, please read this article: https://doc.siberiancms.com/knowledge-base/how-to-compile-an-ios-app-and-create-a-pem-certificate/

Actually you can do that without a Mac computer but you have to emulate your computer to install Mac OS and then install Xcode on Mac OS. Here is an article about that: https://www.udemy.com/blog/xcode-on-windows/

3. Connect to your iTunes Connect account to complete your app page with your screenshots, description. Then click on “Submit for review”. You can find more information in the documentation below: https://doc.siberiancms.com/knowledge-base/publication-on-the-app-store/


II – The automatic method

Otherwise, you can submit your app to the App Store automatically with our auto-publishing module called “IOS Auto-publish”. This method doesn’t require any technical knowledge. In this case, take the following steps:

1. Purchase in the marketplace your licence to use “IOS Auto-publish”.
You can purchase it here: http://extensions.siberiancms.com/downloads/ios-auto-publish-build-send-your-ios-app-to-itunes-automatically/

2. Connect to your backoffice to enter your license in Settings > General

3. Select the concerned application in Manage > Applications by clicking the button on the right of the list.

4. In the section called “Generate and publish iOS Application” enter your iTunes Connect credentials and the concerned language. Then click on the button “Save Publication Settings”.

5. In the same section click on the button “Generate and Publish” once your app is ready to be submitted. Your app enters the queue and is going to be compiled and sent by our build servers.

6. Once sent to iTunes you are warned by email and in your backoffice that your app has been submitted. You just have to complete your app page on iTunes Connect with your screenshots and description. Then click on “Submit for review”.

Note: When you submit your app to the App Store it will be available in 2 – 5 days (depending on Apple). Then the app is going to be reviewed by Apple and they will send you an email once it is accepted.

Once I have installed Siberian what is the publishing process for an Android application?

google_play

There are two options to distribute an application on the Google Play Store:

I – The manual method

You have a minimal technical knowledge and you want to publish your application by yourself manually. In this case, take the following steps:

1. Connect to your backoffice, then select the concerned application in Manage > Applications by clicking the button on the right of the list.

2. In the section called “Mobile Source Codes & Builds”:

Owners of the Single App Edition click on the button “Generate Sources” and few minutes after your sources code is available for download. Then, you need to build your APK by using a Google software called “Android Studio”.

logo_android_studio_512dp

To build your APK with Android Studio follow instructions of this article: https://doc.siberiancms.com/knowledge-base/how-to-publish-manually-android-apps/. After building your APK go directly to the step 3.

Owners of the Multi-Apps and Platform Editions click on the button “Generate APK” and few minutes after your APK is available for download.

3. Then you only have to follow the steps of this article in aim of publishing on the Play Store: https://doc.siberiancms.com/knowledge-base/publication-on-the-google-play-store/


II – The automatic method

Otherwise, you can also buy our publication service for Android called “Android app publication” if you prefer that we publish the app for you on Google Play Store. This method doesn’t require any technical knowledge because the “Android app publication” includes the creation of certificates, screenshots and the generation of APK. The submission is automatically done under your own Google Play Developer account. To use this module take the following steps:

1. Purchase this service in the marketplace: http://extensions.siberiancms.com/downloads/android-app-submission/
Note that builds purchased are only consume if success.

2. When you purchase this service you will receive an email that explains what kind of information you need to provide us (info like if you want your app to be paid or not, the app description, etc)

3. We send you the APK file after submission on the Google Play Store, and we complete for you the app page on your Google Play account.

The process to update an existing application:
I want to update an application that already exists on the Store. Do I need to publish again my application?

Note that there are two different things when we talk about “updating an app”: you can update the content of an app (adding a news, a discount code, an existing feature, the colors, etc), and you can update your application on the stores because you need to republish it.

In the first case, most of the time, you don’t need to update your app on the store and thus you don’t need to recompile it. Just change the content, or add the new feature, change the colors, and restart your app on your phone to see the changes.

But, if you change some other things that are native to the application like its startup images, its icon or its name, you will have to compile a new version of your app and republish it. In that case you will have to increase the version number before recompiling your app.

You will find more information about editing your app after its publication in this article: https://doc.siberiancms.com/knowledge-base/will-i-be-able-to-update-my-app-without-a-new-publication-process/

I want to update an application that already exists on the Store. What I need to do on the store concerned?

When you wish to update your application on a store there are some actions that you need to do on the store concerned before publishing your application.

You can find more information about these actions needed in this article: https://doc.siberiancms.com/knowledge-base/how-to-update-an-existing-app-on-play-store-and-app-store/

How to set the version number before recompiling?

An app must be published with a version number. And if you want to publish an update of your app, you will have to change the version number for a higher one before compiling your application.

Note that there are two different things when we talk about “updating an app”: you can update the content of an app (adding a news, a discount code, an existing feature, the colors, etc), and you can update your application on the stores because you need to republish it.

In the first case, most of the time, you don’t need to update your app on the store and thus you don’t need to recompile it. Just change the content, or add the new feature, change the colors, and restart your app on your phone to see the changes.

But, if you change some other things that are native to the application like its startup images, its icon or its name, you will have to compile a new version of your app and republish it. In that case you will have to increase the version number before recompiling your app.

To change these values take the following steps:

1. Connect to your Backoffice.

2. Then go in Manage > Applications.

3. Select the concerned application by clicking on the edit icon on the right of the list. In the part “Device Information” you can enter the version number for IOS and for Android.

If your app is already published you have to add a new version number and send a new version number.
There are two numbers when you build an app:
– the version number
– and the build number

Because you can send many builds for a same version. If you want to publish an update of your app, you will have to change the version number for a higher one before compiling your application.

Note that in the auto-publish system the build number is not managed so you have to send a new version rather than several builds for the same version.

My app is already published on store so can I rebuild it from scratch and publish it with the same name as a new version?

You can update an existing app.

The only issue can be for the Android version. When you publish an Android app you create/use a certificate named keystore certificate which has also an associated password.

If you have published this app by yourself you should have both the certificate file and its password (if you have used the APK Generator of your Siberian and you don’t have reinstalled your Siberian after having generated the APK of this app you still have them both).

If you don’t have these two items, certificate file and certificate password) you will not be able to update the Android version of your app but only to publish it as a new app.

For iOS there is no problem, you don’t need previous items to publish an update of an existing app.

Frequently Asked Questions:
How many times are we going to be able to download the sources?

You can publish and download the sources as many times as you need. You have absolutely no limit, it’s an open-source solution.

Is there a way to preview my app that I’m creating before publishing it?

Before publishing your application you can have a preview of your application with our tool called “Apps Company Previewer”.You will find more information about this tool in the article below: https://doc.siberiancms.com/knowledge-base/how-to-preview-the-app-im-creating/

What is the price of the 'IOS Auto-publish' service and which methods of payment are accepted?

According to the number of publication you have to choose in these three prices:

– One iOS submission (no subscription) – 19.00€ (if you want more of one submission you can add several submission to your cart)
– Up to 5 iOS submissions per month – 49.00€ (this kind of subscription involves a payment every month)
– Unlimited iOS submissions per month – 99.00€ (this kind of subscription involves a payment every month)

To purchase this service you can use your credit card or a Paypal account.

What is the price of the 'Android app publication' service and which methods of payment are accepted?

For “Android app publication” there is an only one price, so you have to purchase this service each time you need to do a new submission.

To purchase this service you can use your credit card or a Paypal account.

If I purchase the 'IOS Auto-publish' service where can I see how many remaining builds I have in Siberian?

Take the following steps:

1. Connect to your Backoffice then go in Manage > Applications.

2. Select an application by clicking the button on the right of the list.

3. In the application page you can find the remaining builds in the section called “Generate and publish iOS Application”.

How to resolve a source or APK generation hanging on 'generating'?

If you encounter this problem with the sources that takes too much time to be generated (more than 5 minutes), you can do the following:

– In your Backoffice go on your dashboard.

– Click on the button “remove locks”.

– Go back in the application page from Manage > Applications.

– Cancel the source generation.

– Click on “generate sources” again.

How to resolve an IOS Auto-publish that failed?

First read the article below to see if your problem is an IOS Auto-publish known issues: https://doc.siberiancms.com/knowledge-base/ios-auto-publish-known-issues/

If you don’t find the encountered error in this article, you can contact us to resolve your problem at this email adress: contact@siberiancms.com

This section deals with known issues that you can get when you try to compile manually your application with Android Studio or Xcode.
Why I can't compile my application in Xcode?

Verify you have installed the last IOS SDK. This is mandatory in to use Xcode correctly.

You can find more informations about it here : https://developer.apple.com/ios/

After installing the IOS SDK you might compile your application in Xcode.

How to resolve the compiling error message 'linker command failed with exit code 1 (use -v to see invocation)' in Xcode?

Recover the plugin called “ProgressView” at this address:

  • For IOS no adds:

https://github.com/Xtraball/SiberianCMS/tree/master/var/apps/ionic/ios-noads/www/plugins/de.neofonie.cordova.plugin.progressview/www

Then copy it in the folder of your application in the path var/apps/ionic/ios-noadds/www/plugins/de.neofonie.cordova.plugin.progressview/www

  • For IOS with adds:

 https://github.com/Xtraball/SiberianCMS/tree/master/var/apps/ionic/ios-noads/www/plugins/de.neofonie.cordova.plugin.progressview/www

Then copy it in the folder of your application in the path var/apps/ionic/ios/www/plugins/de.neofonie.cordova.plugin.progressview/www

How to resolve the compiling error message 'error with: BarcodeScanner.java, BardcodeFormat' in Android Studio?

Read the following documentation to resolve your problem :

You have to remove the file com.google.zxing.client.android.captureactivity.jar which is in:

var/apps/ionic/previewer/android/libs/

Then download the source again after that.

How to resolve the compiling error message 'sync Gradle project failed. Please fix your problem and try again' in Android Studio?

In Android Studio, go in Tools > Android > SDK Manager and update all from the tabs “SDK Platforms” and “SDK Tools”

It’s a specific problem in Android Studio, and it’s hard to know all the solutions about problems from another software, but here are some links to some other users and the solutions they have found:

http://stackoverflow.com/questions/29808199/error-running-android-gradle-project-sync-failed-please-fix-your-project-and-t

http://stackoverflow.com/questions/24778598/error-running-myactivity-gradle-project-sync-failed-please-fix-your-project-an

It seems the second answer has fixed the problem for many users:
1. File -> Invalidate caches / Restart
2. Shutdown Android Studio
3. Rename/remove .gradle folder in the user home directory
4. Restart Android Studio let it download all the Gradle stuff it needs
5. Gradle build success !
6. Rebuild project…. success !

Was this article helpful?

Related Articles