xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.45k stars 511 forks source link

Template app crashes at startup on iOS 12 simulator if Concurrent garbage collector is not selected #7711

Closed jgold6 closed 2 years ago

jgold6 commented 4 years ago

Description

Template iOS Single View app crashes on launch when deploying to an iOS Simulator with iOS 12.x if the option to “Use the concurrent garbage collector” option is NOT selected.

Steps to Reproduce

  1. Open VS and create a new iOS Single View app from Template.
  2. Open the Project options and UNCHECK the option to “Use the concurrent garbage collector”
  3. Deploy to an iOS simulator running iOS 12 (tested on iPhone 6 simulator with iOS 12.2 and 12.4)

Expected Behavior

App will launch and display the initial screen

Actual Behavior

App starts to open then crashes with the following stack trace in the app output:

error HE0042: Could not launch the app 'com.onobytes.TestiOS12NoForms' on the device 'iOS 12.4 (16G73) - iPhone 6': The request to open "com.onobytes.TestiOS12NoForms" failed.
  at Xamarin.Hosting.Services.LaunchApplicationInSimulatorInternal (Xamarin.Hosting.SimulatorLaunchConfig config) [0x0030b] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/Services.cs:854 
  at Xamarin.Hosting.Services.LaunchApplicationInSimulatorAsync (Xamarin.Hosting.SimulatorLaunchConfig config) [0x00343] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/Services.cs:906 
  at Xamarin.Launcher.SimController.LaunchAsync (Xamarin.Hosting.SimulatorLaunchConfig config) [0x000de] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/controller-simulator.cs:647 
  at Xamarin.Launcher.Driver.LaunchSimulatorAsync () [0x005b9] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:823 
  at Xamarin.Utils.NSRunLoopExtensions.RunUntilTaskCompletion[T] (Foundation.NSRunLoop this, System.Threading.Tasks.Task`1[TResult] task) [0x00082] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Utils/Extensions.cs:35 
  at Xamarin.Launcher.Driver.Main2 (System.String[] args) [0x00b13] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:448 
  at Xamarin.Launcher.Driver.Main (System.String[] args) [0x0006d] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:148 

Environment

Version info
=== Visual Studio Enterprise 2019 for Mac === Version 8.4.1 (build 4) Installation UUID: f86726f2-bd5d-4610-867e-44e82f306ca2 GTK+ 2.24.23 (Raleigh theme) Xamarin.Mac 5.16.1.25 (issue-7441-d16-3-vsmac / 881172e73) Package version: 606000155 === Mono Framework MDK === Runtime: Mono 6.6.0.155 (2019-08/296a9afdb24) (64-bit) Package version: 606000155 === Roslyn (Language Service) === 3.4.0-beta4-19562-05+ff930dec4565e2bc424ad3bf3e22ecb20542c87d === NuGet === Version: 5.3.0.6192 === .NET Core SDK === SDK: /usr/local/share/dotnet/sdk/3.1.100/Sdks SDK Versions: 3.1.100 3.0.101 3.0.100 3.0.100-preview8-013656 2.1.701 2.1.700 2.1.505 2.1.504 2.1.503 2.1.302 2.1.301 2.1.4 2.0.0 1.0.1 1.0.0-preview2-003121 MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/6.6.0/lib/mono/msbuild/Current/bin/Sdks === .NET Core Runtime === Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 3.1.0 3.0.1 3.0.0 3.0.0-preview8-28405-07 2.1.14 2.1.13 2.1.12 2.1.11 2.1.10 2.1.9 2.1.8 2.1.7 2.1.2 2.1.1 2.0.5 2.0.0 1.1.1 1.0.4 1.0.0 === Xamarin.Profiler === Version: 1.6.12.29 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler === Updater === Version: 11 === Apple Developer Tools === Xcode 11.3.1 (15715) Build 11C504 === Xamarin.Mac === Version: 6.10.0.17 (Visual Studio Enterprise) Hash: 5f802ef53 Branch: xcode11.3 Build date: 2020-01-07 11:53:06-0500 === Xamarin.Android === Version: 10.1.3.7 (Visual Studio Enterprise) Commit: xamarin-android/d16-4/d66aed0 Android SDK: /Users/jongoldberger/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 4.4 (API level 19) 5.0 (API level 21) 5.1 (API level 22) 6.0 (API level 23) 7.0 (API level 24) 7.1 (API level 25) 8.0 (API level 26) 8.1 (API level 27) SDK Tools Version: 26.1.1 SDK Platform Tools Version: 28.0.2 SDK Build Tools Version: 28.0.3 Build Information: Mono: fd9f379 Java.Interop: xamarin/java.interop/d16-4@c4e569f ProGuard: xamarin/proguard/master@905836d SQLite: xamarin/sqlite/3.28.0@46204c4 Xamarin.Android Tools: xamarin/xamarin-android-tools/master@9f4ed4b === Microsoft Mobile OpenJDK === Java SDK: /Users/jongoldberger/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25 1.8.0-25 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL === Android SDK Manager === Version: 16.4.0.9 Hash: 3f7256f Branch: remotes/origin/d16-4 Build date: 2020-01-08 19:54:56 UTC === Android Device Manager === Version: 16.4.0.28 Hash: 68e9956 Branch: remotes/origin/d16-4 Build date: 2020-01-08 19:55:18 UTC === Xamarin Designer === Version: 16.4.0.478 Hash: 95f0ab363 Branch: remotes/origin/d16-4 Build date: 2020-01-08 23:59:46 UTC === Xamarin Inspector === Version: 1.4.3 Hash: db27525 Branch: 1.4-release Build date: Mon, 09 Jul 2018 21:20:18 GMT Client compatibility: 1 === Xamarin.iOS === Version: 13.10.0.17 (Visual Studio Enterprise) Hash: 5f802ef53 Branch: xcode11.3 Build date: 2020-01-07 11:53:06-0500 === Build Information === Release ID: 804010004 Git revision: 5f675128315bd5886b283aa192b334a02bc8a758 Build date: 2020-01-10 13:54:46+00 Build branch: release-8.4 Xamarin extensions: 6e5c119bf1e7b092680c1491be659f152329f74e === Operating System === Mac OS X 10.15.2 Darwin 19.2.0 Darwin Kernel Version 19.2.0 Sat Nov 9 03:47:04 PST 2019 root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64

Build Logs

BuildLog.txt

chamons commented 4 years ago

Strange, I can't reproduce this locally.

@jgold6 - Can you attach the project in question?

jgold6 commented 4 years ago

It is just a template single view app with the concurrent garbage collector turned off, but here it is:

TestIssue7711.zip

Also a screen recording of issue:

Screen Recording 2020-01-16 at 9.29.03 AM.mov.zip

chamons commented 4 years ago

Strange, I'm able to run that find on a 12.1 and 12.4 simulator.

@rolfbjarne / @spouliot - Ideas on how to dig into this more?

rolfbjarne commented 4 years ago

Are there any crash reports in ~/Library/Logs/DiagnosticReports/? Can you attach the simulator's system log (simulator's menu: Debug -> Open System Log)? Does it still crash if you run in another simulator?

jgold6 commented 4 years ago

There is nothing in ~/Library/Logs/DiagnosticReports/.

I cleared the sim system log, reproduced the crash, and then collected. There were only these lines:


Jan 16 13:31:40 --- last message repeated 1 time ---
Jan 16 13:31:40 Microsofts-MacBook-Pro SpringBoard[48459]: BUG in libdispatch: 19C57 16G73 - 5591 - 0x0
Jan 16 13:31:41 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.C9EF380D-1953-427B-9936-77138437FF49[48441] (UIKitApplication:com.onobytes.TestIssue7711[0xe368][48465][48673]): removing service since it exited with consistent failure - OS_REASON_EXEC
Jan 16 13:31:44 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.C9EF380D-1953-427B-9936-77138437FF49[48441] (UIKitApplication:com.onobytes.TestIssue7711[0xef03][48465][48676]): removing service since it exited with consistent failure - OS_REASON_EXEC
Jan 16 13:31:47 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.C9EF380D-1953-427B-9936-77138437FF49[48441] (com.apple.securityuploadd): Service only ran for 5 seconds. Pushing respawn out by 5 seconds.

It does not crash on iPhone Xr/iPhone 11 sims running iOS 13, but it crashed on multiple sims running iOS 12.

chamons commented 4 years ago

Hmm, this must have crashed really early in launch, so we suspect that it isn't related to the GC setting. Maybe system specific issue?

I think @spouliot at some point was going to try to reproduce.

spouliot commented 4 years ago

I could not reproduce this myself.

I strongly suspect something else is causing this... for mlaunch to fail (error message) it would mean the application crash very early, which makes it unlikely a GC collection was already in progress...

I know it sounds obvious but have you tried to ?

OS_REASON_EXEC is often cited along Gatekeeper so maybe some binaries are broken...

Are you able to launch from Xcode (e.g. ObjC) using the same simulator instance ? (if relaunched then it might not be 100% identical, take care to confirm it is).

rolfbjarne commented 4 years ago

Another thing to try is to launch the app by tapping (clicking) on it in the simulator, instead of using the IDE (and then check for output in the simulator log).

jgold6 commented 4 years ago

@rolfbjarne Had already done that. Output in simulator log was identical to what I noted above, e.g.:

Jan 16 13:31:40 Microsofts-MacBook-Pro SpringBoard[48459]: BUG in libdispatch: 19C57 16G73 - 5591 - 0x0
Jan 16 13:31:41 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.C9EF380D-1953-427B-9936-77138437FF49[48441] (UIKitApplication:com.onobytes.TestIssue7711[0xe368][48465][48673]): removing service since it exited with consistent failure - OS_REASON_EXEC

@spouliot I had tried "erase all contents and Settings" but it had no effect. Just tried again and still no effect.

I tried closing all sim processes, and rebooting Mac. No difference.

But I do see XCode is having issues to the same sim as well. Crashes with similar messages in sim system log (but see below because I could resolve this in XCode):

Jan 22 13:45:05 Microsofts-MacBook-Pro CoreSimulatorBridge[2086]: BUG in libdispatch: 19C57 16E226 - 5572 - 0x0
Jan 22 13:45:05 Microsofts-MacBook-Pro searchd[2124]: BUG in libdispatch: 19C57 16E226 - 5591 - 0x0
Jan 22 13:45:06 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.4BE38013-D0AF-49C9-B919-09EBD2FED92E[2061] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnableTransactions
Jan 22 13:45:06 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.4BE38013-D0AF-49C9-B919-09EBD2FED92E[2061] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnablePressuredExit
Jan 22 13:45:06 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.4BE38013-D0AF-49C9-B919-09EBD2FED92E[2061] (com.apple.backboard.display.archive): Unknown key for Boolean: EnableTransactions
Jan 22 13:45:06 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.4BE38013-D0AF-49C9-B919-09EBD2FED92E[2061] (com.apple.backboard.display.archive): Unknown key for Boolean: EnablePressuredExit
Jan 22 13:45:06 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.4BE38013-D0AF-49C9-B919-09EBD2FED92E[2061] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnableTransactions
Jan 22 13:45:06 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.4BE38013-D0AF-49C9-B919-09EBD2FED92E[2061] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Jan 22 13:45:06 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.4BE38013-D0AF-49C9-B919-09EBD2FED92E[2061] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnablePressuredExit
Jan 22 13:45:06 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.4BE38013-D0AF-49C9-B919-09EBD2FED92E[2061] (com.apple.intents.intents-helper): Unknown key for Boolean: EnableTransactions
Jan 22 13:45:06 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.4BE38013-D0AF-49C9-B919-09EBD2FED92E[2061] (com.apple.intents.intents-helper): Unknown key for Boolean: EnablePressuredExit
Jan 22 13:45:06 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.4BE38013-D0AF-49C9-B919-09EBD2FED92E[2061] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnableTransactions
Jan 22 13:45:06 Microsofts-MacBook-Pro com.apple.CoreSimulator.SimDevice.4BE38013-D0AF-49C9-B919-09EBD2FED92E[2061] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnablePressuredExit
Jan 22 13:45:06 Microsofts-MacBook-Pro diagnosticd[2093]: Posting stream filter: "{
        category =     {
            heartbeat = 64424509451;
        };
        global = 30064771081;
        pid =     {
            2153 = 64424509451;
            2161 = 64424509451;
        };
        subsystem =     {
            "com.apple.dt.instruments" = 64424509451;
            "com.apple.runtime-issues" = 64424509451;
        };
    }"
Jan 22 13:45:06 Microsofts-MacBook-Pro diagnosticd[2093]: System mode client started - DTServiceHub (2153) - mode: 0xb, filter: "{
        category = "{(\n    heartbeat\n)}";
        pid = "{(\n    2161,\n    2153\n)}";
        subsystem = "{(\n    \"com.apple.runtime-issues\",\n    \"com.apple.dt.instruments\"\n)}";
    }"

However, I did notice a message in XCode console output about missing window property. Adding @property (strong, nonatomic) UIWindow *window; to the AppDelegate in Xcode project resolved and Xcode template app could launch to sim running iOS 12.x.

So I went back to the XI project and checked that the AppDelegate had the window property, and both the AppDelegate and SceneDelegate do contain: [Export("window")] public UIWindow Window { get; set; }

So I tried removing the SceneDelegate class, the Scene code in AppDelegate, and the Scene keys in the Info.plist to remove the Scene stuff, as those are new to iOS 13, but still got the same results.

After all of the above, just setting the iOS project to use the concurrent garbage collector allows the XI app to install and launch without issue on the iOS 12.x simulators. So I don't know how, but somehow unselecting that option is causing this issue to occur. And I do see a similar issue in XCode template project, but not after I add that window property to the App Delegate.

jgold6 commented 4 years ago

Weird thing: Now I am getting a build error when the concurrent garbage collector is NOT selected (deploying to iPhone Xr with iOS 12.x):

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(3,3): Error: System.IO.DirectoryNotFoundException: Could not find a part of the path "/Users/<uname>/Downloads/TestIssue7711/TestIssue7711/obj/iPhoneSimulator/Debug/device-builds/iphone x??-12.4/actool/bundle/AppIcon20x20@2x.png".
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0015e] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.IO/FileStream.cs:223 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.IO/FileStream.cs:106 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
  at System.IO.FileSystem.CopyFile (System.String sourceFullPath, System.String destFullPath, System.Boolean overwrite) [0x00025] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs:54 
  at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite) [0x00056] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/File.cs:74 
  at Xamarin.MacDev.Tasks.SmartCopyTaskBase.CopyFile (System.String source, System.String target, System.String targetItemSpec) [0x00030] in <0023d7fe59a64d588819d10ee09388e1>:0 
  at Xamarin.MacDev.Tasks.SmartCopyTaskBase.Execute () [0x000e7] in <0023d7fe59a64d588819d10ee09388e1>:0  (TestIssue7711)

But the file is there, so may be something with the wildcards? e.g.: builds/iphone x??-12.4/ If I unset all of the AppIcons, or as noted select the Concurrent Garbage Collector, the build issue goes away and the original issue returns, so likely unrelated. And I do not get this build issue when deploying to the iPhone 6 iOS v 12.x simulator.

However, now I am seeing that turning on and off the concurrent garbage collector a couple of times resolves the issue:

  1. Open above test solution
  2. Deploy to iPhone 6 iOS 12.4 sim
  3. issue occurs
  4. Turn on CGC and deploy (no clean, no del obj and bin)
  5. issue does not occur
  6. Turn off CGC and deploy (no clean, no del obj and bin)
  7. ISSUE DOES NOT OCCUR!!
  8. Delete app from sim, close VS4M, delete bin and obj folders (which should bring everything back to what it was like when I unzipped the above test solution, except that then the CGC is now selected in the project options so the issue does not occur!), reopen solution, and deploy to sim
  9. issue does not occur.
  10. Turn off CGC and deploy
  11. Issue occurs

OK, so this is because in the .csproj file, there is this element in the debug|iPhoneSimulator configuration: <MtouchEnableSGenConc>false</MtouchEnableSGenConc>

Then when I enable the CGC, it changes to this: <MtouchEnableSGenConc>true</MtouchEnableSGenConc> But then when I turn off CGC again, the above element is removed rather than just being set to false again, but in the Default (global) property group, there is: <MtouchEnableSGenConc>true</MtouchEnableSGenConc> So even though I turned it off, it did not really turn off and the VS4M GUI does not display the correct value until the solution is reloaded. So that is a bug to file against VS4M IDE I guess? Note that after I reload the solution and toggle the CGC, then the element in Debug iPhone section remains and toggles between true and false, rather than the element being removed. SO this all just confused my testing as there were times when I thought the CGC was off but it was really on.

In any case, I still can't track down anything else that other than the concurrent garbage collector that is causing this issue.

rolfbjarne commented 4 years ago

Can you execute the following from a terminal window:

echo 1234567890 > ~/.mlaunch-verbosity

then reproduce the issue again and attach the Application Output from VSfM?

I tried to reproduce too, and had no luck.

jgold6 commented 4 years ago
Using Xcode 11.3.1 found in /Applications/Xcode.app/Contents/Developer
Xamarin.Hosting: Xamarin.Hosting
Xamarin.Hosting:     Version: d549487354 (d16-4)
Xamarin.Hosting:     Xcode: /Applications/Xcode.app
Xamarin.Hosting:     Xcode Version: 11.3.1
Xamarin.Hosting:     Verbosity: 11
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTiPhoneSimulatorRemoteClient.framework/DVTiPhoneSimulatorRemoteClient
Xamarin.Hosting: Loaded /Library/Developer/PrivateFrameworks/CoreSimulator.framework/CoreSimulator
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/DTDeviceKitBase
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/DVTKit
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKit.framework/DTDeviceKit
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DTXConnectionServices.framework/DTXConnectionServices
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTSourceControl.framework/DVTSourceControl
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTServices.framework/DVTServices
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTPortal.framework/DVTPortal
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTDocumentation.framework/DVTDocumentation
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalyticsClient.framework/DVTAnalyticsClient
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalytics.framework/DVTAnalytics
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/SourceKit.framework/SourceKit
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/IDEProducts.framework/IDEProducts
Xamarin.Hosting: Simulator watchdogs are already disabled for 'iOS 12.4 (16G73) - iPhone 6'.
Xamarin.Hosting: Launching simulator application 'com.apple.iphonesimulator'
Xamarin.Hosting: Ready notification 'com.apple.iphonesimulator.ready' received from the simulator.
Xamarin.Hosting: Booting iPhone 6...
Xamarin.Hosting: Booted iPhone 6 successfully.
Xamarin.Hosting: No need to boot (already booted): iPhone 6
Xamarin.Hosting: Installing /Users/jongoldberger/Downloads/Issue7711/Issue7711/bin/iPhoneSimulator/Debug/device-builds/iphone 6-12.4/Issue7711.app with Bundle Identifier com.onobytes.Issue7711 on 'iOS 12.4 (16G73) - iPhone 6'...
Xamarin.Hosting: Installed 'com.onobytes.Issue7711' from /Users/jongoldberger/Downloads/Issue7711/Issue7711/bin/iPhoneSimulator/Debug/device-builds/iphone 6-12.4/Issue7711.app
Xamarin.Hosting: Renaming weak load commands that might cause problems from the executable /Users/jongoldberger/Library/Developer/CoreSimulator/Devices/C9EF380D-1953-427B-9936-77138437FF49/data/Containers/Bundle/Application/2B2A80FF-A11B-4A9D-8050-FC57D3EDD61F/Issue7711.app/Issue7711:
Xamarin.Hosting: Weak load command /System/Library/Frameworks/AssetsLibrary.framework/AssetsLibrary's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AssetsLibrary.framework/AssetsLibrary.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreMedia.framework/CoreMedia's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreMedia.framework/CoreMedia.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreMIDI.framework/CoreMIDI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreMIDI.framework/CoreMIDI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreMotion.framework/CoreMotion's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreMotion.framework/CoreMotion.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreVideo.framework/CoreVideo's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreVideo.framework/CoreVideo.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/EventKit.framework/EventKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/EventKit.framework/EventKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/EventKitUI.framework/EventKitUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/EventKitUI.framework/EventKitUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ImageIO.framework/ImageIO's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ImageIO.framework/ImageIO.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Security.framework/Security's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Security.framework/Security.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/QuickLook.framework/QuickLook's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/QuickLook.framework/QuickLook.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/iAd.framework/iAd's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/iAd.framework/iAd.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Accounts.framework/Accounts's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Accounts.framework/Accounts.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/GLKit.framework/GLKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/GLKit.framework/GLKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/NewsstandKit.framework/NewsstandKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/NewsstandKit.framework/NewsstandKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreImage.framework/CoreImage's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreImage.framework/CoreImage.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreBluetooth.framework/CoreBluetooth's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreBluetooth.framework/CoreBluetooth.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Twitter.framework/Twitter's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Twitter.framework/Twitter.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/PassKit.framework/PassKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/PassKit.framework/PassKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Social.framework/Social's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Social.framework/Social.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/AdSupport.framework/AdSupport's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AdSupport.framework/AdSupport.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/MultipeerConnectivity.framework/MultipeerConnectivity's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MultipeerConnectivity.framework/MultipeerConnectivity.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/SafariServices.framework/SafariServices's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SafariServices.framework/SafariServices.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/SpriteKit.framework/SpriteKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SpriteKit.framework/SpriteKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/HomeKit.framework/HomeKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/HomeKit.framework/HomeKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/HealthKit.framework/HealthKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/HealthKit.framework/HealthKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/LocalAuthentication.framework/LocalAuthentication's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/LocalAuthentication.framework/LocalAuthentication.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/NotificationCenter.framework/NotificationCenter's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/NotificationCenter.framework/NotificationCenter.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/PushKit.framework/PushKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/PushKit.framework/PushKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Photos.framework/Photos's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Photos.framework/Photos.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/PhotosUI.framework/PhotosUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/PhotosUI.framework/PhotosUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/SceneKit.framework/SceneKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SceneKit.framework/SceneKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CloudKit.framework/CloudKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CloudKit.framework/CloudKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/AVKit.framework/AVKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AVKit.framework/AVKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/WebKit.framework/WebKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/NetworkExtension.framework/NetworkExtension's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/NetworkExtension.framework/NetworkExtension.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Metal.framework/Metal's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Metal.framework/Metal.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreAudioKit.framework/CoreAudioKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreAudioKit.framework/CoreAudioKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ReplayKit.framework/ReplayKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ReplayKit.framework/ReplayKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Contacts.framework/Contacts's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Contacts.framework/Contacts.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ContactsUI.framework/ContactsUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ContactsUI.framework/ContactsUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlight's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlight.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/WatchConnectivity.framework/WatchConnectivity's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WatchConnectivity.framework/WatchConnectivity.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ModelIO.framework/ModelIO's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ModelIO.framework/ModelIO.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/GameplayKit.framework/GameplayKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/GameplayKit.framework/GameplayKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/MetalKit.framework/MetalKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MetalKit.framework/MetalKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/MetalPerformanceShaders.framework/MetalPerformanceShaders's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MetalPerformanceShaders.framework/MetalPerformanceShaders.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/HealthKitUI.framework/HealthKitUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/HealthKitUI.framework/HealthKitUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CallKit.framework/CallKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CallKit.framework/CallKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Messages.framework/Messages's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Messages.framework/Messages.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Speech.framework/Speech's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Speech.framework/Speech.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/VideoSubscriberAccount.framework/VideoSubscriberAccount's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/VideoSubscriberAccount.framework/VideoSubscriberAccount.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/UserNotifications.framework/UserNotifications's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/UserNotifications.framework/UserNotifications.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/UserNotificationsUI.framework/UserNotificationsUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/UserNotificationsUI.framework/UserNotificationsUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Intents.framework/Intents's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Intents.framework/Intents.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/IntentsUI.framework/IntentsUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/IntentsUI.framework/IntentsUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ARKit.framework/ARKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ARKit.framework/ARKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/FileProvider.framework/FileProvider's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/FileProvider.framework/FileProvider.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/FileProviderUI.framework/FileProviderUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/FileProviderUI.framework/FileProviderUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/IdentityLookup.framework/IdentityLookup's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/IdentityLookup.framework/IdentityLookup.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/BusinessChat.framework/BusinessChat's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/BusinessChat.framework/BusinessChat.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ClassKit.framework/ClassKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ClassKit.framework/ClassKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CarPlay.framework/CarPlay's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CarPlay.framework/CarPlay.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/IdentityLookupUI.framework/IdentityLookupUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/IdentityLookupUI.framework/IdentityLookupUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/NaturalLanguage.framework/NaturalLanguage's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/NaturalLanguage.framework/NaturalLanguage.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Network.framework/Network's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Network.framework/Network.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/VisionKit.framework/VisionKit does not exist in the simulator, but not on the mac either.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/CoreHaptics.framework/CoreHaptics the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreHaptics.framework/CoreHaptics), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/LinkPresentation.framework/LinkPresentation the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/MetricKit.framework/MetricKit the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MetricKit.framework/MetricKit), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/PencilKit.framework/PencilKit the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/PencilKit.framework/PencilKit), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/QuickLookThumbnailing.framework/QuickLookThumbnailing the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/QuickLookThumbnailing.framework/QuickLookThumbnailing), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis), but it exists on the mac.
xcrun install_name_tool -change "/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks" "/System/Library/Frameworks/BackgroundTasks.framework/-"  -change "/System/Library/Frameworks/CoreHaptics.framework/CoreHaptics" "/System/Library/Frameworks/CoreHaptics.framework/-"  -change "/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation" "/System/Library/Frameworks/LinkPresentation.framework/-"  -change "/System/Library/Frameworks/MetricKit.framework/MetricKit" "/System/Library/Frameworks/MetricKit.framework/-"  -change "/System/Library/Frameworks/PencilKit.framework/PencilKit" "/System/Library/Frameworks/PencilKit.framework/-"  -change "/System/Library/Frameworks/QuickLookThumbnailing.framework/QuickLookThumbnailing" "/System/Library/Frameworks/QuickLookThumbnailing.framework/-"  -change "/System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis" "/System/Library/Frameworks/SoundAnalysis.framework/-"  "/Users/jongoldberger/Library/Developer/CoreSimulator/Devices/C9EF380D-1953-427B-9936-77138437FF49/data/Containers/Bundle/Application/2B2A80FF-A11B-4A9D-8050-FC57D3EDD61F/Issue7711.app/Issue7711"
Xamarin.Hosting: Successfully renamed potentially troublesome weak load commands
Xamarin.Hosting: The bundle id com.onobytes.Issue7711 was successfully installed.
Xamarin.Hosting: Creating shared memory for:
__XAMARIN_DEBUG_PORT__=10000

Xamarin.Hosting: Created shared memory token: 290668
Xamarin.Hosting: Created shared memory id: 65536
Xamarin.Hosting: Mapped shared memory: 0x115814000 for key 290668 and id 65536
Xamarin.Hosting: Launching com.onobytes.Issue7711 on 'iOS 12.4 (16G73) - iPhone 6'
Xamarin.Hosting: Could not launch the app 'com.onobytes.Issue7711' on the device 'iOS 12.4 (16G73) - iPhone 6': The request to open "com.onobytes.Issue7711" failed., will try to reinstall the app
Xamarin.Hosting: Installing /Users/jongoldberger/Downloads/Issue7711/Issue7711/bin/iPhoneSimulator/Debug/device-builds/iphone 6-12.4/Issue7711.app with Bundle Identifier com.onobytes.Issue7711 on 'iOS 12.4 (16G73) - iPhone 6'...
Xamarin.Hosting: Installed 'com.onobytes.Issue7711' from /Users/jongoldberger/Downloads/Issue7711/Issue7711/bin/iPhoneSimulator/Debug/device-builds/iphone 6-12.4/Issue7711.app
Xamarin.Hosting: Renaming weak load commands that might cause problems from the executable /Users/jongoldberger/Library/Developer/CoreSimulator/Devices/C9EF380D-1953-427B-9936-77138437FF49/data/Containers/Bundle/Application/52474939-1709-4372-87B9-B7FAB6158615/Issue7711.app/Issue7711:
Xamarin.Hosting: Weak load command /System/Library/Frameworks/AssetsLibrary.framework/AssetsLibrary's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AssetsLibrary.framework/AssetsLibrary.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreMedia.framework/CoreMedia's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreMedia.framework/CoreMedia.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreMIDI.framework/CoreMIDI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreMIDI.framework/CoreMIDI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreMotion.framework/CoreMotion's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreMotion.framework/CoreMotion.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreVideo.framework/CoreVideo's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreVideo.framework/CoreVideo.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/EventKit.framework/EventKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/EventKit.framework/EventKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/EventKitUI.framework/EventKitUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/EventKitUI.framework/EventKitUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ImageIO.framework/ImageIO's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ImageIO.framework/ImageIO.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Security.framework/Security's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Security.framework/Security.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/QuickLook.framework/QuickLook's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/QuickLook.framework/QuickLook.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/iAd.framework/iAd's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/iAd.framework/iAd.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Accounts.framework/Accounts's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Accounts.framework/Accounts.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/GLKit.framework/GLKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/GLKit.framework/GLKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/NewsstandKit.framework/NewsstandKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/NewsstandKit.framework/NewsstandKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreImage.framework/CoreImage's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreImage.framework/CoreImage.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreBluetooth.framework/CoreBluetooth's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreBluetooth.framework/CoreBluetooth.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Twitter.framework/Twitter's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Twitter.framework/Twitter.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/PassKit.framework/PassKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/PassKit.framework/PassKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Social.framework/Social's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Social.framework/Social.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/AdSupport.framework/AdSupport's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AdSupport.framework/AdSupport.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/MultipeerConnectivity.framework/MultipeerConnectivity's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MultipeerConnectivity.framework/MultipeerConnectivity.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/SafariServices.framework/SafariServices's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SafariServices.framework/SafariServices.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/SpriteKit.framework/SpriteKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SpriteKit.framework/SpriteKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/HomeKit.framework/HomeKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/HomeKit.framework/HomeKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/HealthKit.framework/HealthKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/HealthKit.framework/HealthKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/LocalAuthentication.framework/LocalAuthentication's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/LocalAuthentication.framework/LocalAuthentication.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/NotificationCenter.framework/NotificationCenter's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/NotificationCenter.framework/NotificationCenter.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/PushKit.framework/PushKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/PushKit.framework/PushKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Photos.framework/Photos's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Photos.framework/Photos.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/PhotosUI.framework/PhotosUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/PhotosUI.framework/PhotosUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/SceneKit.framework/SceneKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SceneKit.framework/SceneKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CloudKit.framework/CloudKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CloudKit.framework/CloudKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/AVKit.framework/AVKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AVKit.framework/AVKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/WebKit.framework/WebKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/NetworkExtension.framework/NetworkExtension's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/NetworkExtension.framework/NetworkExtension.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Metal.framework/Metal's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Metal.framework/Metal.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreAudioKit.framework/CoreAudioKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreAudioKit.framework/CoreAudioKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ReplayKit.framework/ReplayKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ReplayKit.framework/ReplayKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Contacts.framework/Contacts's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Contacts.framework/Contacts.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ContactsUI.framework/ContactsUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ContactsUI.framework/ContactsUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlight's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlight.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/WatchConnectivity.framework/WatchConnectivity's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WatchConnectivity.framework/WatchConnectivity.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ModelIO.framework/ModelIO's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ModelIO.framework/ModelIO.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/GameplayKit.framework/GameplayKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/GameplayKit.framework/GameplayKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/MetalKit.framework/MetalKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MetalKit.framework/MetalKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/MetalPerformanceShaders.framework/MetalPerformanceShaders's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MetalPerformanceShaders.framework/MetalPerformanceShaders.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/HealthKitUI.framework/HealthKitUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/HealthKitUI.framework/HealthKitUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CallKit.framework/CallKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CallKit.framework/CallKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Messages.framework/Messages's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Messages.framework/Messages.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Speech.framework/Speech's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Speech.framework/Speech.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/VideoSubscriberAccount.framework/VideoSubscriberAccount's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/VideoSubscriberAccount.framework/VideoSubscriberAccount.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/UserNotifications.framework/UserNotifications's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/UserNotifications.framework/UserNotifications.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/UserNotificationsUI.framework/UserNotificationsUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/UserNotificationsUI.framework/UserNotificationsUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Intents.framework/Intents's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Intents.framework/Intents.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/IntentsUI.framework/IntentsUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/IntentsUI.framework/IntentsUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ARKit.framework/ARKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ARKit.framework/ARKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/FileProvider.framework/FileProvider's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/FileProvider.framework/FileProvider.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/FileProviderUI.framework/FileProviderUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/FileProviderUI.framework/FileProviderUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/IdentityLookup.framework/IdentityLookup's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/IdentityLookup.framework/IdentityLookup.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/BusinessChat.framework/BusinessChat's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/BusinessChat.framework/BusinessChat.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/ClassKit.framework/ClassKit's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ClassKit.framework/ClassKit.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/CarPlay.framework/CarPlay's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CarPlay.framework/CarPlay.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/IdentityLookupUI.framework/IdentityLookupUI's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/IdentityLookupUI.framework/IdentityLookupUI.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/NaturalLanguage.framework/NaturalLanguage's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/NaturalLanguage.framework/NaturalLanguage.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/Network.framework/Network's target library exists at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Network.framework/Network.
Xamarin.Hosting: Weak load command /System/Library/Frameworks/VisionKit.framework/VisionKit does not exist in the simulator, but not on the mac either.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/CoreHaptics.framework/CoreHaptics the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreHaptics.framework/CoreHaptics), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/LinkPresentation.framework/LinkPresentation the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/MetricKit.framework/MetricKit the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MetricKit.framework/MetricKit), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/PencilKit.framework/PencilKit the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/PencilKit.framework/PencilKit), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/QuickLookThumbnailing.framework/QuickLookThumbnailing the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/QuickLookThumbnailing.framework/QuickLookThumbnailing), but it exists on the mac.
Xamarin.Hosting: Potentially troublesome weak load command: /System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis the framework doesn't exist in the simulator system (at /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis), but it exists on the mac.
xcrun install_name_tool -change "/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks" "/System/Library/Frameworks/BackgroundTasks.framework/-"  -change "/System/Library/Frameworks/CoreHaptics.framework/CoreHaptics" "/System/Library/Frameworks/CoreHaptics.framework/-"  -change "/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation" "/System/Library/Frameworks/LinkPresentation.framework/-"  -change "/System/Library/Frameworks/MetricKit.framework/MetricKit" "/System/Library/Frameworks/MetricKit.framework/-"  -change "/System/Library/Frameworks/PencilKit.framework/PencilKit" "/System/Library/Frameworks/PencilKit.framework/-"  -change "/System/Library/Frameworks/QuickLookThumbnailing.framework/QuickLookThumbnailing" "/System/Library/Frameworks/QuickLookThumbnailing.framework/-"  -change "/System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis" "/System/Library/Frameworks/SoundAnalysis.framework/-"  "/Users/jongoldberger/Library/Developer/CoreSimulator/Devices/C9EF380D-1953-427B-9936-77138437FF49/data/Containers/Bundle/Application/52474939-1709-4372-87B9-B7FAB6158615/Issue7711.app/Issue7711"
Xamarin.Hosting: Successfully renamed potentially troublesome weak load commands
Xamarin.Hosting: Device 'iOS 12.4 (16G73) - iPhone 6' booted.
error HE0042: Could not launch the app 'com.onobytes.Issue7711' on the device 'iOS 12.4 (16G73) - iPhone 6': The request to open "com.onobytes.Issue7711" failed.
  at Xamarin.Hosting.Services.LaunchApplicationInSimulatorInternal (Xamarin.Hosting.SimulatorLaunchConfig config) [0x0030b] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/Services.cs:854 
  at Xamarin.Hosting.Services.LaunchApplicationInSimulatorAsync (Xamarin.Hosting.SimulatorLaunchConfig config) [0x00343] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/Services.cs:906 
  at Xamarin.Launcher.SimController.LaunchAsync (Xamarin.Hosting.SimulatorLaunchConfig config) [0x000de] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/controller-simulator.cs:647 
  at Xamarin.Launcher.Driver.LaunchSimulatorAsync () [0x005b9] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:823 
  at Xamarin.Utils.NSRunLoopExtensions.RunUntilTaskCompletion[T] (Foundation.NSRunLoop this, System.Threading.Tasks.Task`1[TResult] task) [0x00082] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Utils/Extensions.cs:35 
  at Xamarin.Launcher.Driver.Main2 (System.String[] args) [0x00b13] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:448 
  at Xamarin.Launcher.Driver.Main (System.String[] args) [0x0006d] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:148 
