'Is there a way to change the name of a Safari app extension in Xcode?
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:
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!
Solution 1:[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.
Solution 2:[2]
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.
Solution 3:[3]
You need to edit the "extension_name" key in the extension's messages.json
file under Resources/_locales.en/messages.json
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | RiveN |
Solution 2 | Nick |
Solution 3 | Bret |