Updated iPhone to iOS 10 beta 4. Cannot load even a simple project on the device. Xcode 8 beta 4 builds/installs fine. Xamarin test project attached. It fails with the following error:
/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.IPhone/mlaunch.app/Contents/MacOS/mlaunch -sdkroot "/Applications/Xcode-beta.app/Contents/Developer" -installdev "/Users/kkurz/Git/softphones/Softphone.ios/bin/iPhone/Debug/build-iphone8.1-10.0/Softphone.ios.app" "--devname=Studio B"
error HE0004: Could not load the framework 'DVTDocumentation' (path: /Applications/Xcode-beta.app/Contents/SharedFrameworks/DVTDocumentation.framework/DVTDocumentation): dlopen(/Applications/Xcode-beta.app/Contents/SharedFrameworks/DVTDocumentation.framework/DVTDocumentation, 1): Library not loaded: @rpath/libswiftos.dylib
Referenced from: /Applications/Xcode-beta.app/Contents/SharedFrameworks/libswiftFoundation.dylib
Reason: image not found
Application could not be uploaded to the device.
=== Xamarin Studio Professional ===
Version 6.1 (build 5235)
Installation UUID: 582dde06-8a89-43f2-9b6c-510e4fbebc32
Mono 4.4.0 (mono-4.4.0-branch/fcf7a6d) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 404000148
=== NuGet ===
=== Xamarin.Profiler ===
=== Xamarin.Android ===
=== Xamarin Android Player ===
=== Apple Developer Tools ===
Xcode 8.0 (11222.4)
=== Xamarin.Mac ===
=== Xamarin.iOS ===
Version: 126.96.36.1996 (Visual Studio Professional)
Build date: 2016-07-15 18:47:59-0400
=== Build Information ===
Release ID: 601005235
Git revision: ec12ea3dd5b59de84d5007bff97f969439ab61cb
Build date: 2016-07-14 10:04:37-04
Xamarin addins: 2fd80118a267f656798bd002da0841811d1acb70
Build lane: monodevelop-lion-cycle8
=== Operating System ===
Mac OS X 10.12.0
Darwin Kyles-MacBook-Pro.local 16.0.0 Darwin Kernel Version 16.0.0
Tue Jul 26 18:32:56 PDT 2016
Annoyingly, your upload limit is beyond even a simple repro .zip. You'll have to reproduce yourself (create a new single-view app and attempt to install on beta 4 with Xamarin preview 1).
This is a known issue starting with beta 4.
The current (first) preview works with beta 2 and beta 3. A newer preview will soon be available to support beta 4.
-> Xamarin Studio / iOS addin
FYI, you changed the title to specify simulators. My bug report is against running on a device. So maybe ALL launches fail, but physical devices were what I was testing against.
Thanks for replying. The fix for device is a subset (does not require a new iOS addin) of the complete fix I already had (and does not require a new XS build).
A workaround is to:
a. download the fixed `mlaunch` tool from https://bosstoragemirror.blob.core.windows.net/public-builder/mlaunch
b. copy it over the current XS version of `mlaunch`
> cp mlaunch "/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.IPhone/mlaunch.app/Contents/MacOS"
That will fix the device (only) support when used with Xcode8 beta 4.
Ok, I'll do that. Do you have any ETA on an official preview supporting beta 4? There's been major changes to the CallKit API since XS Preview 1 and I can't move forward until I have a new preview. Sorry for thread-jack, just figured I finally had someone who was answering questions quickly... ;)
The 2nd preview will come out as soon as we complete our support for beta 4 and QA confirms every tools (XI, XS/VS addin and designer) works well together. I'd guess later this week but it depends on the number of surprises (like this bug) that are found across products.
Internal builds  of XI will be available sooner - but they come without any validation straight out of our build bots (pre-QA).
The SDK is open source  so you can track when the update to callkit will be merged and download the associated package.
@Jeff any ETA ?
I tried the fix from comment 5 but my deployment just hangs and never completes. No longer gives the error message but doesn't seem to deploy either. Do you need any more details or should I wait for the Preview 2?
Preview 2 works but XS doesn't attach to debugger but at least the deployment works. I'll create a new bug for the debugger since it isn't listed as a known limitation of Preview 2.
Please find below link to XS build that gives device and simulator support with Xcode8-beta4 and Xcode8-beta5. This build is a preview and is not fully tested. We would like your feedback on this build.
My app just crashes when launching on the simulator. Check below for the complete crash.
Process: FotMob 
Version: 46.0 (371)
Code Type: X86 (Native)
Parent Process: launchd_sim 
Responsible: FotMob 
User ID: 501
Date/Time: 2016-08-10 08:29:42.617 +0200
OS Version: Mac OS X 10.11.5 (15F34)
Report Version: 11
Anonymous UUID: 9364C93D-0D27-7CA9-3727-B97B763EB6E8
Sleep/Wake UUID: 68CFCBDA-0B89-46E3-BE76-15DD6C6BD33B
Time Awake Since Boot: 75000 seconds
Time Since Wake: 1700 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/Mono.framework/Mono
Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/5EEE47B4-E8B1-4AEB-84D6-EE0C99C19E7A/data/Containers/Bundle/Application/8FB91B15-F7B7-42B4-9E7B-231977C845D4/FotMob.app/FotMob
Reason: no suitable image found. Did find:
/Users/cnordvik/Library/Developer/CoreSimulator/Devices/5EEE47B4-E8B1-4AEB-84D6-EE0C99C19E7A/data/Containers/Bundle/Application/8FB91B15-F7B7-42B4-9E7B-231977C845D4/FotMob.app/Frameworks/Mono.framework/Mono: required code signature missing for '/Users/cnordvik/Library/Developer/CoreSimulator/Devices/5EEE47B4-E8B1-4AEB-84D6-EE0C99C19E7A/data/Containers/Bundle/Application/8FB91B15-F7B7-42B4-9E7B-231977C845D4/FotMob.app/Frameworks/Mono.framework/Mono'
0xa000 - 0x631ff3 +com.mobilefootie.fotmobpro (46.0 - 371) <EC5AAACF-0671-3860-88F7-2D5FEF76FD77> /Users/USER/Library/Developer/CoreSimulator/Devices/5EEE47B4-E8B1-4AEB-84D6-EE0C99C19E7A/data/Containers/Bundle/Application/8FB91B15-F7B7-42B4-9E7B-231977C845D4/FotMob.app/FotMob
0xb6d000 - 0xb92f03 +dyld_sim (360.22) <BEC35A92-8B21-3609-A83B-F49ABDF86CCC> /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim
0x8fec7000 - 0x8fefb727 dyld (360.22) <F2FF555F-3F89-3F21-8761-25A0E3F8282F> /usr/lib/dyld
After updating to CI build 9eca876 and XS-5341, I'm getting the errors from this original ticket again. I reopened 43323, but thought maybe this was the correct ticket to reopen. Feel free to close one of them, but this needs further investigation. The mlaunch hack described above doesn't fix this either.
EDIT: This is using Xcode 8 beta 6 and iOS 10 beta 6 devices.
This is tracked in #43373
Please open new bug reports for new Xcode beta releases. This is often different issues and tracking them from a single bug report only makes the issue confusing (even more if the full version information are not supplied). Thanks!
As bug 43373 is verified fixed and now user is able to deploy and launch application on device/simulator using Xcode 8 Beta 6 without any error.
XamarinStudio-188.8.131.5245.dmg fc3ab7c0cc891ef8c9867558d026257fc4654758 and /xamarin.ios-184.108.40.206 9eca87665af46375758b14e3b2622122b9cb6032 with Xcode 8 Beta 6
Hence closing this issue by marking it as Verified fixed.