rolfbjarne commented 4 years ago

This is very strange, I tried the exact same versions of everything, and I can't reproduce. Nor does the error make much sense wrt the reasons (concurrent gc), so I'm somewhat lost. Since nobody can reproduce (and nobody has reported something similar either), I'm inclined to believe it's something local on your machine.

From what I gather this happens with all iOS 12.* simulators (and no other simulators), no matter which type of device you're using (i.e. iPhone 6 + iOS 12.4 fails just like iPad Pro + iOS 12.0). Is that right?

jgold6 commented 4 years ago

There is one other person on my team who experienced this as well, and it is why I filed the issue because they reported the app not launching on iOS 12 simulator (trying to test a different user issue that was occurring only on iOS 12), and I tracked it down to that Concurrent Garbage Collector setting. I can't remember exactly how or why I thought to try that though.

I have not tested all iOS 12 simulators, just iPhone 6 running iOS 12.2 and 12.4, and iPhone Xr running iOS 12.4. If you want me to test more, let me know.

For iOS 13, I only tested iPhone 11 with iOS 13.3, and that did not reproduce the issue.

Here is the device output in Console.app from the simulator when the crash happens:

default 09:07:49.066858-1000    assertiond  Submitted job with label: UIKitApplication:com.onobytes.Issue7711[0xa0bd][19186]
info    09:07:49.074400-1000    SpringBoard [SBSceneLayoutWindow-Main-0x7fd2adf1c3d0-4] scene is ready
info    09:07:49.074594-1000    SpringBoard [HomeScreenDimming-0x7fd2adc20980-6] scene is ready
info    09:07:49.074717-1000    SpringBoard [SBMainSwitcherViewController-0x7fd2adf19a80-3] scene is ready
error   09:07:49.095050-1000    assertiond  Unable to obtain a task name port right for pid 19557: (os/kern) failure (0x5)
error   09:07:49.095251-1000    assertiond  Failed to start job with error <NSError: 0x7f9ab0a09810; domain: NSPOSIXErrorDomain; code: 3; reason: "The process failed to exec"> {
    description = "Unable to get valid task name port right for pid 19557";
    failureReason = "The process failed to exec";
    recoverySuggestion = "Consult /var/log/com.apple.xpc.launchd/launchd.log for more information";
}
error   09:07:49.095942-1000    SpringBoard [com.onobytes.Issue7711] Bootstrap failed with error: <NSError: 0x600002fe0b10; domain: BKSProcessErrorDomain; code: 1 (bootstrap-failed); reason: "Failed to start job">
error   09:07:49.096066-1000    SpringBoard Bootstrapping failed for <FBApplicationProcess: 0x7fd2b3108750; com.onobytes.Issue7711; pid: -1> with error: Error Domain=BKSProcessErrorDomain Code=1 "Unable to bootstrap process with bundleID com.onobytes.Issue7711" UserInfo={NSLocalizedDescription=Unable to bootstrap process with bundleID com.onobytes.Issue7711, BKSProcessExitReason=0, NSLocalizedFailureReason=Failed to start job, NSUnderlyingError=0x600002fc2a00 {Error Domain=NSPOSIXErrorDomain Code=3 "No such process" UserInfo={NSLocalizedFailureReason=The process failed to exec, NSLocalizedRecoverySuggestion=Consult /var/log/com.apple.xpc.launchd/launchd.log for more information, NSLocalizedDescription=Unable to get valid task name port right for pid 19557}}, BSErrorCodeDescription=bootstrap-failed}
default 09:07:49.096120-1000    SpringBoard Adding: <FBApplicationProcess: 0x7fd2b3108750; com.onobytes.Issue7711; pid: -1>
info    09:07:49.096261-1000    SpringBoard <FBApplicationProcessLaunchTransaction:0x600001af5110> Milestones added: processDidFinishLaunching
default 09:07:49.096287-1000    SpringBoard <FBApplicationProcess: 0x7fd2b3108750; com.onobytes.Issue7711; pid: -1> exited.
default 09:07:49.096453-1000    SpringBoard Removing: <FBApplicationProcess: 0x7fd2b3108750; com.onobytes.Issue7711; pid: -1>
rolfbjarne commented 4 years ago

