Reputation: 31
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!
Upvotes: 3
Views: 960
Reputation: 912
You need to edit the "extension_name" key in the extension's messages.json
file under Resources/_locales.en/messages.json
Upvotes: 3
Reputation: 21
You can rename an extension quite easily. In the target, select the extension you need and go to Info. Change the Bundle Display name.
Upvotes: 2
Reputation: 5190
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.
Upvotes: 0