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:
In Xcode, open the project for your iOS app.
Choose File > New > Target, and navigate to the watchOS section.
Select WatchKit App, then click Next.
In the next sheet, enter a product name for the target.
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.
- Click Finish.
If you need more information, the official Apple documentation has valuable information.
This topic was automatically closed after 166 days. New replies are no longer allowed.