Why am I having so much trouble submitting my app to Apple? - ios

This is my first time trying to submit an app to Apple, and I'm having a bunch of issues. I'm pretty sure I've generated all my certificates, AppID's, etc... I've been running the app on my phone just fine, then all of a sudden I started getting errors submitting. My first error was this:
But as you can see, the Bundle ID's are the same:
The ID in Xcode:
And the ID in iTunes Connect:
So I tried changing the Bundle ID, and made sure the Bundle ID's were the same across iTunes connect, Xcode, etc. I started out the project with a different name. Should I just start a new project with consistent naming?
Should the Bundle Identifier in Info read com.Kaen.M01eskin ?
It doesn't work with Application Loader either:

Somewhere the bundle identifier is getting M01eskin---prepended to it. As you can see in the dialog. I would check in your info.plist if perhaps there is something in Bundle identifier before the $(PRODUCT_BUNDLE_IDENTIFIER).
You could try hard coding it there and see if that resolves your problems.
Or try looking in your build settings for the target under Product Bundle Identifier and check there as well.

Make sure bundle id is same on your application & iTunes Connect.

Try using the Application Loader utility instead of the Archive upload to the App Store. It's available in the menu under Xcode... Open Developer Tool... Application Loader. You still have to create an Archive first; main difference is that you have to pick out your Archive via a Finder interface. Plus, you can get an active timeline for all the tasks, with current task and elapsed times.

Related

Bundle ID format is wrong?

I'm having a problem whereas I cannot submit my archive for beta testing due to this problem (keep in mind I've already got a build out for testing, uploaded a while ago):
Xcode attempted to locate or generate matching signing assets and failed to do so because of the following issues.
An App ID with identifier '' is not available. Please enter a different string
According to this question, it seems that I should change my bundle ID from the format I am currently using: com.my.app, to the preferred format: com.my.app.XXX.
However, how can this be achieved? I'm using Firebase version 3 from Google as my backend provider, and I cannot seem to change the Bundle ID there, even if I would take the big step to create a whole new app in iTunes Connect due to not being able to changing the bundle ID.
My limitations (it seems):
Can't change bundle ID at Firebase
Can't change bundle ID with project in iTunes Connect.
Can't delete app identifier in member center because it's being used by the app listing in iTunes Connect.
Can't delete app from iTunes Connect.
Hence I'm a little stuck here; what's the best way to dig out of this?

itunes connect bundle id not available

I've created an app using Unity. Before uploading the archive, I'd tried to add a new app record in Itunes Connect, but it says that the bundle ID is already in use, even if there's not a single app with that bundle ID. The ID is the same of my project configuration. Why it says that it's in use?
The App Id and provisioning profile was generated by XCode using "fix issue", since doing it manually was creating issues with the project generated by Unity. There is no alert within the XCode project configuration, so I guess it's okay there, but still I can't upload it to the store...
Just changed the bundle id on both the project and online and it worked, actually I thought it was pretty strange the it was already used since it wasn't a usual name. Just run in a little issue with bundle id not related to the provisioning profile, but XCode fixed it without any problem.

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.

No suitable records were found verify your bundle identifier is correct

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

The bundle identifier cannot be changed from the current value

I am attempting to submit my game to the App Store. For some reason I am getting this error message when I validate my archive and I have no idea why!
The bundle identifier cannot be changed from the current value
The bundle ID in my XCode project directly matches that of the product in iTunes.
Why on earth is submitting to the App Store so complicated. I've done it three times now and always run into a million problems :/
I have:
An app created in ITC with the correct bundle identifier
A company certificate that I use for all my games / apps
An app ID that directly matches the bundles in both XCode and ITC
A production provisioning profile that matches the correct bundle ID
I'm having the same exact problem, plus it keeps complaining that there's an icon file missing for iPad that is clearly there, added to the plist AND in the Target's General/App icons area. I think Apple just makes things more difficult to try to slow developers down. Android is such a treat compared to this mess! I'll write back if I can figure it out.
EDIT: Holy cow after rebuilding the project from scratch and recreating the provisioning profile I finally noticed that my stinking app in ITC was not set to "Waiting for upload"... dumb on my part, but wow iOS, thanks for picking another app's bundle ID to give me the error instead of telling em what the real problem was!

Resources