2

I would like to know how to add an existing custom keyboard extension to a Xcode project?

Also, how to remove completely a custom keyboard extension from a project?

I don't know how to add/or remove targets in a project.

João Oliveira
  • 422
  • 3
  • 17

1 Answers1

2

I don't know how to magically add an existing custom extension.

(Just add keyboard extension target & copy/paste the files.)

How to remove is like this.

enter image description here

Select the project file.

enter image description here

Delete the Target.

enter image description here

Manage Schemes...

enter image description here

Delete the Schemes

enter image description here

Finally Delete the files.

It is over!

Jeonghan Joo
  • 225
  • 2
  • 10
  • Thank you for the delete method. About the adding, I also followed what you said. But when I have a lot of things related to Info.plist, it's difficult to re-edit it again. Is it possible to copy and overwrite the Info.plist file? Because last time, I messed up my project and it's not a good idea to do so. – João Oliveira Apr 17 '15 at 04:42
  • Info.plist can edited like text by (mouse right click on file, open-as, source code). You can copy from the existing one – Jeonghan Joo Apr 17 '15 at 06:18
  • Thanks but I don't think it is the best solution to edit the plist. Unless I know where to copy and paste. – João Oliveira Apr 17 '15 at 22:30
  • Actually there are 18 plist keys in the keyboard-extension plist. But among them, NSExtension and Bundle things are important – Jeonghan Joo Apr 21 '15 at 01:11