No suitable records were found verify your bundle identifier is correct - ios

I have created an app in App Store Connect and it has been in the "prepare for submission" state for more than 3 days. When I try to archive my app, and submit it to the app store it, displays this message:
No suitable application records were found. Verify your bundle identifier is correct.

Just found the Error. I used one capital letter in bundle id. but I have used small letters in Xcode's bundle id. now I changed that as like in the app id. and now I successfully uploaded my app to Appstore Connect.

generally this happens when you have not created your app from apple developer account->iTunes Connect->Click on My App->click on plus sign (+)->New App->And fill up the whole info and Choose Your Bundle Id for the app you are uploading now.

Just check that app you configured on iTuneconnect is having same bundle identifier that you are using to upload app.
URL: https://appstoreconnect.apple.com/apps

iTunes Connect || App Store Connect (website):
In your browser, go to iTunes connect/ App Store 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.orgnanizationName.appName
It seems you have to start the App Store submission process in iTunesConnect.

What did the fix for me is to allow app access to all users:
Go to AppStore Connect
Go to My App
Under Additional Information, click on 'Edit User Access'
Select 'Full Access'
This allowed me to upload the app the first time (via Xcode & Application Loader)
After the initial upload, i can switch back to 'Limited Access' and upload just fine.

I believe you can found the answer here Xcode 5 - "No application records were found" when trying to Validate an Archive from #Bamsworld.
As you already mentioned and as per the documentation - App Distribution Guide
Important: You can’t validate your app unless the app record in iTunes Connect is in the “Waiting for Upload” or later state
After you add a new app in iTunes connect there will be an amber light along with its status. It will most likely read "Prepare For Upload". To get it to the "Waiting For Upload" state click view details for the app and in the top right there should be a blue button that says "Ready to Upload Binary". Click this and follow the given directions.

If you use Application Loader, then check if you are logged to the correct account. It was my case and it can happen if you manage account for various clients.

In my case, I had 2 Apple IDs in my Xcode preferences (Xcode -> Preferences -> Accounts), so I had to remove one. After I removed Apple ID that I didn't need, validation process worked just fine.
Wasted a few hours, just because the error message is useless. This is so frustrating.

Double check the Bundle OS Type code in your App's info.plist, for me, the only way around this error was to set it to APPL.
The weird thing is that the error was regarding to my frameworks bundle id, tho changing the above in my app solved it.

Using Application Loader worked in my case.

Chek your app ID in the Apple Developer Center. Then, use exactly the same name in Bundler Identifier.

I have to manually sign the app. Created new certificate and new profile. Set code signing to Manual. Only then i was able to upload. Moreover select Manual sign in from organizer while uploading build.

Once check this.
Open your .plist file and check for "Bundle OS Type code" key. If that is not there, add a row and give that key and check the type it should be a string. And give "APPL" as value.
Clean the project and go for Archive.
I hope it will work for you.

I've changed the Version number but forgot to change the Build version. Changing the Build version resolved the issue. Such a silly mistake. Smh...

Make sure this is included in your Info.plist:
<key>CFBundlePackageType</key>
<string>APPL</string>
I had APPL misspelled as AAPL. Once I fixed that and signed into Application Loader and Xcode with the same Apple ID, everything worked.

Since this is question obviously has different potential answers depending on the individual circumstances I thought I'd add my problem and what solved it:
Problem: I had someone copy the binary archive, make some changes and then pass the binary onto me. This caused a binary conflict.
Solution: I had to create a new certificate. I copied the bundle ID from the develop consul, pasted into xcode and was able to upload.
Side note: You can regenerate a new bundle id by turning on "In-App Purchases" under Capabilities.

After few days I realize that, I've set Bundle ID wrong.
Here is how I correct,
Go App Store Connect > Your App > App Information > General Information
Select the Bundle ID you create and assign at xcode before.
Now you can Upload without error.

Firstly, check that you're using the same accounts in both Application Loaded (or XCode) and iTunes connect. Secondly, check that Bundle Id in error message and in iTunes connect are match, including tHe cAsE!

Make sure you follow these steps in order:
Generate the App ID at https://developer.apple.com/account/ios/identifier/bundle
Generate your app from iTunes Connect selecting the Bundle ID created in step one
Upload the IPA from Application Loader or XCode

