Bug 60811 - Can't build to iOS 11.1.2
Summary: Can't build to iOS 11.1.2
Status: RESOLVED INVALID
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: XI 11.6 (xcode9.2)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-11-22 13:53 UTC by Thomas D
Modified: 2017-11-22 15:05 UTC (History)
3 users (show)

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

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 INVALID

Description Thomas D 2017-11-22 13:53:14 UTC
Since updating my iPhone to iOS 11.1.2, I am not able to deploy my projects to my iPhone.
If I try to deploy an iPhone app through XCode, this works without any problem.
All tools are updated.

Following app output:

2017-11-22 14:43:50.748 mlaunch[31303:5730200] Threadpool worker DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-13514/DTDeviceKitBase/DTDKRemoteDeviceConnection.mm:971
Details:  Failed to start Instruments daemon on device “beab9124bf1021c97ac6274046eec5a1149bd829”: Error Domain=com.apple.dtdevicekit Code=-402653083 "Could not connect to the device." UserInfo={NSLocalizedDescription=Could not connect to the device., com.apple.dtdevicekit.stacktrace=(
	0   DTDeviceKitBase                     0x000000010e629d3d DTDKCreateNSError + 113
	1   DTDeviceKitBase                     0x000000010e62a581 DTDK_AMDErrorToNSError + 1135
	2   DTDeviceKitBase                     0x000000010e63bd40 __63-[DTDKRemoteDeviceConnection startFirstServiceOf:unlockKeybag:]_block_invoke + 300
	3   DTDeviceKitBase                     0x000000010e63b3d2 __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_3 + 22
	4   DTDeviceKitBase                     0x000000010e62c565 __DTDKExecuteInSession_block_invoke_2 + 35
	5   DTDeviceKitBase                     0x000000010e62b96f __DTDKExecuteWithConnection_block_invoke_2 + 474
	6   DTDeviceKitBase                     0x000000010e62b76a __DTDKExecuteWithConnection_block_invoke + 111
	7   libdispatch.dylib                   0x00007fff706b0f64 _dispatch_client_callout + 8
	8   libdispatch.dylib                   0x00007fff706c43f2 _dispatch_queue_barrier_sync_invoke_and_complete + 60
	9   DVTFoundation                       0x000000010b78a6a8 DVTDispatchBarrierSync + 213
	10  DVTFoundation                       0x000000010b763cc6 -[DVTDispatchLock performLockedBlock:] + 75
	11  DTDeviceKitBase                     0x000000010e62b665 DTDKExecuteWithConnection + 231
	12  DTDeviceKitBase                     0x000000010e62c3d1 DTDKExecuteInSession + 381
	13  DTDeviceKitBase                     0x000000010e63b309 __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_2 + 119
	14  DVTFoundation                       0x000000010b789a07 __DVTDispatchAsync_block_invoke + 806
	15  libdispatch.dylib                   0x00007fff706b87a2 _dispatch_call_block_and_release + 12
	16  libdispatch.dylib                   0x00007fff706b0f64 _dispatch_client_callout + 8
	17  libdispatch.dylib                   0x00007fff706c542b _dispatch_queue_serial_drain + 635
	18  libdispatch.dylib                   0x00007fff706b830e _dispatch_queue_invoke + 373
	19  libdispatch.dylib                   0x00007fff706c6117 _dispatch_root_queue_drain_deferred_wlh + 332
	20  libdispatch.dylib                   0x00007fff706c9ef0 _dispatch_workloop_worker_thread + 880
	21  libsystem_pthread.dylib             0x00007fff70974033 _pthread_wqthread + 980
	22  libsystem_pthread.dylib             0x00007fff70973c4d start_wqthread + 13
), NSLocalizedRecoverySuggestion=Could not connect to the device., NSLocalizedFailureReason=Could not connect to the device.}
Object:   <DTDKRemoteDeviceConnection: 0x7ffc013d5420>
Method:   -instrumentsConnection
Thread:   <NSThread: 0x7ffc01551470>{number = 10, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
warning MT1043: Failed to launch the application using the instruments service. Will try launching the app using gdb service.
Launching '*package_name*' on the device 'Thomas iPhone X'
Please ensure your device is connected...
Connected to: Thomas iPhone X
error MT1108: Could not find developer tools for this 11.1.2 (15B202) device. Please ensure you are using a compatible Xcode version and then connect this device to Xcode to install the development support files.
Comment 1 John Miller [MSFT] 2017-11-22 14:43:25 UTC
Hi Thomas!

I was unable to reproduce an issue with a device and 11.1.2. Could you include your version information and a diagnostic build log? 

To get full build logs just set the log verbosity to diagnostic at the following locations:
- On Visual Studio for Mac: Preferences > Projects > Build
- On Visual Studio for Windows: Tools > Options > Projects and Solutions > Build and Run

On Visual Studio Windows you also want to add `-v -v -v -v` to the mtouch additional arguments by right-clicking the project in the solution explorer and selecting `Properties`.
Note: this is done automatically on Visual Studio for Mac when the log verbosity is set to diagnostic.

Easiest way to get exact version information:
- On Visual Studio for Mac: "Visual Studio" menu, "About Visual Studio" item, "Show Details" button.
- On Visual Studio for Windows: "Help menu", "About Microsoft Visual Studio" item.
Then copy/paste the version information (you can use the "Copy Information" button).
Comment 2 Rolf Bjarne Kvinge [MSFT] 2017-11-22 14:49:43 UTC
Thomas, have you tried rebooting the device? If that doesn't work, try deploying a test app from Xcode to see if that works.
Comment 3 Thomas D 2017-11-22 15:04:44 UTC
Seems like a reboot of my device did the trick.. Thanks