locked
App not starting on iOS 9.3 simulator RRS feed

  • Question

  • User360243 posted

    Hi, I am facing an issue with iOS 9.3 simulator and not been able to run even a hello world app on it. When I run from VS Mac, the app installs but failed to launch. It works fine on iOS 10x but not working at all on 9.3.

    Here is my environment:

    Visual Studio Community 2017 for Mac Version 7.6.9 (build 22) Installation UUID: 2181ccdb-9c01-4c8c-9cac-3676850b9f7f Runtime: Mono 5.12.0.309 (2018-02/39d89a335c8) (64-bit) GTK+ 2.24.23 (Raleigh theme) Xamarin.Mac 4.4.1.178 (master / eeaeb7e6)

    Package version: 512000309
    

    NuGet Version: 4.3.1.4445

    .NET Core Runtime: /usr/local/share/dotnet/dotnet Runtime Version: 2.1.2 SDK: /usr/local/share/dotnet/sdk/2.1.302/Sdks SDK Version: 2.1.302 MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.12.0/lib/mono/msbuild/15.0/bin/Sdks

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

    Apple Developer Tools Xcode 10.0 (14320.25) Build 10A255

    Xamarin.Android Version: 9.0.0.20 (Visual Studio Community) Android SDK: /Users/sahmad/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 8.1 (API level 27)

    SDK Tools Version: 26.1.1 SDK Platform Tools Version: 28.0.0 SDK Build Tools Version: 27.0.3

    Java SDK: /usr java version "1.8.0131" Java(TM) SE Runtime Environment (build 1.8.0131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

    Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL

    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.Mac Version: 5.0.0.0 (Visual Studio Community) Hash: b40230c0 Branch: Build date: 2018-09-27 11:41:37-0400

    Xamarin.iOS Version: 12.0.0.15 (Visual Studio Community) Hash: 84552a46 Branch: xcode10 Build date: 2018-09-17 21:54:33-0400

    Build Information Release ID: 706090022 Git revision: 0a0ba3c4593e9adb1c6ff6324e641036146af376 Build date: 2018-10-05 16:38:51+00 Build branch: release-7.6 Xamarin extensions: f7856b13f2c03a58e08381d3a5970bba18f5c7d7

    Operating System Mac OS X 10.14.0 Darwin 18.0.0 Darwin Kernel Version 18.0.0 Wed Aug 22 20:13:40 PDT 2018 root:xnu-4903.201.2~1/RELEASEX8664 x86_64

    Enabled user installed extensions LiveXAML 1.3.31

    Any help?

    Monday, October 22, 2018 2:33 PM

Answers

  • User360243 posted

    Yes, I tried that as well but no joy. Tried on iPhone 5 and 6 as well but not working. It looks like an issue with Mac OS version I am running. https://github.com/xamarin/xamarin-macios/issues/4741#issuecomment-419790225 but the build should work fine on the real device I think.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Monday, October 22, 2018 5:37 PM

All replies

  • User74 posted

    Which simulator? You only mentioned iOS version. Can you run the app manually on the simulator? Can you deploy and run a hello world app to the same simulator?

    Monday, October 22, 2018 3:00 PM
  • User360243 posted

    Thanks for your reply. I am using iPad Air 9.3.0. I cannot even get a blank app running on it.

    Can you run the app manually on the simulator? Sorry I'm not sure how do I do it? I have tried running the app without debug and still crashes.

    Monday, October 22, 2018 4:28 PM
  • User74 posted

    @"SafeerAhmad.1545" said: Thanks for your reply. I am using iPad Air 9.3.0. I cannot even get a blank app running on it.

    Can you run the app manually on the simulator? Sorry I'm not sure how do I do it? I have tried running the app without debug and still crashes.

    You said the app deploys to the simulator. So tap the app icon on the simulator to see if you can run it manually.

    Can you get it to run on an iPhone 6 simulator? Can you get it to run on an iPhone 5 simulator?

    Monday, October 22, 2018 4:58 PM
  • User360243 posted

    Yes, I tried that as well but no joy. Tried on iPhone 5 and 6 as well but not working. It looks like an issue with Mac OS version I am running. https://github.com/xamarin/xamarin-macios/issues/4741#issuecomment-419790225 but the build should work fine on the real device I think.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Monday, October 22, 2018 5:37 PM
  • User97623 posted

    Had the same issue even though my XCode is the latest (10.1) and my Visual Studio for Mac is 100% up to date. I managed to test on an old iPad Mini 2 my wife had running iOS 9.3.5 and it worked (after changing the CPU architecture of the project to support the pre 64 bit processors as well) - so its definitely a simulator issue not a an actual iOS issue. Good to know it works on the actual hardware, though I hope Apple fixes it in XCode 10.2 update of the simulators

    Tuesday, February 5, 2019 11:08 AM
  • User157085 posted

    Same - all iOS 9.3 simulators fail to start the app :( "Apple doesn't support iOS 9.3 simulator on macOS Mojave" - yikes :| https://github.com/xamarin/xamarin-macios/issues/4741#issuecomment-460606607

    Wednesday, February 6, 2019 11:42 AM