if your bundle id carried a capital letter and you've changed it to a lower case letter, you must run the application in the simulator before attempting to archive and upload to app store connect (this was the issue and solution for me).

For me, what fixed it was to enter the required details in App Store Connect -> TestFlight -> Test Information.
Once I'd done that it seemed that Xcode realised there was a new app to allow uploading to and succeeded.
(Also check your caps in your Bundle ID though. 😉)

iMessage Extension: For everyone that is fighting with this problem with an messages extension (or any other extension) make sure you enter in "App Store Connect" -> "General Information" -> the Bundle-ID of the application target and not the extension target. We fought 2 days to find this out.

For me : Just tried uploading using Application Loader and it worked

If after you confirm your Bundle ID's match across App Store Connect, Apple Developer Portal, and Xcode and you are still having issues try this:
Remove the Apple ID associated with the Bundle ID you're experiencing issues with from your Accounts list in Xcode (Menu Bar -> Xcode -> Preferences -> Accounts). Then, add the Apple ID back to the Accounts list in Xcode.

For me, it was because I forgot to create a "Provisioning Profile" on Apple developer portal. I created a profile here for "App Store", then downloaded and opened the file and it worked!

In my case I got it worked with opening the Application Loader inside the XCode.
Steps : XCode -> Open Developer tool -> Application Loader
When I opened it with Launchpad it failed to identify the correct account for the app. Therefore, it asked me to create an account.
With XCode , Application Loader could list down the accounts I'm entitled for. You have to select the correct account from the drop down.

In my case the app was already set up, but the app version was already in use (waiting for review), I just needed to increase the version number.

In my case the problem was that my application had literally no information filled in the App Store Connect

In my case I was using a different account, I created an app on Itunes but selected different account on Xcode. So just Selected the right account on Xcode and it worked for me.

In my case
Checked if same user in itunes and xcode
Checked bundle ID is same
Solution:
Go to itunes inside the page of my app and inside the first tab "App Information" under the right hand side has a section "Others Information" click on the "edit user permission" and grant xcode user the permission to read the information of the app.
DONE

Related

Xcode Error: "The app ID cannot be registered to your development team."

