2

I have created a Safari app extension through an Xcode target that I want to change the name of. Initially, when creating the Xcode target, I simply called it "Safari Extension", thinking that I would be able to change it easily later. I thought changing it would be as easy as changing the "Bundle display name" in the Info.plist file in the target folder, as shown here:

enter image description here

However, I tried this and built the app, but nothing changed. I also tried uninstalling and reinstalling the extension and even the entire app, to no avail. If anyone has a way to rename the Safari app extension, please let me know. Thanks so much!

Geshode
  • 3,600
  • 6
  • 18
  • 32
Ryan Mohta
  • 21
  • 2
  • Changing the bundle display name should work fine, at least now. Plus, you need to reopen Safari after updating it. Otherwise, the changed name on Safari's Preferences is not reflected. – Manabu Nakazawa Oct 03 '21 at 23:03

3 Answers3

1

You can rename an extension quite easily. In the target, select the extension you need and go to Info. Change the Bundle Display name.

ScreenShot

RiveN
  • 2,595
  • 11
  • 13
  • 26
  • Your answer could be improved by providing screenshots. As your answer is currently written, it's hard to understand the solution. – Tyler2P Nov 27 '21 at 10:34
1

You need to edit the "extension_name" key in the extension's messages.json file under Resources/_locales.en/messages.json

Bret
  • 883
  • 1
  • 9
  • 18
0

Try creating a new scheme: click on the top-left 'Messenger Black' in your image and choose 'New scheme...' and put the new name in here. Save the scheme and this should then work okay.

Nick
  • 4,820
  • 18
  • 31
  • 47