Running apps on watch with beta 4

Well, it looks like Beta 4 doesn't fix the running apps on device - I still just get the spinner on launch which either never completes, or eventually crashes back to springboard.


BUT


It appears that this is only with WatchOS 2 Apps written in Swift! If you have an Objective-C app then it deploys and runs!.


I've just done a small test with totally clean projects - one swift and one Obj-C - nothing fancy, just setting a label text on start. The Obj-C one launches fine but the Swift one never launches.


Any one else confirm the same behaviour?

Some more info, if your ObjC watch app uses a custom framework thenregardless of what this framework is written in (either Swift or ObjC), then the app also fails to launch.

Have updated to the latest, my Obj C apps work just fine.

I can confirm that a simple app that takes a value from a slider and on the click of a button displays the value on a label, will launch through Xcode but not stand alone on the watch (spins for a few minutes then halts) using Swift; however using ObjC it will run through Xcode as well as stand alone on the watch.


This is on a completely new install of El Capitan and Xcode beta 4 after completely wiping my drive and reinstalling everything from scratch so there were no artifacts from anything previous.

I'm adding another case here:


- OS X 10.10.4 Yosemite

- iOS 9 beta4 & watchOS2 beta4 & Xcode7 beta4

- swift app

- installed xcode7 betas from seed 1 and replaced previous ones to newer seeds


- Can run and debug on simulator (both phone & watch).

- Can run and debug on iPhone

- CANNOT run or debug on watch

I can confirm the same behavior with Swift apps. Was able to get past the problem the following steps:



Remove App in iPhone which automatically removes app from the watch dashboard

Restart the watch

Build for Running

Click Run on the WatchKit App Scheme with my phone/watch device pair. I watch the icon load on watch's dashboard



The app launches after 3-5 second spinner wait. I am able to make modifications and run new version of my app by simply clicking run.


Env: Xcode Version 7.0 beta 4, iOS 9 beta4 & watchOS2 beta4, OSX Yosemite

Here are my specs:

- OS X 10.10.4

- Xcode 7, iOS 9, watchOS 2 all beta 4

- Project is in Swift

- Using core motion


Here's the full list of issues I've encountered so far:

- Xcode wouldn't let me run on my device (either "no watch paired" or "watch unavailable")

- Authentication failed after installing app on watch

- Installation of watch app was extremely slow (approx 5 mins)

- Infinite spinner on launch

- Watch app installs but won't launch (installeither failed or timed out)

- Watch app occasionally installs and runs on device


I'm extremely frustrated right now. I've tried every workaround I can think of and have restarted all my devices numerous times. I've gotten the app to run a few times but it fails to run again immediately after with just a few changes to the app. I also tried running a new project in Objective-C but didn't have much better luck.

At this moment I would think that waiting for beta 5 might be a better solution. Just do something else (I am learning Android Wear) for now.

Running apps on watch with beta 4
 
 
Q