Never seen those errors before!

Can you attach /var/log/com.apple.xpc.launchd/launchd.log?

jgold6 commented 4 years ago

I would have already, because of the recovery suggestion message in the error, but that file does not exist. The /var/log/com.apple.xpc.launchd folder is empty.

rolfbjarne commented 4 years ago

Does this find anything?

find ~/Library/Logs/CoreSimulator ~/Library/Developer/CoreSimulator -name '*launchd*' 
jgold6 commented 4 years ago

Yes. Lots. All from ~/Library/Developer/CoreSimulator (trimmed out that part from results):

Devices/8DA37652-F724-4A3F-9983-3AE74857A793/data/var/run/launchd_bootstrap.plist
Devices/8DA37652-F724-4A3F-9983-3AE74857A793/data/Library/com.apple.nsurlsessiond-launchd
Devices/8DA37652-F724-4A3F-9983-3AE74857A793/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/63AA5647-579C-49D7-9893-2DDFD73FD298/data/var/run/launchd_bootstrap.plist
Devices/63AA5647-579C-49D7-9893-2DDFD73FD298/data/Library/com.apple.nsurlsessiond-launchd
Devices/63AA5647-579C-49D7-9893-2DDFD73FD298/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/BC86E7DE-2FF7-467B-A518-B1C3629879B8/data/var/run/launchd_bootstrap.plist
Devices/BC86E7DE-2FF7-467B-A518-B1C3629879B8/data/Library/com.apple.nsurlsessiond-launchd
Devices/BC86E7DE-2FF7-467B-A518-B1C3629879B8/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/67975A3C-B922-4FEE-90B4-BAEBF2B8A59F/data/var/run/launchd_bootstrap.plist
Devices/67975A3C-B922-4FEE-90B4-BAEBF2B8A59F/data/Library/com.apple.nsurlsessiond-launchd
Devices/67975A3C-B922-4FEE-90B4-BAEBF2B8A59F/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/8920EA44-F567-4239-A20E-4966A3AA4542/data/var/run/launchd_bootstrap.plist
Devices/8920EA44-F567-4239-A20E-4966A3AA4542/data/Library/com.apple.nsurlsessiond-launchd
Devices/8920EA44-F567-4239-A20E-4966A3AA4542/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/6D6AFB27-9C96-4984-81A5-B59AB76B2F8A/data/var/run/launchd_bootstrap.plist
Devices/6D6AFB27-9C96-4984-81A5-B59AB76B2F8A/data/Library/com.apple.nsurlsessiond-launchd
Devices/6D6AFB27-9C96-4984-81A5-B59AB76B2F8A/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/D21DAADC-C516-4039-860E-3A942BC65082/data/var/run/launchd_bootstrap.plist
Devices/D21DAADC-C516-4039-860E-3A942BC65082/data/Library/com.apple.nsurlsessiond-launchd
Devices/D21DAADC-C516-4039-860E-3A942BC65082/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/FCD91BCC-B2E5-45EF-B7AA-D4D8679173CC/data/var/run/launchd_bootstrap.plist
Devices/FCD91BCC-B2E5-45EF-B7AA-D4D8679173CC/data/Library/com.apple.nsurlsessiond-launchd
Devices/FCD91BCC-B2E5-45EF-B7AA-D4D8679173CC/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/3EE70E99-FBCA-4B26-A897-EEFABC81E68B/data/var/run/launchd_bootstrap.plist
Devices/3EE70E99-FBCA-4B26-A897-EEFABC81E68B/data/Library/com.apple.nsurlsessiond-launchd
Devices/3EE70E99-FBCA-4B26-A897-EEFABC81E68B/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/4BE38013-D0AF-49C9-B919-09EBD2FED92E/data/var/run/launchd_bootstrap.plist
Devices/4BE38013-D0AF-49C9-B919-09EBD2FED92E/data/Library/com.apple.nsurlsessiond-launchd
Devices/4BE38013-D0AF-49C9-B919-09EBD2FED92E/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/FD1C0D05-0D8A-499B-AEE1-75C6557D2B7F/data/var/run/launchd_bootstrap.plist
Devices/FD1C0D05-0D8A-499B-AEE1-75C6557D2B7F/data/Library/com.apple.nsurlsessiond-launchd
Devices/FD1C0D05-0D8A-499B-AEE1-75C6557D2B7F/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/FC00073C-A5D7-4EC1-914F-D5306C38F589/data/var/run/launchd_bootstrap.plist
Devices/FC00073C-A5D7-4EC1-914F-D5306C38F589/data/Library/com.apple.nsurlsessiond-launchd
Devices/FC00073C-A5D7-4EC1-914F-D5306C38F589/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/2FD6CEC1-DE3A-46CE-AE7C-9F2ADFDF3516/data/var/run/launchd_bootstrap.plist
Devices/2FD6CEC1-DE3A-46CE-AE7C-9F2ADFDF3516/data/Library/com.apple.nsurlsessiond-launchd
Devices/2FD6CEC1-DE3A-46CE-AE7C-9F2ADFDF3516/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/B1B532D6-0463-4994-BE93-457897D1453D/data/var/run/launchd_bootstrap.plist
Devices/B1B532D6-0463-4994-BE93-457897D1453D/data/Library/com.apple.nsurlsessiond-launchd
Devices/B1B532D6-0463-4994-BE93-457897D1453D/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/CF1FC10D-7033-4221-8FCC-42B2E83FDBEF/data/var/run/launchd_bootstrap.plist
Devices/CF1FC10D-7033-4221-8FCC-42B2E83FDBEF/data/Library/com.apple.nsurlsessiond-launchd
Devices/CF1FC10D-7033-4221-8FCC-42B2E83FDBEF/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/4E9819FA-AF2C-4FFA-994B-0874B28D0581/data/var/run/launchd_bootstrap.plist
Devices/4E9819FA-AF2C-4FFA-994B-0874B28D0581/data/Library/com.apple.nsurlsessiond-launchd
Devices/4E9819FA-AF2C-4FFA-994B-0874B28D0581/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/4AD69C83-3330-4177-95D9-3868831C2F64/data/var/run/launchd_bootstrap.plist
Devices/4AD69C83-3330-4177-95D9-3868831C2F64/data/Library/com.apple.nsurlsessiond-launchd
Devices/4AD69C83-3330-4177-95D9-3868831C2F64/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/4AD69C83-3330-4177-95D9-3868831C2F64/data/Library/Preferences/com.apple.apsd.launchd
Devices/7F32CE4A-2913-4518-891C-ABAD0F374CF1/data/var/run/launchd_bootstrap.plist
Devices/7F32CE4A-2913-4518-891C-ABAD0F374CF1/data/Library/com.apple.nsurlsessiond-launchd
Devices/287B65C1-3D3E-4EC5-9AD4-0A3313400496/data/var/run/launchd_bootstrap.plist
Devices/287B65C1-3D3E-4EC5-9AD4-0A3313400496/data/Library/com.apple.nsurlsessiond-launchd
Devices/287B65C1-3D3E-4EC5-9AD4-0A3313400496/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/E85F762E-1187-4B00-999D-81836E774333/data/var/run/launchd_bootstrap.plist
Devices/E85F762E-1187-4B00-999D-81836E774333/data/Library/com.apple.nsurlsessiond-launchd
Devices/E85F762E-1187-4B00-999D-81836E774333/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/E85F762E-1187-4B00-999D-81836E774333/data/Library/Preferences/com.apple.apsd.launchd
Devices/024D0A66-4C2F-4137-A182-13E05A364DDD/data/var/run/launchd_bootstrap.plist
Devices/024D0A66-4C2F-4137-A182-13E05A364DDD/data/Library/com.apple.nsurlsessiond-launchd
Devices/024D0A66-4C2F-4137-A182-13E05A364DDD/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/D25367C4-46F1-461A-B23C-786CB260DBD8/data/var/run/launchd_bootstrap.plist
Devices/D25367C4-46F1-461A-B23C-786CB260DBD8/data/Library/com.apple.nsurlsessiond-launchd
Devices/D25367C4-46F1-461A-B23C-786CB260DBD8/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/B4E4ED1B-DB56-4F27-A0AF-CA96A8F98E5C/data/var/run/launchd_bootstrap.plist
Devices/B4E4ED1B-DB56-4F27-A0AF-CA96A8F98E5C/data/Library/com.apple.nsurlsessiond-launchd
Devices/B4E4ED1B-DB56-4F27-A0AF-CA96A8F98E5C/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/988B8702-44FF-4525-A198-CD86FA515661/data/var/run/launchd_bootstrap.plist
Devices/988B8702-44FF-4525-A198-CD86FA515661/data/Library/com.apple.nsurlsessiond-launchd
Devices/988B8702-44FF-4525-A198-CD86FA515661/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/EC60BA1A-664D-4F11-BF9F-F8A1CBB02EAE/data/var/run/launchd_bootstrap.plist
Devices/EC60BA1A-664D-4F11-BF9F-F8A1CBB02EAE/data/Library/com.apple.nsurlsessiond-launchd
Devices/EC60BA1A-664D-4F11-BF9F-F8A1CBB02EAE/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/EC60BA1A-664D-4F11-BF9F-F8A1CBB02EAE/data/Library/Preferences/com.apple.apsd.launchd
Devices/23E3F504-925B-4FCF-B066-6BEB4D3CE1C1/data/var/run/launchd_bootstrap.plist
Devices/23E3F504-925B-4FCF-B066-6BEB4D3CE1C1/data/Library/com.apple.nsurlsessiond-launchd
Devices/23E3F504-925B-4FCF-B066-6BEB4D3CE1C1/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/23E3F504-925B-4FCF-B066-6BEB4D3CE1C1/data/Library/Preferences/com.apple.apsd.launchd
Devices/20BA0DA7-666A-4496-B652-462374B0193F/data/var/run/launchd_bootstrap.plist
Devices/20BA0DA7-666A-4496-B652-462374B0193F/data/Library/com.apple.nsurlsessiond-launchd
Devices/20BA0DA7-666A-4496-B652-462374B0193F/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/CD3724DA-FB8B-41BC-91F6-E7137B575344/data/var/run/launchd_bootstrap.plist
Devices/CD3724DA-FB8B-41BC-91F6-E7137B575344/data/Library/com.apple.nsurlsessiond-launchd
Devices/CD3724DA-FB8B-41BC-91F6-E7137B575344/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/5578056A-FB4D-4E18-80B8-99496C16B732/data/var/run/launchd_bootstrap.plist
Devices/5578056A-FB4D-4E18-80B8-99496C16B732/data/Library/com.apple.nsurlsessiond-launchd
Devices/5578056A-FB4D-4E18-80B8-99496C16B732/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/91A77078-CA81-4FD6-AFFB-783FC6BBEB17/data/var/run/launchd_bootstrap.plist
Devices/91A77078-CA81-4FD6-AFFB-783FC6BBEB17/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/91A77078-CA81-4FD6-AFFB-783FC6BBEB17/data/Library/Preferences/com.apple.apsd.launchd
Devices/B87697C5-944F-4B32-9D22-C2ABE095FDE0/data/var/run/launchd_bootstrap.plist
Devices/B87697C5-944F-4B32-9D22-C2ABE095FDE0/data/Library/com.apple.nsurlsessiond-launchd
Devices/B87697C5-944F-4B32-9D22-C2ABE095FDE0/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/C55A5498-AC68-4FB2-90DA-AC5CD40D5C18/data/var/run/launchd_bootstrap.plist
Devices/C55A5498-AC68-4FB2-90DA-AC5CD40D5C18/data/Library/com.apple.nsurlsessiond-launchd
Devices/C55A5498-AC68-4FB2-90DA-AC5CD40D5C18/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/3063BEDB-A1C6-4F0C-82D4-61F00653B354/data/var/run/launchd_bootstrap.plist
Devices/3063BEDB-A1C6-4F0C-82D4-61F00653B354/data/Library/com.apple.nsurlsessiond-launchd
Devices/3063BEDB-A1C6-4F0C-82D4-61F00653B354/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/A00AAE19-8F8E-4D9F-93A8-3E7EC92DCF73/data/var/run/launchd_bootstrap.plist
Devices/A00AAE19-8F8E-4D9F-93A8-3E7EC92DCF73/data/Library/com.apple.nsurlsessiond-launchd
Devices/A00AAE19-8F8E-4D9F-93A8-3E7EC92DCF73/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/AC4EB6D1-6E6A-44A0-9D4E-F1E4CD1A49E6/data/var/run/launchd_bootstrap.plist
Devices/AC4EB6D1-6E6A-44A0-9D4E-F1E4CD1A49E6/data/Library/Preferences/com.apple.dataaccess.launchd
Devices/AC4EB6D1-6E6A-44A0-9D4E-F1E4CD1A49E6/data/Library/Preferences/com.apple.apsd.launchd
Devices/8C0313EB-7E92-45B8-BE62-FC53A1C23C06/data/var/run/launchd_bootstrap.plist
Devices/8C0313EB-7E92-45B8-BE62-FC53A1C23C06/data/Library/com.apple.nsurlsessiond-launchd
Devices/8C0313EB-7E92-45B8-BE62-FC53A1C23C06/data/Library/Preferences/com.apple.dataaccess.launchd
jgold6 commented 4 years ago

