After publishing App, how to know if App successfully in App Store and Google Apps?

Hi. I have updated the SDK and made a few changes to the App. So after running expo publish, how do I know if it is published successfully to App Store and Google Apps?

I see that there is some info here that I missed:
https://docs.expo.io/versions/latest/distribution/app-stores
https://docs.expo.io/versions/latest/distribution/building-standalone-apps.html

Hey @vayu,

Hopefully the documentation cleared things up for you, but if not, do you have any more questions I could answer or provide some insight?

Cheers,

Adam

HI.
Thanks for reaching out.
I do get an error when I run expo build:ios.
This is what I get:

[12:50:54] Error while gathering & validating credentials
[12:50:54] Reason: Unexpected response, raw: {
  "responseId": "854e48ed-9bbe-4cce-bd7e-292fe48503e2",
  "resultCode": 35,
  "resultString": "There were errors in the data supplied. Please correct and re-submit.",
  "userString": "Multiple profiles found with the name 'dk.ksranders.exp AppStore'.  Please remove the duplicate profiles and try again.",
  "creationTimestamp": "2018-12-09T11:50:54Z",
  "protocolVersion": "QH65B2",
  "userLocale": "en_US",
  "requestUrl": "https://developer.apple.com/services-account/QH65B2/account/ios/profile/createProvisioningProfile.action",
  "httpCode": 200,
  "validationMessages": [
    {
      "validationKey": "provisioningProfileName",
      "validationUserMessage": "Multiple profiles found with the name 'dk.ksranders.exp AppStore'.  Please remove the duplicate profiles and try again."
    }
  ]
}

When I log into my Expo account, there are two Recent builds for ios. Do you know what could be the problem?

How can I have multiple profiles with the same name?

Check link

https://forums.expo.dev/t/i-can-no-longer-build-my-ios-app-because-i-get-an-error-while-validating-credentials/

Thanks, but this did not work. I don’t see that I have multiple profiles. Is this an issue that I should take up with Apple?

In my Expo account I see two recent builds for ios, that have the same name. Is this where the problem occurs? I don’t see how I can delete those though.

Hi Adam. When I read the documentation here https://docs.expo.io/versions/latest/distribution/building-standalone-apps.html, it says:

For the most part, when you want to update your app, just Publish again from Expo CLI

So when I do expo publish, the app is not updated on Appstore. I don’t see any errors in the publish process. Am I misunderstanding something here?
I really could use some help here, I hope someone can assist in getting this done. Thanks.

Hey,

What are you trying to change when you run expo publish? There are certain things that require you to make a new build and submit it which you can read about here: https://docs.expo.io/versions/v31.0.0/workflow/publishing#limitations

If you are publishing simple JS changes and they are not taking effect, can you ensure you are publishing to the same release channel that your production app is running?

Cheers,

Adam

Thanks Adam.
I see, well I have changed the Expo SDK Version, so therefore publishing is not enough. I suppose I need to build and distribute a new version.

So when I run expo build:ios, I get the error:

“validationUserMessage”: “Multiple profiles found with the name ‘dk.ksranders.exp AppStore’. Please remove the duplicate profiles and try again.”

That’s what I don’t understand. Is this in my Expo account or is this in my Apple developer account? When I look at my Apple Developer account, I don’t see multiple profiles with the same name. Do I need to get support about this from Apple or is it something Expo support might help with?

When I want to update and app and maybe testflight it, the documenation is unclear:
https://docs.expo.io/versions/v31.0.0/guides/building-standalone-apps.html. The update part only explains how to publish. But what if I need to update a new version with a new SDK?
Sorry about all this, but it’s really not clear to me how to do this? :slight_smile:

Hey,

Another user encountered this and solved it by manually creating the files on Apple’s side of things: ios build error with multiple profiles found in AppStore

I am not sure that my certificates are the problem. I have created certificates in my apple account many days ago.

Since the Expo documentation does not explain how to upgrade an app, I try to search in Google for this. All articles tell me to open the app in Xcode. But how do I open an excode app in xcode?
This thread asks the same, but no answer is given.

It seems I need to add the new app version to Itunes Connect and this can be done via Xcode:

How do I do that from Expo?

Ok, so I have tried to run upload:ios and get the following error:

ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle dk.ksranders.exp [KS Randers] is invalid. [Expired profile.] For more information, visit the iOS Developer Portal."
ERROR ITMS-90443: "Invalid Provisioning Profile. The provisioning profile included in the bundle KS Randers [Payload/Exponent.app] is invalid. [Expired code-signing certificate.] For more information, visit the iOS Developer Portal."
ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 10.3 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later."
ERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1' for version number '1.0.1'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4)."
ERROR ITMS-90186: "Invalid Pre-Release Train. The train version '1.0.1' is closed for new build submissions"
ERROR ITMS-90062: "This bundle is invalid. The value for key CFBundleShortVersionString [1.0.1] in the Info.plist file must contain a higher version than that of the previously approved version [1.0.1]."
Return status of iTunes Transporter was 1: ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle dk.ksrande\nERROR ITMS-90443: "Invalid Provisioning Profile. The provisioning profile included in the bundle KS Randers [Payload/Exponent.app] is invalid. [Expi\nERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 10.3 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SD\nERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1' for version number '1.0.1'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4).\nERROR ITMS-90062: "This bundle is invalid. The value for key CFBundleShortVersionString [1.0.1] in the Info.plist file must contain a higher version than that of the previously approved version [1.0.1]."
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
[15:33:17] Failed to upload the standalone app to the app store.
[15:33:17] Error uploading ipa file, for more information see above

I have also tried to delete all my certificates and provision profiles and create all new ones. I still get the above error.
Why does it tell me that:

  1. Invalid Provisioning Profile?
  2. SDK Version Issue. This app was built with the iOS 10.3 SDK?
  3. Redundant Binary Upload. You’ve already uploaded a build with build number ‘1’ for version number ‘1.0.1’. I have changed the version number in app.js and package.json to 1.0.2. I even tried to change to 2.0.0.

What version of Xcode are you running? You’ll need to be running Xcode 10+. Also, you’ll want to increment buildNumber under the ios property in your app.json to fix #3

Hi Adam.
Thanks for pointing this out for me. I have now corrected buildNumber. I noticed later that it is required to have a link to privacy policy url in AppStoreConnect on the app settings, which I did not have. So after adding this everything seemed to work and have now built and uploaded the .ipa file to TestFlight. That’s great!!

I received an email from Apple with this message:

We identified one or more issues with a recent delivery for your app, “KS Randers”. Your delivery was successful, but you may wish to correct the following issues in your next delivery:
SDK Version Issue - This app was built with the iOS 12.0 SDK. Starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later.

Is it possible to build with SDK 12.1 already now, so I won’t have to do this again in a few weeks?

Awesome. Glad things are working for you now!

Unfortunately we will have to push out an update to our builders before building with SDK 12.1 is possible, so you’ll have to rebuild when we do so.

All the best,

Adam

Ok, thanks! :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.