Xcode: How to change App Name for Notifications Center
Asked Answered
D

1

19

Scenario

I have an app that sends notifications to the users. I have recently changed my app name in Xcode (about every way you can change it, "Bundle Name", "Product Name", you 'name' it...) and then changed it all back to the final name.

Problem

Now when I send a notification to the phone it doesn't show the final name change in the header section of the Notification Center. Instead, it is showing the old name that I changed it from.

Picture (circled in red - this is the part that is showing the old name)

enter image description here

FYI

Under the "Info" tab - the fields, "Bundle name" and "Bundle display name" both show the correct final name change.

And under the "Build Settings" tab - the fields, "Product Module Name" and "Product Name" both also show the correct final name change.

Question

Does anyone know if this is a bug or if there is a naming field I'm failing to change for this?

Dartmouth answered 2/11, 2014 at 21:49 Comment(5)
Have you tried rebooting the device or resetting the simulator?Panorama
@Panorama you saved the day! Thanks!Riccardo
@Erics First time this cliche question works... Thanks!!Covarrubias
@Panorama Thanks it workedEctoplasm
Delete and re-install the app worked for me.Selfwill
P
20

Rebooting the device or resetting the simulator seems to fix the issue.

PS: Credit goes to @EricS but thought I would go ahead and make a proper answer so we don't leave the question unanswered.

Papery answered 25/2, 2016 at 18:18 Comment(3)
This stung me real good yesterday, thought I was going crazy and the reboot fixed the issue. Thank you!Milkmaid
What if I want to change the name of app in Notification only?Ruggles
@AshutoshShukla you can't change the name of the app in the notification itself. It always uses the name of the appPapery

© 2022 - 2024 — McMap. All rights reserved.