Can an Apple Watch have a Glance only? - watchkit

Is it possible to only have a Glance (Glance Entry Point) in your Apple Watch app, skipping the actual Watch App (Main Entry Point)?

Not at this time, unfortunately. Glances automatically launch the main app when tapped. You'll need an app for it to open.

No. Perhaps Apple might add this feature in the future, but right now, you need an app.

Related

xamarin ios : next is gray out in sign and distribute process for IOS

I am trying to publish my app to the App Store following this documentation https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/app-store-distribution/publishing-to-the-app-store?tabs=vsmac
But i have reached to sign and distribute step and i can't press next(gray out). So please can someone tell me why? and how can solve this issue?
pleae click here to see picture describing my problem
As you can see in the image you attached, you actually have 2 products, both need signing. One for your main app, and one for your extension. Select your extension, and specify a provisioning profile for that as well (you might have to generate one for that on the Developer portal if you haven't done so already!)

Running HKWorkoutSession causes native Workout app to crash

I have an app that uses HKWorkoutSession. This app also support background modes. It uses HealthKit only to notify user in set intervals and doesn't collect any data.
Everything works fine, if it running alone, but if a user follows the next steps:
Start native Workout app
Start my app
Go back to native Workout
Apple Workout app crashes. Does anybody have an idea why?
There is also another scenario. If user starts my app first and then native app, my app refuses to work in background.
Bug takes place on watchOS 3.
Unfortunately, you can't have two simultaneous HKWorkout sessions running at the same time. So starting a new HKWorkout session (such as on your app) ends another pre-existing HKWorkout session (such as on the native Workout app). I don't believe either app should crash if this occurs, based on personal experience. I believe the crash may have something to do with the way you are handling either the start or end of the workout session. Hope this helps! :)

Apple Watch App "extension continues to load"

I've had an Apple Watch App hosted in an iOS App rejected for:
"We discovered one or more bugs in your app when reviewed on Apple Watch.
Specifically we found the watch extension continues to load indefinitely on launch."
In the simulator and on the watch itself (iOS 9, WatchOS 2, xCode 7.01)
None of the visible routines are repeatedly called, and I can't find a starting point to debug this.
The watch app has no notifications, no glance interface, and has a single story on the storyboard. It does contain a WKInterfaceTimer which I "stop" and "start" on activate and deactivate, but of course the underlying timer is not stopped or started. I don't even know what they are seeing that causes this report. So tough to debug. Any ideas?
That's WatchOS bug. See related discussion on ADF.

Why can't I run my WatchOS 2 app?

It runs just fine on the iPhone. When I select the Watch App Target, however, it simply won't run on the watch.
I don't get any errors or anything. I can see the app downloading on the Watch sometimes; when it does download, it deletes itself the moment the download is complete.
I've tried uninstalling the watch app and reinstalling via the Apple Watch app on the iPhone, and the same thing happens: it downloads and deletes itself before I can run it.
I've also reset the watch, reset Xcode, deleted the iOS app, and just about everything else I could possibly think off, but I'm starting to lose my mind.
The problem started happening when I (attempted to) set up the Watch Connectivity framework. I don't know if this is related. I've been unable to verify that WC is working properly as I can't open the app.
I've been lucky enough to get it to actually load on the watch only a few times since integrating WC framework, but even when I have, all I got was the loading screen for about a minute each time.
UPDATE:
I'm now seeing some consistent behavior.
I'm now able to debug my app by launching the watch app via Xcode. The app icon does not appear at all on the watch when this happens, however. (Weirdly enough, it shows the launch screen for a different watch app when launching.) So I can't run the app at all unless it is launched from Xcode.
Also, I am not able to download the app to the watch via the phone. I want to be able to run it outside of debug mode, and I can't. When I attempt to install it from the Apple Watch iOS9 app, the install begins, I see the icon on the watch as it downloads, and just as it finishes, it deletes itself from the watch before I can run it. This just keeps happening.
Please help!
Make sure your Apple Watch device ID is in your provisioning profile.
So, this kind of sucks as an answer, but I've had enough.
I decided to copy all of my code and storyboards into a new Xcode project. The Watch App now works exactly as it should. Hopefully Apple sorts out these bugs in an update.
I believe repairing the watch would help as well. I had the same problem before and the only thing which helped was repairing the watch.
I also have other issues debugging the watch app properly - see my question here Proper way to debug watchos2 app in XCode7

Apple Watch Main menu screen in the Emulator

When i Launch an watch app, it shows the watch app screen that we designed. How can we see the Home screen of an apple watch in the Emulator.
This is not possible, at least not yet.
In Xcode you have to choose which target scheme (app or glance) you want to run in the simulator.
I think Apple does not want to show what the Apple Watch might look like before it is released.
Now possible in Xcode 7! Going to the Home option in the menu under Hardware (Cmd+Shift+H) takes you to the apps view home screen.
Select Watch Simulator->Hardware Menu->Home at any version of XCode after 7.

Resources