Moving WatchKit to new project

I have an existing WatchKit app that I would like to move to a new project. All the tutorials show how to create a WatchKit app from scratch. Is it possible and is there any information on how to move a WatchKit app to a new project?

Hi @omnisurfer! If you are looking to move your WatchKit app to an existing iOS project, here are the steps to take:

  1. In Xcode, open the project for your iOS app.

  2. Choose File > New > Target, and navigate to the watchOS section.

  3. Select WatchKit App, then click Next.

  4. In the next sheet, enter a product name for the target.

  5. If you plan to implement a custom notification or complication, select the appropriate checkboxes.

The Include Notification Scene checkbox is selected by default. It is recommended that you leave this checkbox selected, even if you do not plan on implementing notifications right away. Selecting the checkbox adds an additional file to your project for debugging your notification interfaces. If you do not select that option, later you must create the file manually.

  1. Click Finish.

If you need more information, the official Apple documentation has valuable information.

Happy coding!

This topic was automatically closed after 166 days. New replies are no longer allowed.