Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native iOS applications not running #16219

Closed
jfversluis opened this issue Oct 3, 2022 · 3 comments
Closed

Native iOS applications not running #16219

jfversluis opened this issue Oct 3, 2022 · 3 comments
Labels
need-info Waiting for more information before the bug can be investigated
Milestone

Comments

@jfversluis
Copy link
Member


Issue moved from dotnet/maui#10462


From @arivoir on Monday, October 3, 2022 2:47:10 PM

Description

Native iOS applications aren't running anymore since last vs update

Steps to Reproduce

  • Create new iOS Application
  • Run it

Link to public reproduction project repository

No demo

Version with bug

Unknown/Other (please specify)

Last version that worked well

6.0.400

Affected platforms

iOS

Affected platform versions

Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview Version 17.4.0 Preview 2.1 dotnet version 7.0.100-rc.1.22431.12

Did you find any workaround?

No

Relevant log output

ObjCRuntime.ObjCException
  Message=Objective-C exception thrown.  Name: NSInternalInconsistencyException Reason: Unable to instantiate the UIApplication delegate instance. No class named AppDelegate is loaded.
Native stack trace:
	0   CoreFoundation                      0x00000001148d0604 __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x0000000121c4fa45 objc_exception_throw + 48
	2   Foundation                          0x0000000116f6fa19 -[NSMutableDictionary(NSMutableDictionary) classForCoder] + 0
	3   UIKitCore                           0x000000012bfdea20 _UIApplicationMainPreparations + 1885
	4   UIKitCore                           0x000000012bfde299 UIApplicationMain + 73
	5   libmonosgen-2.0.dylib               0x00000001112c8aa2 do_icall + 194
	6   libmonosgen-2.0.dylib               0x00000001112c7abd do_icall_wrapper + 253
	7   libmonosgen-2.0.dylib               0x00000001112b9cda interp_exec_method + 2970
	8   libmonosgen-2.0.dylib               0x00000001112b7f5f interp_runtime_invoke + 239
	9   libmonosgen-2.0.dylib               0x00000001110d2198 mono_runtime_invoke_checked + 136
	10  libmonosgen-2.0.dylib               0x00000001110d8f3b mono_runtime_exec_main_checked + 107
	11  libmonosgen-2.0.dylib               0x0000000111212042 mono_jit_exec + 354
	12  libxamarin-dotnet-debug.dylib       0x00000001103efe9d xamarin_main + 1949
	13  FlexGridExplorer                    0x000000010f9dd924 main + 68
	14  dyld                                0x000000010ffd0f21 start_sim + 10
	15  ???                                 0x0000000110faa52e 0x0 + 4579829038

  Source=Microsoft.iOS
  StackTrace:
   at ObjCRuntime.Runtime.ThrowNSException(IntPtr ns_exception)
   at ObjCRuntime.Runtime.throw_ns_exception(IntPtr exc)
   at UIKit.UIApplication.Main(String[] args, String principalClassName, String delegateClassName)
   at FlexGridExplorer.Application.Main(String[] )
@tj-devel709
Copy link
Contributor

Hello, @arivoir. We will need more info in order to try to help with your issue. Please provide us a sample project as well as binary build logs which can be found here.

@tj-devel709 tj-devel709 added the need-info Waiting for more information before the bug can be investigated label Oct 4, 2022
@tj-devel709 tj-devel709 added this to the Future milestone Oct 4, 2022
@ghost
Copy link

ghost commented Oct 4, 2022

Hi @jfversluis. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@ghost
Copy link

ghost commented Oct 11, 2022

Hi @jfversluis. Due to inactivity, we will be closing this issue. Please feel free to re-open this issue if the issue persists. For enhanced visibility, if over 7 days have passed, please open a new issue and link this issue there. Thank you.

@ghost ghost closed this as completed Oct 11, 2022
@xamarin xamarin locked as resolved and limited conversation to collaborators Nov 11, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need-info Waiting for more information before the bug can be investigated
Projects
None yet
Development

No branches or pull requests

2 participants