For the record, I just uninstalled and re-installed the iOS Simulator runtimes for iOS 12.4 and lower. The issue persists.

jgold6 commented 4 years ago

I am attaching the build outputs from a working and non-working deploy, i.e. with and without the CGC option selected. I noticed some interesting things when doing a diff between the two.

The non-working build has the following line in AssignTargetPaths Target while the working build does not:

 Using "AssignTargetPath" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

Likewise in Target SplitResourcesByCulture the non-working build output has:

Using "AssignCulture" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

and in Target _SetEmbeddedWin32ManifestProperties:

 Using "GetFrameworkPath" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

In Target CoreCompile:

Using "Csc" task from assembly "/Library/Frameworks/Mono.framework/Versions/6.6.0/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.Build.Tasks.CodeAnalysis.dll".

And in Target / Task _CodesignNativeLibraries / CodesignNativeLibraries:

Tool /usr/bin/codesign execution started with arguments: -v --force --sign - --timestamp=none "bin/iPhoneSimulator/Debug/device-builds/iphone 6-12.4/Issue7711.app/libmono-native.dylib"
Tool /usr/bin/codesign execution finished (exit code = 0).

So there are some build differences that might seem to be proximate to this issue?

Full build logs for working and non-working builds: non-working-build.txt working-build.txt

