developer.apple.com change bundle ID - ios

I have an iOS project which is listed on developer.apple.com, so it has a certificate, but it has no bundle ID. It has never been submitted to iTunes Connect. I have added the ID to Xcode, but iTunes Connect does not see it. Therefore I cannot submit it. I can't see any way to add the ID on developer.apple.com. So as far as I can see, there is no way to get iTunes to let me submit it.

It turned out that somehow, the app had been changed from targeting iPhone/iOS to targeting Mac/Os/X. Therefore the bundle identifier did not show up in XCode. So I could not even assign one to the app. After I figured that out and put in a proper bundle ID, I did basically as ldindu suggested: deleted the old app ID and created a new one with the correct bundle ID, and got new profiles.

Related

How to set provisioning profile when making new target

I have created my first ever iOS app. I am basically an android developer. and I know how to do things in android like the one I am trying to do in iOS
Right now I have made one app and I want to change a little and deliver it to my another client. For this I have to change only 4 things
URL
APP NAME
BUNDLE ID
SOME PASSWORD STRINGS
now as I have created a new target by following this tutorial, I have seen the red mark on provisioning profile. It says "NAME_MY_PROVISIONING PROFILE" has app ID com.mypreviousclient.bundle.identifier which does not match the bundle id of my new client
It clearly tells that the bundle id I just created is not inside my provisioning profile.
But I really do not know what to do now? What should I do now?
For changing bundle id in xcode for new app. You have to also create that bundle id in apple developer console. Here are the steps.
create bundle id in apple developer console.
Now you can create application in itune.
create certificates.
create provisioning profiles.
set them into xcode and run.
Happy coding.

An App ID with Identifier is not available. Please enter a different string

I've just enrolled in the Apple dev program, but when trying to create an APP ID in the Member center, I receive this message:
An App ID with Identifier is not available. Please enter a different
string.
Before enrolling, I was using the same account (but not part of the developer program), and building my app for my own phone.
I'm 200% sure this bundle ID is not taken by anyone else but me.
How is that possible in such case? Can XCode register an APP ID by itself ?
I also notice an app id called "XC Wildcard" which is defined for any id "*"
I'm really kind of lost, so any help would be really apreciated.
Thanks!
This happened to me and it is because I had accidentally assigned the App ID to my personal account instead of my team account because I had automatically manage signing ticked in XCode. The error message means the ID has been taken and can't be used on your team account now.
You need to remove the App ID from your personal account, however because this is a free account you don't have access to do this so you need to contact Apple Developer Support and request that the App ID is to be removed from your personal account.
I called and they sorted it whilst I was on the phone. I was then able to setup the App ID with my team account. Don't forget to ask them to delete all versions of the App ID, for example, if you also have a .dev and .staging version of the same ID.
This one looks weird but this worked for me.
At first I had an App ID with Name "My App" with identifier "com.mycompany.myapp". I got the same error
"An App ID with bundle identifier X is not available. Please enter a
different string"
when I tried to export. But then I changed my App ID's name to "XC com mycompany my app" and left everything as it as. It worked now.
I have another use case, check if your App ID contains 'ios' in it e.g.
com.domain.ios.MyApp
if so then you may need to remove it, this must be some recent change as I was able to register the App ID with ios earlier.
I am using Xcode 12.4. And I have been facing this issue with Free account. Now I added Bundle Id to my paid account. Went through so many answers but no luck.
Following steps solved my issue. May someone get help from this. thanks
Actual scenario so far I realized :
Main thing is when you build with Xcode then Bundle Id auto registered with account[free account]
Same Bundle Id is not working for new Paid account bcz of duplicacy
For free account it is not possible to remove app/Bundle Id from App Store Connect
So have to change Bundle Id for new Paid account.
If it was paid account then possible to remove Bundle Id from App Store Connect
Steps :
Sign with free account again on Xcode Team
Sync with Xcode which create provisioning profile to sync
Then change Bundle Id to com.domain.appnamefree and sync with free account again
That means apple auto registered with this Bundle Id for this free account
Once this change got applied, the real bundle id became free and available
Then delete the free account from Xcode account
Now add paid account to Xcode Team
Change Bundle Id to com.domain.appname
And sync again so that apple recognised this Bundle Id for this Paid account
You need delete all invalid provisioning profile from your Apple portal and create a new app id with bundleID like com.my.appname:
Apple has just updated their Dev Center CGU. It seems that the app extension bundleId is stricter.
if your app bundleId format is : com.my.app
your app extension bundleId now have to be : com.my.app.XXX
Creating new appID and provisioning profile fix the issue.
here is link for more details
https://forums.developer.apple.com/thread/15712
I have faced same problem like that 'An App ID with Identifier com.xxx.xxxx is not available. Please enter a different string'. I did removed all provisioning profiles from apple developer membercenter and removed account from XCode preference.
Afterward create new iOS development and distribution provision profiles manually. Download all via XCode and run... it working perfect and did export or upload next version to AppStore.
Please try this.
I got the same issue an app id with identifier is not available. please enter a different string. And i do this.
You have to create a new Provisioning Profile and the old provisioning profile which you are using delete it first And then create a new provisioning profile from whatever the Apple Developer account you are using.
Install your new Provisioning Profile and its working fine and you can archive the project easily.
It means what it states that someone has registered the same identifier already. Simply create a more unique string.
for me to solve the problem I changed my team to individual, from myusername(team), if you're an individual is what you should use, other wise if you're a company use your team.

