Bundle identifier changed after changing application name - ios

a little stuck here,
I changed the name of my application, the bit that will show under the icon on a device, bundle identifier right ? I want to submit an update to my app, but now my bundle identifier is different, and there is no code signing identity profile to select to validate/distribute. How do I go about submitting my app if the identifiers are different?
Really confused
any help would be much appreciated
thanks

By default your bundle identifier is com.yourcompany.${PRODUCT_NAME:rfc1034identifier} in your Info.plist (Bundle identifier key), if you change PRODUCT_NAME you change also your bundle identifier. You can specify other bundle identifier in Info.plist which you can find in Project Navigator. To change the name of application in Spring Board (under icon) you have to change Bundle display name in Info.plist. For more details about Info.plist read apple documentation:
https://developer.apple.com/library/ios/#documentation/General/Reference/InfoPlistKeyReference/Introduction/Introduction.html

Related

No matching provisioning profiles found error when uploading to app store

I was trying to upload new version of my app but I encounter an error like:
I am using automatically manage signing:
Can anyone help? Thank you
I figured out, it was due to the product bundle identifier under the build setting was different from the one in info.plist
We need to check product bundle identifier in below things
1.in Plist set your app bundle identifier
Bundle identifier String com.domainName.projectName
2.Product Bundle Identifier in Project and Target
You need to set app bundle identifier in Build Settings of Project
Then you need to set app bundle identifier in Build Settings of Target

How to change the bundle identifier in xcode

I want to publish my app on iTunes.When i enter the app name and bundle id it shows an error that app name and app id is already benn used.I searched on it and only solution i got is to change tha app name and bundle id.
But the app id should be the same as bundle identifier in our xcode project.So can anyone tell me how to change the bundle identifer in the xcode project.
Goto the settings of your app target. Under general section you can change your bundle identifier. Usually bundle identifier goes like com.companyID.appName
Try to change in your app target -> General -> Identity -> Bundle Identifier.
But if app name is written in gray color there then it is likely because you have a product name variable, something like .${PRODUCT_NAME:rfc1034identifier}, appended to the end of your bundle identifier under Target (your application) > Info (info.plist). Try removing that.

Can't edit Bundle Identifier

Apple reject my app because I choose appid with In-app purchase but I don't use it. So I created wildcart id with com.domain.*. But ı can't use it. Please help. Thank you.
I download my provisioning profile. And trying to drop over the project in XCode. But the Bundle identifier doesn't change.
My app id is com.domain.*
In Xcode bundle identifier is com.domain.appname.
What should I do?
In the info tab of your Target, change your bundle identifier. The wildcard simply means that you can use any value, not just an asterisk. For example, com.myappcompany.ourfirstapp is a valid identifier for the com.myappcompany.* identifier.
Please go to info tab in Target of your application and change bundle identifier from there.

Change application's name

How can I change the application's name without changing it's bundle identifier?
I've tried changing the bundle identifier in the .plist file so it will remain the same, but when trying to run the application i get an error in xcode stating:
No such file or directory (/Users/myUserName/Library/Developer/Xcode/DerivedData/OLD_APPLICATION_NAME-hhknzcpmarwfwldirezkiexvenqp/Build/Products/Debug-iphoneos/NEW_APPLICATION_NAME.app/NEW_APPLICATION_NAME)
This only happends when running on device. On simulator it works fine.
Found answer to my own question. See answer below as I can't accept it for another couple of days.
So I had to change the app's name after having changed the provisioning profile to one that didn't match my application's name.
So I only needed to change the name of the application that's being displayed on the device home-screen.
This can be done by only changing the Bundle Display Name, found in the .plist file. Thanks for your quick responses anyway.
You should change the CFBundleDisplayName in the apps Info plist file. This value is what the iOS spring board uses underneath each app. This can also be localised.
Change the bundle name .bundle identifier is for the provisioning profile.

Profile doesn't match Application Identifier com.domainname.helloworld

I try to run a HelloWorld project into my client device, the application identifier in Xcode is: com.domainname.HelloWorld, and when i created the provisioning profile, in the AppID, i have putted: com.domainname.helloworld (lower case).
Now, in Xcode, i try to assign the code signing identity to the provisioning profile i have created, however, in the drop list, i can see the provisioning profile but i can't select it.
I am following this tutorial and i have doubt i didn't knew how to Don’t forget to add the new provisioning profile to XCode as well.
Can you please help me there? thanx in advance.
BundleIds are case-sensitive.
Make sure you call it com.domainname.HelloWorld in your Info.plist.
From Apple Documentation:
Typically, the bundle ID in your Xcode project is a string formatted
as a reverse-domain name such as com.MyCompany.MyProductName, where
you replace MyCompanyName and MyProductName with your domain and
product name. However, unlike domain names, app IDs and bundle IDs are
case sensitive.
I had the same problem with my application Extinct Birds, Xcode adds disabled suffix with project name in Application Target->Bundle Identifier
Way to find this in your project Info.plist is by searching for CFBundleIdentifier
You may get the following text entry form the file
CFBundleIdentifier
com.softwebsys.ExtinctBirds${PRODUCT_NAME:rfc1034identifier}
For me removing ${PRODUCT_NAME:rfc1034identifier} from the string worked well. Here is my final entry
CFBundleIdentifier
com.softwebsys.ExtinctBirds

Resources