consequences of itunes app name being different then xcode project name - iphone

what are the consequences of itunes app name being different then xcode project name?
Will my app not be accepted into the store if they are dfferent?
fyi I already created an app called X on itunes connect and linked it to an xcode project named Y. so is it possible to rename my project in xcode as also X and create a new app on itunes named x and then connect them?

Many apps have up to 6 different names. (project, target, product(file name), bundle ID suffix, bundle display (under icon) name, app store name, advertising name, etc.). You can configure these names all individually (I usually do). No problem as far as Apple is concerned, unless some of them are misleading or a trademark violation or something.

It doesn't matter at all. Apple doesn't see your xcode project, just the binary you submit. As long as the binary settings, like the code signing identity are correct, you could name it anything. Also, I don't recommend renaming your project. If you do it manually, you will break the project. And if you use xcode's built in way, you get a kind of weird result (from my experience).

It doesn't matter at all. Project name and even bundle name can be anything. The only thing matter is your bundle id matches app id in the iTunes Connect.

Related

Can I delete the app which was rejected in iTunesConnect and upload the same code with different application name?

I've developed an app with the name "sports10", uploaded it to the iTunesConnect with the same name and got rejected due to a few issues in my project.
Now my client wants to submit the app with a different name, "cricketStar" and completely new set of UI colors (rebranding).
My question is, can I use the same developer account, to upload the rebranded app with the new name "cricketStar" after deleting the initial binary with the name "sports10" for apple's review or will they reject it without a review since the code is same?
Yes you could. You would need to change the bundle id and provisioning profile for distribution.
However, you do not need to do that. You can keep the project name the same and simply change the display name in iTunesConnect->[yourapp]->App Information->name
From iTunesConnect:
The name of your app as it will appear on the App Store. This can't be longer than 30 characters.)
And in project targets in Xcode change the display name to your desired name.
Furthermore, if you want to rename your Xcode project, here is a SO answer which outlines the necessary steps.
If you want to rename everything, you will need to: (1) rename the project, (2) create a new bundle id, (3) rename provisioning profiles, (4) add the new bundle id to the edited provisioning profile, (5) create a new app in iTunesConnect.
I would like to stress that doing all those steps is unnecessary. The only people that will be able to see the inconsistencies in names are the people with access to the Xcode project or iTunesConnect.
Edit
From Apple:
You can change the name of your existing app only when submitting an update of your app binary. If you submit an app name which is already in use within the same geography in which your app is sold, you will be prompted to enter another name.

Different .app name - new submission iPhone

I have recently rewrote my application and started with a fresh project. The App its self is using the same bundle seed and Bundle identifier.
As my project has a slightly different name the app it produces a slightly differnet .app (file name) to what is already in the store.
Am i right in thinking as long as the bundle ID is the same i wont have any issues?
Thanks Ahead
So you want to make an update to your app in the AppStore. Then you are thinking right. As long as you don't change the bundle id it is ok. You can't change the bundle id when you make an app update but the app name of course.
Apple distinguish apps on the basis of bundle id (com.yourCompanyName.appName) so don't worry its OK.

Binary name or application name: same thing?

I hope someone can help me with my doubt.
I've done 3 different applications starting from the code of the first one, as a result I have 3 different binaries, but they all have the same name.
Is this relevant for iTunes submission or the important thing is just the name I'll give them during the submission process? Should I rename them?
thanks
An app has at least 4 different names:
the name you give iTunes connect (which appears in the App store),
the bundle file name (the Product name),
the bundle ID suffix, and
the bundle display name (appears under the icon).
The bundle ID is the unique identifier within the App store, but the user never sees it. But the bundle ID must absolutely be unique, both for testing on your device and for the App store. The user also never sees the Product name unless the search around within their iTunes file directory. The App store name must also be unique, not only for your apps, but usually within the entire App store.
These 4 names are all individually customizable between Xcode and iTunes Connect. There are many apps approved in the App store in which all 4 of these names are different.
Names won't be an issue..but Bundle Identifier in the info.plist is ..
If the Bundle identifier is different for all three then that means 3 different apps.
If same..then they all will be 1 app.you can upload only one of these binary to iTunes Connect
Bundle display name
In the info.plist is the name shown under the icon when app is installed.
Product Name
PRODUCT_NAME
This is the basename of the product generated. [PRODUCT_NAME]

How is application ID used by Xcode when building/signing the application?

iOS Provisioning files make reference to the Apple application ID (of the form "A1A2A3A4A5"). Most often, the DNS form of the application is replaced with a star (*).
My understanding is that the provisioning profile is stored in the iOS development device and is not used by Xcode. Thus, when building/signing the application, how can Xcode include the app ID into the executable file ? The only information Xcode has is the "Bundle Identifier", which is of the form "com.mycompany.myapp" - but there is no App ID, thus there is no way to add the app ID at this stage.
Does anyone know how this works. I feel that many people use those tools (as I do) without really knowing how it's made inside.
Many Regards,
Apple92
An iPhone application is not just an executable, it's a bundle (like a directory) that contains the executable, but also resources (like nibs or images) and in particular contains a small plist manifest file with details about your application - including the application ID. The provisioning profile is also included in this application bundle.
A device also maintains a list of provisioning profiles it has installed, but the profiles can be in the application as well and are checked against the application plist file to make sure everything matches.
For anyone who may stumble upon this question, I give a lot of detailed context in my answer to this related question.
https://stackoverflow.com/a/20557213/117471
Basically it boils down to this:
A Bundle ID is a string that is defined in Xcode
An App ID is an object that lives in Developer Member Center. It is often confused with Bundle ID because the App ID Suffix parameter of the object (I'm trying to drive home the fact that App ID is not a string. Is it working?) matches the Bundle ID of your app.
The App ID does not exist in iTunes Connect, or Xcode. It is only in Developer Member Center.

iTunes thinking two distinct apps are the same one

I have an iPhone app that I created by copying an xCode project to another location and then renaming the project, executable, product etc. Lets say the original and the copy are app A and app B. If I install A to my phone with an ad hoc provisioning file, it installs and runs fine. The same is true for B. But if I first install A and then try to install B, it tells me B is already installed. Also, if I right click on B in iTunes and look at the .ipa file that is created, it is sometimes the same one that is created for A. So these two apps share something in common but I cant figure out what it is. Any ideas?
The iPhone identifies apps by the Bundle Identifier (also called the App ID) in the apps Info.plist. You can change this in Xcode in your Target Property Settings.