How to completely remove bundle id in iOS development?

How can I reuse the bundle ID I have created for the app ID? I even delete the associated app ID but the bundle ID still unavailable.Does it to say bundle ID couldn't be removed completely once created?
The bundle id can't be reused as exact. For example com.abc.xxx can be used only once. If you had created this app Id from one account, you can't create the same app Id from the other account. However, you will still be able to create a new one as com.abc.xxx1 like or so. There should be atleast 1 character difference in the app Id's
If you want to delete an app ID, follow these steps:
Open https://developer.apple.com and enter using your credentials.
Click on Identifiers under the Certificates, Identifiers & Profiles section.
Now click on the App ID you want to Delete.
Click on Remove next to Edit your App ID Configuration.
Again click on Remove in the confirmation message that opens.
I'm not sure what your exact scenario is, you didn't provide enough information to know that. However, I came across a similar problem which was as follows:
Some time ago I registered a new Apple Account and created an iOS app with it. I did not pay for that, i.e. the app could only ever be used for 7 days. I've never submitted that app to the app store. Nonetheless, the bundle identifier of the app was associated with that particular account.
Some time later I registered another Apple Account. This time with a payed subscription. When I attempted to sign the app I created with the first account, Xcode complained as follows:
Failed to register bundle identifier. The app identifier "xy" cannot be registered to your development team because it is not available.
and
No profiles for 'xy' were found. Xcode couldn't file any iOS App Development provisioning profiles matching 'xy'.
It seems that the bundle identifier gets strictly associated with the provisioning profile of the first account. The way to solve this is to delete that particular provisioning profile. You can do so by going to the following folder and deleting the corresponding file in that folder:
~/Library/MobileDevice/Provisioning Profiles/

Change Bundle ID iOS

I set up my application in iTunes Connect. It has not been submitted yet (Ever). Later, I saw that my bundle identifier was not matching with the one in my Xcode project and iTunes Connect. I cannot change the bundle identifier in Xcode because it is faded out.
So I tried changing it in iTunes Connect by making a brand new app id with the correct bundle identifier. I go into my application within iTunes Connect and selecting a brand new bundle identifier from the drop down list but I do not see the one I just recently made.
Does anyone know what I am doing wrong or how I can change the bundle identifier within iTunes Connect?
Thanks!
The same thing happened to me, but I was able to see the new bundle id after logging out of iTunes connect and refreshing the page. I believe this is a problem with the new developer portal... It took 5 minutes once then refreshed and it appeared in the dropdown list.
Hope this helps, good luck!
UPDATE: Make sure you press the SUBMIT button after creating the new Bundle ID in the developer portal then press DONE... the log back into iTunes connect and it should be there.
It is probably less effort to change the bundle ID in your Xcode project instead of registering a new one with iTunes Connect.
You may change the bundle identifier by editing the Info.plist file.

Profile doesn't match bundle identifier

So I'm trying to submit an app to the app store. This is my first app so I think I jumbled it somewhere.
In iTunesConnect, my BundleID is com.mywebsite.appname
I created a distrubition profile through the Provisioning Portal with the same app ID that I used to create the BundleID in itunesConnect. When I try to code sign my release build, I see this:
AppName (for bundle identifiers 'com.mywebsite.AppName')
profile doesn't match bundle identifier 'mywebsite.AppName'
From googling, it looks like that the bundle ID is case sensitive. I tried creating another app ID in the dev portal as appname, but it didn't seem to matter since now in the dev portal, I have two apps called Appname. Even though it let me add another app ID, it displays them the same with the first letter as caps, and the rest not. So what do I need to do in order to get my profile to match the bundle id. And which bundle id do I need to match, the one on iTunesConnect?
Lastly, I want to make sure that the name of my app underneath the icon on the iPhone doesn't show up in lowercase. Is that possible? Thanks!
This screenshot shows you where in Xcode to set the Bundle Identifier:

Resources