As it was mentioned in the keynote I added a new Watch OS 2.0 target to my project. I copied all the files, storyboard objects and resources to the new watch app and watch app extension folders. The targets for the files are set correctly. Then I deleted the old target with all the files.
First problem that occured was the bundle identifier. The compiler told me now that the watch app bundle identifier must be a prefix of the extensions bundle identifier. In my WatchKit 1.0 app I used two bundle identifiers like x.y.z.watchapp and x.y.z.watchkitextension. But now it seems that this does not work anymore so I created a new AppID with x.y.z.watchapp.extension as a new bundle identifier.
But now I get another compliler error and really dont know how to fix it. Maybe someone can help me.
error: WatchKit App doesn't contain any WatchKit Extensions whose WKAppBundleIdentifier matches "x.y.z.watchapp". Verify that the value of WKAppBundleIdentifier in your WatchKit Extension's Info.plist matches the value of CFBundleIdentifier in your WatchKit App's Info.plist.
When I add this WKAppBundleIdentifier attribute to the info.plist of the extension and set it to x.y.z.watchapp as it was described in this message it still doesnt work and shows the same error message.
I created a new project to see how the info.plist files will look like. XCode created here two target with the bundle identifiers x.y.z.watchkitapp and x.y.z.watchkitextension. So there seems to be really a requirement that the bundle identifier of the app must be a prefix of the one of the extension. But there is no WKAppBundleIdentifier needed for building the project.
Is there something else we must keep in mind when we copy our files from an existing Watch OS 1.0 to Watch OS 2.0 target?