Let me show you an example of each App ID type. As the name implies, an explicit App ID doesn't contain a wildcard. The bundle ID search string matches the bundle identifier of one application.
This isn't something you can or should change. The bundle ID search string, com. In other words, the bundle ID search string matches the bundle identifier of one application, the application with a bundle identifier of com. An explicit App ID can only be used for one application. A wildcard App ID is a bit different in that it can be used for one or more applications. The above App ID can be used for several bundle identifiers.
The asterisk or wildcard indicates that anything following com. You already know that a bundle identifier uniquely identifies an application in Apple's ecosystem.
What is the purpose of an App ID? An App ID links one or more applications from a development team in Apple's system. Why is this important? Whenever you want to enable a capability or application service for your application, you enable that capability for the App ID your application is linked to. This used to be tedious, requiring a visit to Apple's developer website.
Xcode has evolved quite a bit over the years and it takes care of the details most of the time. Let me show you how this works. Name the project and set the Organization Identifier using reverse domain name notation. The organization identifier is used to create the first component of the application's bundle identifier. Project's name is appended to the organization identifier to create the bundle identifier.
Don't worry. Another scenario These are the steps: In the "Supporting Files" group locate the info. Delete the "old" app from the simulator or any other testing device. Clean and rebuild your app again. You will now see the new app name in your home screen. Peter Mortensen 29k 21 21 gold badges 97 97 silver badges bronze badges. Javier Cadiz Javier Cadiz The scheme change didn't go smoothly for me: could only select My Mac after that. Thankfully the problem is easy to fix: stackoverflow.
Had the same problem as marcelsalathe, his fix solved the issue. Ideally this should be added to Javier Cadiz's answer. There is a bug with Xcode where the rename function doesn't rename shared internal framework properly. See here for more info: stackoverflow. The "Another scenario" worked great! Two notes: 1. I had to add the "Bundle Display Name" in Info. If it doesn't appear to work, make sure you're changing the bundle display name in the Info. I wasn't paying close enough attention and changed it in the ProjectName-Info.
Thankyou so much for the detailed explanation! Show 2 more comments. You change the bundle display name in the info. It's as simple as that. Atma Atma Then I also had to clean build directory press and hold options key while traversing to xcode Product menu and there will be an option to clean build directory.
This changes the app name displayed under the icon without the hassle of changing the app id and provisioning profiles. Accepted answer no longer applies as I understand it. This is by far the superior solution! JUST changes the name under the icon, and not bundle identifiers which mess up provisioning profiles — Matthias Schicker. If 'Bundle display name' is not shown, then simply add it.
Show 1 more comment. This is a bad answer, if you do that your test project won't run — Gabriel Goncalves. This would works great only with one issue, on your user's devices it will create a separate application with the new name instead of renaming the currently installed one they already have. Changing the 'bundle display name' in the project plist is the best way to do it. Add a comment. Alex Cio Alex Cio 5, 5 5 gold badges 40 40 silver badges 73 73 bronze badges.
This is the only solution that doesn't mess up with other file names and identifiers, and mostly - doesn't change the Bundle Identifier - which is essential if you already have an app id You can add a new row with the following key: Bundle display name Here is an example for this: When you use this the app name, which you have given with this key, it will be displayed.
So you can do this simply. Code Hunter Code Hunter 7, 17 17 gold badges 61 61 silver badges 83 83 bronze badges. Correct one is : "Bundle display name" — Ucdemir. This is how I changed it in Xcode 4: Click on your target file the first main file of the application.
Go to Build Settings. Scroll down you will find a bar called "Packaging". Under Packaging you will see Product Name , and you can change the project name. Dilip Rajkumar Dilip Rajkumar 6, 6 6 gold badges 58 58 silver badges 75 75 bronze badges.
This works, but it also changes the deployed app name any existing installs won't get "upgraded", it will be a second app. Changing the "bundle display name" as per CodeHunter's answer is nicer — Orion Edwards. Under the general tab you will see the Display Name :. If I build and run the app now, the app name will have changed. The last two images in this post show the change.
To change your app name by changing the name of the target, you need to go to your project navigator and edit your project name:. Yours might have more changes, double check them and then click Rename.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog.
Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta. Now live: A fully responsive profile. Linked Related
0コメント