can I use an old bundle identifier in Xcode? - ios

Good morning, I had an old bundle identifier com.a.b, but now I create a new project with the same bundle identifier com.a.b, Xcode tells me I should change it, how can I use com.a.b in this new project?

You can not. A bundle identifier is a unique ID in the Apple Developer portal.
If I define one in my account, it will be blocked for you as well.
Even if I delete mine, it will not be released.

Related

The app ID cannot be registered to your development team

I am trying to deploy an iOS app to a test device with Xcode 9.1. but I get the following error:
The app ID "com.myDomain.myApp" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.
I have 2 Apple IDs registered in Xcode and I made the mistake of choosing "Automatically manage signing" with the wrong development team, the one associated to the wrong Apple Id. Now I want to change it but I don't know how.
This is what the signing section of the target looks like for the development team I chose by mistake:
This is what the signing section of the target looks like for the development team I would like to use instead:
I have gone to the Apple Developer portal and couldn't find the app under App IDs, so I don't know how I can remove it to start from scratch. I have removed the signing certificate from the local keychain but that is not enough.
Note that I still would like to use "Automatically manage signing" and I would still like to keep the bundle identifier.
I had to reuse the Bundle Identifier, because we were replacing an old app. I spent three hours trying everything I could find on the internet.
In the end I changed the bundle identifier, pressed all the buttons, then changed it back to the original bundle identifier and everything worked.
This is not the first time that I spent hours wasting in Xcode/ iOS Dev while in the end I just needed to do some voodoo ritual.
Change the app Bundle Identifier and make sure its unique.
For example: com.companyname.appname to com.companyname.appname123
Here is what worked in my case (I needed to keep the same bundle ID as the app exists on the AppStore, clearing everything and changing the bundle ID to something different, then back to original did not work).
Selecting 'Debug' in signing and capabilities for the target, and set the correct team. For some reason the selected team was the old one there even tho it was updated in 'all'
Change bundle identifier to all lowercase.

Xcode: Change Bundle Identifier Case with automatically managed signing

Xcode 8 seems to have the convention that the bundle identifier follows the case of the app name e.g. com.test.AppName. However in our team it is convention to have it all lowercase. After we created a new project we tried to change the case of the bundle id but with no success. What we tried:
1) Tried to change it in Xcode
We changed it to lowercase and then changed some capabilities. The result was the error:
The app ID "com.xyz.xyz" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.
2) Delete in the developer account
There seems no possibility to delete an automatically generated bundle ID online.
Is there any way to fix this?

developer.apple.com change bundle ID

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.

Product Name not displaying properly in Bundle Identifier - numbers not showing?

On my app developer site I created a an app ID of org.myorg.54Miles My apps name is 54Miles.
In XCode my product name is set to 54Miles under my Build Settings - but it makes my bundle identifier under the general "org.sd54.-4Miles"
Any idea why this is? It's causing me to not be able to archive the app and get it distributed because the AppID doesn't match the bundle ID in xcode.
I want it to read: org.sd54.54Miles - but currently I cannot get it to stop reading org.sd54.-4Miles
Cannot figure it out!
I ended up just leaving the bundle ID as it was since apparently Apple has a problem leading with digits in the bundle identifier.
So I just created a new App ID in the developer site to match it. I have since been able to deploy it without issue.

Changing bundle Identifier - Acquired an application to create new version from scratch

My company have acquired an app that was already on the app store. The bundle identifier contained the old company name e.g com.oldcompany.CoolApp. However we are to build a new app to take its place, can we change its bundle id in iTunesConnect? e.g com.newcompany.CoolApp. Can this be done? What are the other possible conflicts?
Although the app is in the hands of a new company, must we continue to use the old Bundle ID?
Thanks in advance.
You can transfer the app to a different developer account. Check out this link
So I found the solution, if you match the bundle identifier and app name then there is no problem. The phone views it as the same.

Resources