Bug 33572 - WatchKit fails to launch on first attempt
Summary: WatchKit fails to launch on first attempt
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-09-02 13:39 UTC by John Miller [MSFT]
Modified: 2016-06-07 08:09 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Logs (8.40 KB, text/plain)
2015-09-02 13:39 UTC, John Miller [MSFT]
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description John Miller [MSFT] 2015-09-02 13:39:34 UTC
Created attachment 12718 [details]
Logs

**Overview:**

   With a new WatchKit app, it fails to launch on the simulator the first time. A second attempt seems to work OK. 

**Steps to Reproduce:**

   1. Using Xamarin Studio on Mac. 
   2. File -> New iOS Single View project
   3. Then, Add New Project to the solution a choose a Extension -> WatchKit App
   4. Press Play/Start to debug on iPhone 5/5s/6/6plus simulator. (Make sure to show your Watch face, Hardware -> External Displays -> Apple Watch)

**Actual Results:**

   Xamarin Studio just continues to show waiting to connect to the debugger and it never launches the WatchKit App.
   Attached are the system logs from the simulator showing some errors/assertion while trying to launch the test project. 

**Expected Results:**

   The WatchKit app should show on the watch part of the simulator. 

**Build Date & Platform:**

   === Xamarin Studio ===

Version 5.10 (build 704)
Installation UUID: e01c3049-a2d2-4e0a-aad8-afe6fb627c4d
Runtime:
	Mono 4.2.0 (explicit/2701b19)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402000207

=== Xamarin.Profiler ===

Version: 0.20.0.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Xamarin.Android ===

Version: 5.1.99.653 (Business Edition)
Android SDK: /Users/johnmiller/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3   (API level 10)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.4   (API level 19)
		5.0   (API level 21)
		5.1   (API level 22)

SDK Tools Version: 24.3.3
SDK Platform Tools Version: 22
SDK Build Tools Version: 22.0.1

Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

=== Xamarin Android Player ===

Version: 0.3.7
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 6.4 (7720)
Build 6E35b

=== Xamarin.iOS ===

Version: 8.13.0.131 (Business Edition)
Hash: 79f8535
Branch: master
Build date: 2015-08-31 15:32:33-0400

=== Xamarin.Mac ===

Version: 2.3.0.131 (Business Edition)

=== Build Information ===

Release ID: 510000704
Git revision: c16e63aeeaa63ea912638f958ae1547905aed4e5
Build date: 2015-08-31 15:47:00-04
Xamarin addins: a7a74af8bcc6bca9a02f34afb66025c0a3fa18cb
Build lane: monodevelop-lion-master

=== Operating System ===

Mac OS X 10.10.2
Comment 2 Rolf Bjarne Kvinge [MSFT] 2015-09-07 09:01:12 UTC
I can't reproduce this, even with the exact same versions of XI and XS.

Can you reproduce if you clean your solution and "Reset Contents & Settings" in the simulator? That should get you to a pristine state like the first build.
Comment 3 Rolf Bjarne Kvinge [MSFT] 2015-11-12 07:59:35 UTC
@John, were you able to reproduce if you follow my suggestion from comment #2?
Comment 4 Rolf Bjarne Kvinge [MSFT] 2016-06-07 08:09:54 UTC
We have not received the requested information. If you are still 
experiencing this issue please provide all the requested information 
and re-open the bug report. Thanks!