Google Play Upload Failed due to Signing Issue

Google has recently added a functionality to manage App Signing, where google gives you certificates to manage signing certificates for your app.

But We are androapp currently does not support individual signing certificates, so you might come across the below error while trying to upload the apk generated by us.

Upload failed

You uploaded an APK that is signed with a key that is also used to sign APKs that are delivered to users. Because you are enrolled in App Signing, you should sign your APK with a new key before you upload it.

How to fix?

Currently google does not provide any option to disable App Signing after you enable it, so you should create a new App entry with App Signing disabled.

When you will try to upload new production apk, you will be asked to Enroll for App Signing, please select Not Now

How to Add Collaborator to you Firebase project

  1. Login to https://console.firebase.google.com
  2. Select the project where you want to add the collaborator
  3. In the top left, next to the project name, click the settings/cog wheel icon and than Users and Permissions
  4. In the new screen, Click on  icon on top
  5. Enter rapido.mobi@gmail.com and select Project->Editor in the role and click on Add button
  6. Send an email to us after you are done with this activity (with your project name and website address and we will add APN Auth Keys for your push notifications to work)

How to upload APN Auth keys to your firebase project

  1. Login to https://console.firebase.google.com
  2. Select the project name for which you added IOS app earlier
  3. Click 3 dots icon for IOS app and click on Settings
  4. Click on Cloud Messaging tab on top
  5. Scroll down to APNs authentication Key section and click on UPLOAD
  6. Upload your .p8 file in the popup, enter your Auth Key ID in Key ID field and your team ID in APP ID prefix section and click on UPLOAD

How to create APN Auth keys for IOS Push Notification

  1. Login to https://developer.apple.com/account
  2. Select Certificate, IDs & Profiles from left sidebar
  3. Select All under Keys section in left sidebar
  4. Click On + icon on top right
  5. Enter Push Notification in the Name and select APNs in Key Services section and click on Continue
  6. Download your Auth key in the next section, it will give you a .p8 file, keep it safe, you will not be able to get it again
  7. You will need Key ID and the downloaded file for uploading it to your Firebase project for push notifications, follow these steps for the same

How to Upload IOS builds using application loader

IOS build is in .ipa format, similar to .apk in Android, every time you want to release a new build to app store, you have to upload this file to your itunes account, you can either do it via Xcode (that is for developers) OR do it via Application Loader.

Note:- both (Xcode & Application Loader) requires macbook, if you don’t have one, we can upload your build on your behalf, for that you need to give us App Manager permissions, follow this link to give us the permission and forward the email you received with build link to contact@androapp.mobi.

If you don’t have application loader installed already, install it by following this link https://help.swiftic.com/hc/en-us/articles/201697821-Install-the-Application-Loader-on-Your-Computer

Now once you have the .ipa file link from us

  1. Open Application Loader
  2. Sign in using your apple developer account credentials
  3. Double click on Deliver your app
  4. select the .ipa file you received from us
  5. it will take you to the next screen, cross check your app information
  6. and click on next, it will take some time to upload the build
  7. you might see one popup saying could not do analysis due to file too large, you can continue by ignoring it, for any other error, take a screenshot of the error and email it to us.

How to upload Apple Push Notification Certificate to Firebase

  1. Login to https://console.firebase.google.com
  2. Select App where you have setup Firebase app earlier by following these steps
  3. Click 3 dots icon for IOS app and click on Settings
  4. Click on Cloud Messaging tab on top
  5. Scroll down to APNs Certificates and click on Upload link corresponding to No production APNs certificate row
  6. Browse to the .p12 file shared and click on Upload

How to give App Manager permission to your itunes app/account

  1. Login to https://itunesconnect.apple.com/login
  2. Click on Users & Roles box
  3. Click on + icon near Users on top left
  4. Fill up the form with values in the snapshot and click on Next, email: contact@androapp.mobi
  5. Select App Manager checkbox and click Next, you may choose the specific App if you want to limit the access to a particular app
  6. Don’t make any changes in the next screen and click on Save.

How to Export public/private key in macbook

  1. You must have received a .cer file from your previous steps, double click on that file on your macbook and it should open the KeyChain Access
  2. Now go to the entry which says iPhone Distribution: Your Name (your teamID)
  3. Right click and select Export
  4. keep the file format as .p12
  5. it will ask to enter password, you may choose to keep it blank or for better security you can enter some password
  6. email us the downloaded .p12 file along with the password (if you chosen)

How to upload app to IOS App Store

  1. Login to developer.apple.com/account
  2. Click on ITunes Connect from left panel
  3. Select My Apps
  4. Click on + icon and select New App from dropdown
  5. Select IOS from platforms
  6. Enter Name, select primary language,
  7. Choose bundle id from dropdown
  8. Enter a unique SKU id for your app to identify and click on Create
  9. Enter subtitle in next screen and a privacy URL if you have
  10. Select primary and secondary category
  11. Click on Save
  12. Go to Pricing and Availability and select appropriate pricing info and click on Save
  13. Go to Prepare for submission
  14. Upload app screenshots, you can get the screenshots using our preview app, you need to upload at-least 1 screenshots for both iphone and ipad of 1242×2208 and 2048×2732 sizes respectively
  15. and enter description, keywords, support url, marketing url, contact information, phone, emailTip: don’t mention that this is an app for some website, give contact us link in support url, not the website home page link
  16. Skip iMessage App, Apple Watch section
  17. Also skip Build section for now, till you get the .app file from us
  18. Upload App Icon of size 1024×1024 a JPG image (should not be transparent)
  19. Enter copyright info, Address
  20. Enter the rating information by clicking on Edit and selecting appropriate checkboxes for your app
  21. Jump to App Review Information section and uncheck sign in required check box
  22. Enter Install the app and browse the posts in Notes textbox
  23. And your contact information for apple review team to contact you – just in case they have any questions for you, leave the Notes box empty
  24. Click On Save
  25. Once you get the .app file from us, upload it via Application loader by following these steps
  26. Once you get an email about successful processing of build upload, login back to itunes, go to the app, and Prepare for Submission from left and click on + icon under builds section and select appropriate build
  27. Now click on Submit for Review button on top right
  28. Select No in Export Compliance
  29. Select Yes/No in Content Rights appropriately
  30. Select  Yes in Advertising Identifier
  31. Select Server Advertisements within the app checkbox
  32. and select Limit Ad Tracking in setting in IOS checkbox
  33. And Submit button on top right
  34. it might take upto 2 weeks for IOS team to review your app, you will get an email after your app is approved/rejected

To prevent the possibility of app rejection

  1. Try to keep the ads minimum
  2. Keep wordpress comments on with counts feature
  3. Check which theme gives more app like feeling than simply a website
  4. Don’t mention app for website, description should be clear on what app offers
  5. Don’t use IOS, apple, android words in the description, keywords, logo
  6. upload enough screenshots which covers full functionality

How to Generate a WildCard App ID for Apple build

  1. Login to https://developer.apple.com/account
  2. go to App IDs from left sidebar
  3. Click on + icon on top right
  4. Enter “<Your Team Name> WildCard” under APP ID Description, ex. AndroApp WildCard, this is important for us to identify your profile
  5. Scroll down and select Wildcard App ID
  6. Enter * in bundle ID field
  7. Do not enable any services and click on Continue
  8. Create a provisioning profile for this wildcard app id https://androapp.mobi/blog/create-provisioning-profile/289

Note:- this has to be done only once per apple developer account, so even if you are going to publish multiple apps from your account, you don’t need to create multiple wildcard app id, after all that’s why it is called wildcard 🙂