We are porting an Android app to iOS for a client. They have added our account to their iTunes Connect account and created an app entry. We developed the app using the bundle ID they specified.
But now, when the app is ready for testing, we can't create a provisioning profile in Xcode. It is set to Automatic signing and this error is shown:
Failed to create provisioning profile.
The app ID "<bundle-id>" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.
Our account is added as an App Manager in their iTunes Connect account, but still we can't take output with this ID. This error is not shown if we change the bundle ID in Xcode.
Meet same Issue on one mac, but ok on another mac.
I'm sure bundle ID is fine and unique.
I know it is provisioning profile issue, so
Try refreshing the provisioning profile on your Local computer.
Then It Works!
cd ~/Library/MobileDevice/Provisioning\ Profiles
rm *
Xcode > Preferences... > Accounts > click your Account and Team name > click Download Manual Profiles
Run app again
Go to Build Settings tab, and then change the Product Bundle Identifier to another name. It works in mine.
You have to rename Organization Identifier on Bundle Identifier on settings tab.
Only by renaming the Organization Identifier error will remove.
I had this same issue as OP and the problem was that I was invited only on appstoreconnect and not on developer.apple.com. After being invited as a member on developer.apple.com and going into the preferences in XCode, I got a new option to sign as a member of the organization. Setting signing team as member of organization in project settings fixed the issue. After that creating the provisioning profile was successful using automatic signage management.
This happened to me, even though I had already registered the Bundle Id with my account. It turns out that the capitalisation differed, so I had to change the bundle id in Xcode to lowercase, and it all worked. Hope that helps someone else :)
Changing Bundle Identifier worked for me.
Go to Signing & Capabilities tab
Change my Bundle Identifier. "MyApp" > "MyCompanyName.MyApp"
Enter and wait a seconds for generating Signing Certificate
If it still doesn't work, try again with these steps before:
Remove your Provisioning Profiles: cd /Users/my_username/Library/MobileDevice/Provisioning Profiles && rm * (in my case)
Clearn your project
...
If this persists even after clearing provisioning profile and re-downloading them, then it might be due to the bundle ID already registered in Apple's MDM push certificate.
None of the above answers worked for me, and as said in the original question I had also to keep the same bundle identifier since the app was already published in the store by the client.
The solution for me was to ask the client to change my access from App Manager to Admin, so that I had "Access to Certificates, Identifiers & Profiles.", you can check if it is the case in the App Store Connect => Users and Access => and then click on your profile (be sure to choose the right team if you belong to multiple).
Once you are admin go back to Xcode and in the signing tab select 'Automatically manage signing', then in Team dropdown you should be able to select the right team and the signature will work.
My problem was I was modifying the settings for the wrong version of my app.
I had "Debug" selected instead of "Release", so my bundle identifier was not accurate when it came time to Archive.
error message
The app identifier "my.bundle.id" cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again.
try this
Apple developer > Account > Certificates, Identifiers & Profiles > Identifiers
I encountered the same problem when I was trying to compile a sample project provided by Apple. In the end I figured out that apparently they pre-compiled the sample code before shipping them to developers, so the binary had their signature.
The way to solve it is simple, just delete all the built binaries and re-compile using your own bundle identifier and you should be fine.
Just go to the menu bar, click on [Product] -> [Clean Build Folder] to delete all compiled binaries
Clean Build Folder
I had the issue with different development teams. I just checked the schema signings and picked the correct development team for the schemas that I needed:
I delete the Bundle identifier in the https://developer.apple.com/account/resources/identifiers/list, then it works.
IF you are working with different build configs then check in Signing & Capabilities Tab are you using Correct Bundle Identifier.
For Xcode v12 and above
Open the .xcworkspace file using Xcode
Then go directly to the General section, you'll see Bundler Identifier
Then change the name in the bundler identifier
for example com.myapp-dev.app should be changed to com.myapp.app.
This worked for me.
I was able to get the original bundle identifier to work on my paid team membership account (after having it assigned to my personal team) by revoking the personal team signing certificate that was assigned to the same account id.
On the Apple Developer website sign in with the paid account it, go to Certificates, IDs & Profiles.
Click the personal team certificate.
Click the Revoke button.
Go back to XCode and try signing again. A new certificate will be generated that should work with the bundle id.
This won't work if you still need the certificate for other apps.
If none of the above solutions work, you may want to check your folder names. I had another folder, within a separate parent folder but sharing an ancestor directory, with the same name as my project folder. Renaming the other folder to something else resolved the issue. If I had to guess, Xcode was looking for the project in the parent directory, found the alternate folder with the same name and got confused...
Due to Security issue my client do not want to share the personal credentials. He just add my apple id in developer.apple.com
After that I create the certificate from key chain and add it into apple developer Account.
My client also add the bundle identifier and send it to me the latest certificate
Now you need to add Team account
Note: You must add team account not your apple id account
In my case i got 2 ids one of mine muhammadusman17....#gmail.com and the other one is "CHT Team" i just select the CHT Team then its working perfectly
Remove your account from xcode and sign in again:
Xcode -> Preferences -> 'Acount' Tab
Choose your account and tap '-' in the bottom left corner
Tap '+' and sign in to your account again
Archive
As per shown in the picture go to runner and then click on release set your team correctly it will solve your issue thanks
I know it sounds incredible stupid and unbelievable, but what I did to fix it - after 2 hours, was changing my bundle identifier to all lowercase and appending "123" at the end.
This really solved the issue. I don't know why, as I am not a xcode developer.
The only thing that mattered was getting it running on a physical device.
What worked for me was to simply just delete the identifier from the previous developement team on the page Certificates, Identifiers & Profiles.
Solved by Just --> bundle identifier to all lowercase
check in apple Developer & same use in Xcode project
Issue will be solved 100%
Changing the bundle identifier to all lowercase fixed the problem for me
At the center top of your XCODE screen, change your device.
For example: Apple Pie>iPad Pro (12.9-inch)(5th generation)
----------------------(^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^)
^change this to your device ^

An App ID with Identifier 'xxx.yyy.zzz' is not available. Please enter a different string when submitting new build

