Fastlane deliver says bundle identifier doesn't exist on iTunesConnect - ios

I'm trying to upload my app to the App Store using fastlane deliver but it's telling me that the bundle identifiers in Xcode and iTunesConnect don't match even though they're the exact same. Why is this happening and what can I do to help myself find out why? I understand that I haven't provided much information but I'm not even sure myself where to start looking. Here is the error message thrown:
Return status of iTunes Transporter was 1: ERROR ITMS-90054: "This bundle is invalid. The bundle identifier cannot be changed from the previous version. If you want to change your bundle identifier, you will need to create a new application in iTunes Connect."
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
Any ideas as to where to start looking? Thanks!

Have you got multiple apps on iTunes Connect? I was having this same problem, but with pilot. I've got two apps on iTunes Connect, and for some reason it was trying to upload to the other app.
With pilot you'll get a message saying:
Ready to upload new build to TestFlight (App: [appId])
I found that the appId was the wrong one (You can check those ids in iTunes Connect under App Information -> General Information -> Apple ID).
What ended up working for me was specifying the app_identifier (your bundle identifier) when running pilot.

Related

Incorrect bundle identifier for Expo App when uploading .ipa to the App Store with Transporter.app

After building an Expo application archive via expo build:ios, uploading the .ipa file via Transporter.app fails with this error:
Could not create a temporary .itmsp package for the app "filename.ipa"
No suitable application records were found. Verify your bundle identifier "___" is correct.
The bundle identifier shown in the error message has been quadruple checked and is correct and matches the bundle identifier created by Expo in the Apple developer portal.
As the documentation suggests I have logged into iTunes connect and accepted the terms, I'm logged in Transporter (I've restarted both this app and the computer a couple of times) but I always get this error.
Any ideas?
On this link there is a screenshot.
Thank you!
This was resolved for me when I created an app at App Store Connect, which is separate from the steps to create certificates and provisioning profiles in the Apple Developer Portal.
Once I created a new App there and mapped it to the bundle identifier I created in the Apple Developer Portal, I was able to upload the binary.
I can confirm Pat's answer
When you do expo build:ios you will be given an ipa that you can download from the expo dashboard.
When you try to transport that to app store connect for the first time it will fail with the error the questioner has posted.
You need to go to app store connect, click add an app and from the dropdown select your bundle identifier it should be prepopulated.
Next go back to transporter and drag your ipa and click deliver.

No suitable application records were found. Verify your bundle identifier is correct. App Loader is missing

I want to load my app build to itunes connect, but I get this error:
"No suitable application records were found. Verify your bundle identifier 'com.xxx.xxx’ is correct"
I've checked my app bundle id and developer team are correct both in xcode and itunes.
And the most interesting thing is that my coworker loaded the same build with the same account successfully.
In addition, I can easily load all other apps in itunes
What can be cause this error?
I've seen the answers, which say that I should use Application Loader, but it's missing in my xcode 11.3
P.S. Sorry for my english, it's not my native language

iTunes Store operation failed

I have a problem with one of my iOS application.
I try to validate archive in Organizer but i have this message :
Archive validation failed with errors : Archive validation failed due
to the issues listed below. iTunes Store operation failed. No suitable
application records were found. Verify your bundle identifier
'org.alamofire.Alamofire' is correct.
i use Alamofire in this application and the bundle identifier is not recognized, it is the first time i have this problem, in the previous version uploaded no problem with alamofire !
EDIT : of course bundle identifier of my app is like 'com.organization.myApp' and is created on developer center, i already uploaded archive on iTunes connect with alamofire and no problem. But Alamofire has also a bundle identifier (com.alamofire.Alamofire) and this time it implies this issue.
Thank you for your help
It clearly mentions that the bundle identifier of your app is not matching with the bundle identifier on iTunes record for your app. Are you sure you are archiving the correct Target from your workspace?
I had similar issue. The wondering part is that bundle id (com.xyzcompany.abcappname) exists in Bundle Id section of my apple developer account.
The solution was to clean Xcode, delete the derived data content and then start Archive.
In your case the bundle id seems to be reserved type (use of alamofire). Try changing your Bundle Id. For eg. com.YourCompanyName.AppName

Archive iOS app : no suitable records were found verify your bundle identifier is correct

I am trying to archive an ios app in xcode but keep getting the following error message:
I've correctly created an App ID
and a provision profile :
but the message keeps appearing whenever I want to validate the archive in xcode.
Does anyone knows whats wrong here?
This is a painful problem but easy to solve - below is a simple solution. I hope it helps:
iTunes Connect:
In your browser, go to iTunes connect.
Add your New App / edit your existing app.
Go to App information.
Check the Bundle ID name.
If there is no bundle ID, make sure you create one.
I used the WildCard bundle ID. That means, your complete bundle ID is likely to be com.organizationName.* and the suffix (exampleApp).
Xcode:
Go to your Workspace / Project.
Go to your project.
Select the General Tab.
Ensure the Bundle Identifier is the name you set in
iTunes Connect. For example: com.organizationName.exampleApp
It seems you have to start the App Store submission process in iTunesConnect.
In my case, I have an app on App Store connect but I was getting that error. The problem was app has a limited access for users. Because of that I can not able to upload my app. You can edit your user access on App Store Connect - Your App - App Information - Edit User Access.
You have to create an application in Itunes Connect first, if you want to publish your app to the App Store.
After you created the app in Itunes Connect, it will be stated as waiting for upload. Itunes Connect is now able to validate your app.
From Apple's documentation:
Xcode uploads the archive to iTunes Connect and iTunes Connect runs validation tests. If a dialog appears stating that no application record can be found, click Done, create an app record in iTunes Connect, and repeat these steps.
I came across the same error, except that the pointed bundle identifier was from a dependency I used in the main project which was odd.
Just in case someone else has the same issue, the solution is to add in Info.plist of your main project: <key>CFBundlePackageType</key> having APPL value.

App store validation stage bundle identifier error

I want to deploy my app to the apple app store.
after archiving, on the validation stage i'm getting the an bundle id error code.(see image)
my bundle identifier is : "ru.maxiforex.mobile",
defined in xcode: (.plist and general tab),
and ind the appId in the provisioning profile at apple.dev.
Please advise,
Asaf
Edit:
Ok, bug is fixed:
the bundle identifier on the summary page on the itunes connect was: "maximarkets".
changing this to the real name + deleting the derived data page did the trick.
thanks for the help :)
Are you sending in an update? Then you need to use the previous bundle id, which according to the error is maximarkets.
If you are sending in a new app then you will need to create that app first in itunesconnect.

Resources