Open farukaf opened 3 years ago
This looks like a 32-bit issue, but I'm not able to reproduce it with the devices I have.
Can you still reproduce if:
Also please attach your test solution, just to make sure we're testing exactly the same thing.
With the iPad 2 I tried every combination of architecture, only when ARMv7 (alone or not) the "splash" screen showed up followed by freeze or crash. It's working with an iPhone 6s (don't remember de iOS version).
This is the project I used to make the "sanity check", just to be sure it's not a Nuget or my code crashing. https://github.com/farukaf/XamarinPoC
Soon as possible I'll check the iOS version of the device
This is the project I used to make the "sanity check", just to be sure it's not a Nuget or my code crashing. https://github.com/farukaf/XamarinPoC
Could you attach:
The diagnostic build log from a build that crashed.
-v -v -v -v
to the mtouch additional arguments by right-clicking the project in the solution explorer and selecting Properties
.The complete text in the Application Output in VSMac (from the build that crashed)
Your complete version information.
I'm not able to physically access to the Mac right now. (remotely working at the moment)
I got the logs from this build and linked as a gist.
Build Logs
Microsoft Visual Studio Enterprise 2019
Version 16.8.2
VisualStudio.16.Release/16.8.2+30717.126
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Enterprise
ASP.NET and Web Tools 2019 16.8.553.28003
ASP.NET and Web Tools 2019
ASP.NET Core Razor Language Services 16.1.0.2052803+84e121f1403378489b842e1797df2f3f5a49ac3c
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2019 16.8.553.28003
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 16.8.553.28003
Azure App Service Tools v3.0.0
Azure Functions and Web Jobs Tools 16.8.553.28003
Azure Functions and Web Jobs Tools
C# Tools 3.8.0-5.20567.16+53c5d7d3cf13d88978744a32a27c5f8350a8400a
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Extensibility Message Bus 1.2.6 (master@34d6af2)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
IntelliCode Extension 1.0
IntelliCode Visual Studio Extension Detailed Info
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.30924.1
Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 2.1.113+g422d40002e.RR
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Mono Debugging for Visual Studio 16.8.43 (00471f8)
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 5.8.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
Snapshot Debugging Extension 1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Data Tools 16.0.62010.06180
Microsoft SQL Server Data Tools
TypeScript Tools 16.0.21016.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 3.8.0-5.20567.16+53c5d7d3cf13d88978744a32a27c5f8350a8400a
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 16.8.0-beta.20507.4+da6be68280c89131cdba2045525b80890401defd
Microsoft Visual F# Tools
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Container Tools Extensions 1.0
View, manage, and diagnose containers within Visual Studio.
Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers
VisualStudio.DeviceLog 1.0
Information about my package
VisualStudio.Foo 1.0
Information about my package
VisualStudio.Mac 1.0
Mac Extension for Visual Studio
Xamarin 16.8.000.255 (d16-8@d002176)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 16.8.0.507 (remotes/origin/d16-8@e87b24884)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates 16.8.112 (86385a3)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK 11.1.0.17 (d16-8/c0e2b8e)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: be2226b
Java.Interop: xamarin/java.interop/d16-8@79d9533
ProGuard: Guardsquare/proguard/proguard6.2.2@ebe9000
SQLite: xamarin/sqlite/3.32.1@1a3276b
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-8@2fb1cbc
Xamarin.iOS and Xamarin.Mac SDK 14.4.1.3 (e30c41de3)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
iPhone 6s is iOS 13.6.1
This is the project I used to make the "sanity check", just to be sure it's not a Nuget or my code crashing. https://github.com/farukaf/XamarinPoC
This project only uses ARM64: https://github.com/farukaf/XamarinPoC/blob/master/XamarinPoC/XamarinPoC.iOS/XamarinPoC.iOS.csproj#L48
Steps to Reproduce
Expected Behavior
Deploy works and APP launch.
Actual Behavior
Deploy works but APP freezes if in debug, closes after few seconds if tapped both not going thru 'splash'.
Debugging stops on
LoadApplication(new App());
command atAppDelegate.cs
file.Environment
Microsoft Visual Studio Enterprise 2019 Version 16.8.2 Xamarin Forms Versions 4.8.0.1687, 4.8.0.1534, 4.8.0.1269
Device: iPad 2 Wifi 32gb
Build Logs
Gist Log Files
Maybe related: Xamarin Forms's Sample Issue #637
Tried different configurations, linker behaviors, and other options I could think. Developer certificate and profile is OK. Device is registred in Apple's website.