Here I already added a new version of my app on the iTunesConnect, and the status of the new version is at 'Prepare for Submission'. However, I have a problem with verifying my new build and submitting it to iTunesConnect.
The Error I got is An App ID with Identifier 'xxx.yyy.zzz' is not available. Please enter a different string
Here I left out the Bundle Identifier because I do not want to expose my app ID anyway, but I certainly sure that the bundle Identifier, Version, and Build version is exactly the same as what I added to the iTunesConnect (1.20).
I also already archived the app, but got stuck at the verifying process, and got this An App ID with Identifier 'xxx.yyy.zzz' is not available. Please enter a different string error.
Is this the proper way to submit a new build to the iTunesConnect? I think the system should match the App Bundle ID with the one registered at the iTunesConnect's database, and simply verify and upload a new build for me. I do not really know what is wrong here. It seems that the XCode is trying submit the new app, but cannot go through because the Bundle ID is already registered (with the previous version).
You should check the certificate and the AppId
Let XCode automatically manage the certificates and profiles to use:
on the Project Navigator click on the app
go to Build Settings
find the Code Signing section
change the Provisioning Profile to Automatic from the drop-down
change the Code Signing Identity to iOS Distribution
if the project builds without errors, you can Archive, Validate and Upload to App Store
the build will be available on iTunesConnect
If something is missing XCode will ask to fix it for you.
This is not related to the app version on iTunesConnect.
When submitting a version for review you can chose the build to use.
I also encountered the same problem. Xcode7.2.1.
Effective solution is:
You can try:
Closing Xcode.
Opening the keychain,deleting the certificate with the corresponding key string.
Opening Xcode, Preferences -> View Details -> Reset Certificate
Choosing the right certificate.

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.

The bundle identifier cannot be changed from the current value error

I made iPhone app, now i want to upload this app in Appstore.
When i try to upload archive file from organizer it shows me this error:
:
Bundle identifier in my target project is com.Appname
What changes i need to do ?
Please help and thanks in advance.
So it shows that both identifiers are not same,
Create new identifier like, com.cmpny.appname
Set up again itunes app using this identifier
Use this identifier in xcode and create archive
So here's what's happening:
You have previously registered an app ID in iTunes connect which is "waiting for upload," and you've forgotten about it.
You have just made another app which you are trying to validate, but the status in iTunes connect is "prepare for upload."
When you hit "validate", the Organizer shows the old App name as the Application name, where it says "Application:" which you are probably overlooking.
And here's what you need to do:
Go to iTunes connect and change your NEW app's status from prepare to upload, to waiting for upload, by hitting the blue button "ready to upload binary" on the top right corner of the screen.
Go back to the Organizer window and hit "validate." Xcode will now recognize the new app and you won't get the error message you reported above.
Hope this helps. Cheers.
Your bundle identifier should be com.companyname.appname
Set this identifier in Xcode project settings.
Create App id using this Bundle ID in iTunes connect.
Create a provisioning profile using the new app id.
Take a new ipa file using this profile. and try validation.
Make sure that the bundle identifier used in your xcode project target settings and the bundle identifier in app details in iTunes connect should be same.
Note: Please create new app in iTunes with the new bundle identifier.
Go to iTunes Connect -> Menu More -> About this app and change the Bundle ID and bundle ID Suffix.
In my case the problem was the lowercase / uppercase bundle ID which was set in the app and in iTunes. Make sure they are the same - change the iTunes one from More->About this app

Fail to load app in the AppStore

I create new app in iTunesConnection, and then trying to appload zip-archive with Application Downloader. But when i push "Deliver Your App" Downloader shows me this error:
But i got 2 apps, which "waiting for download"
What is the problem? Any ideas?
UPD. XCode shows me the same error
Double check your [project-name]-Info.plist file if it does contain correct bundle identifier.
Bundle identifier should match the one you configured in your provisioning profile for your app.
For instance: com.mycompany.effecto
Also make sure if you are using right provisioning profile for both apps.
Edit:
You application in itunesconnect need to be in 'waiting for upload' state and not in 'prepare for upload'. Please fill all required data in itunesconnect then your status will be updated.
You may need to click prepare for upload and fill all legal stuff in there.
All was okay! The problem was in my proxy-internet. iTunesConnections doesn't work wuth proxy. That's why XCode and AppDownloader didn't see any information from my account.
Thnx all for your answers and comments.

Resources