rolfbjarne commented 4 years ago

Are both of these build logs clean rebuilds?

jgold6 commented 4 years ago

Yes

rolfbjarne commented 4 years ago

Can you add --nofastsim to the additional mtouch arguments, and see if that makes the results independent on whether the concurrent gc is enabled or not (either way)?

jgold6 commented 4 years ago

Yes, adding that argument not only makes the build outputs match, but also resolves the issue.

I might suspect something with the codesign tool running in the CodesignNativeLibraries task?

from the non-working build output above:

Tool /usr/bin/codesign execution started with arguments: -v --force --sign - --timestamp=none "bin/iPhoneSimulator/Debug/device-builds/iphone 6-12.4/Issue7711.app/libmono-native.dylib"
Tool /usr/bin/codesign execution finished (exit code = 0).

The above lines are NOT in the build output when CGC option is selected OR if --nofastsim is in the add'l mtouch args, i.e. when the app launches as expected.

For the record, I did update VS for Mac with today's release, but that did not change any behavior that I can see (other than some differences in the build output with some paths using \ instead of / as path separator.

rolfbjarne commented 4 years ago

OK, now things make a little bit more sense at least.

Next try:

And see the last option also makes things work (it will force the .app to be signed).

jgold6 commented 4 years ago

OK, had to set up free provisioning as I no longer have a paid iOS Developer account, but once I did that then YES, that also resolves the issue.

