Search code examples
xcodewatchkit

How can I remove Watchkit from my App?


I want to remove Apple Watchkit from my App until the new version of IOS is released. This is so I can upload releases of the App until we can upload Watchkit based Apps.

I deleted the 2 Folders:

  • Twoater WatchKit Extension
  • Twoater Watchkit App

I then deleted the two Targets of the same name.

I built the App successfully.

I then tried to run the simulator and got a LaunchError = 0.

So something somewhere is not correct.

Did I remove the Watchkit in the correct way or is there a better way of doing it to ensure that all config files are properly adjusted ?

Shows the Folders and Targets I wish to remove


Solution

  • What you're doing is quite a bit overboard.

    You should just create two separate schemes: one which includes the WatchKit App Extension and App (for testing for iOS 8.2) and one that doesn't include it (for testing with iOS 8.1 and submitting to the store).

    You'll need to provide more details on your error running in the sim. See An error was encountered while running (Domain = LaunchServicesError, Code = 0)