rolfbjarne commented 4 years ago

Can you make the project fail again, then zip up the entire project folder, including the bin and obj folders, and attach it here? I should be able to run that locally to see if the exact same app works for me or not.

jgold6 commented 4 years ago

Here you go:

TestIssue7711-WithOutputFolders.zip

rolfbjarne commented 4 years ago

I can reproduce the issue on Catalina, but not on Mojave.

rolfbjarne commented 4 years ago

This is because of notarization: we started signing the simlauncher binary to pass notarization, but Catalina doesn't like that signature, so it refuses to load the executable. Removing the signature makes the app launch.

Unfortunately codesign's option to remove a signature (--remove-signature) is not documented, so we need to come up with a different alternative.

Suggestions:

spouliot commented 4 years ago

hmm... don't we have logic (mlaunch) to tweak the simlauncher ? does not it break the signature ? (maybe not now, since Catalina is the latest, but maybe later once 10.16 is out with something Catalina can't digest).

Another suggestion would be to create/cache simlauncher on demand (on the customer computer) instead of shipping it (in the .pkg).

That would have a few other small advantages:

edit there's a few cases where we disable fastsim that would need to be reviewed and (potentially) eliminated by caching several versions of the sim. Same goes for the mlaunch hacks, maybe they could be removed/reduced.

rolfbjarne commented 4 years ago

Another suggestion would be to create/cache simlauncher on demand (on the customer computer) instead of shipping it (in the .pkg).

I like this idea 👍

chamons commented 4 years ago

Given "I can reproduce the issue on Catalina, but not on Mojave.", removing need-info tag.

Christophe06410 commented 3 years ago

Sorry to come late to the party. I am facing the same issue and would like to understand what needs to be done to workaround it. Basically, running either the iOS simulator iPad Air iOS 12 or a real device (iPad Air iOS 12.5.4) make the app crash on startup. I am not an expert as you are, so I don't really get which of the aforementioned options should be used. In addition, I did not get if this is only for iOS simulator or both for simulator and real device. Please advise. Thank you

rolfbjarne commented 3 years ago

@Christophe06410

or a real device (iPad Air iOS 12.5.4) make the app crash on startup.

This particular issue only happens in the simulator, which means you're running into a different issue. Please file a new issue so that we don't have two issues in the same report, which ends up being confusing for everybody.

rolfbjarne commented 2 years ago

This is not a problem in .NET anymore (we don't ship a prebuilt simlauncher).