maui icon indicating copy to clipboard operation
maui copied to clipboard

Cannot run Debug build on iOS simulator

Open sachinkanadia opened this issue 1 year ago • 2 comments

Description

When setting the build configuration to Debug and deployment to a simulator my App crashes on launch. Here is the application output I get:

2024-04-13 15:56:50.784668+0100 LightWork[1799:27207] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3icu6number4impl20AffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE.
2024-04-13 15:56:50.785030+0100 LightWork[1799:27207] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3icu6number4impl20AffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE.
2024-04-13 15:56:50.785176+0100 LightWork[1799:27207] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3icu6number4impl20AffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE.
2024-04-13 15:56:50.785337+0100 LightWork[1799:27207] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3icu6number4impl20AffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE.
2024-04-13 15:56:50.785691+0100 LightWork[1799:27207] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3icu6number4impl20AffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE.
2024-04-13 15:56:50.788509+0100 LightWork[1799:27207] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3icu6number4impl20AffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE.
2024-04-13 15:56:50.788860+0100 LightWork[1799:27207] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3icu6number4impl20AffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE.
2024-04-13 15:56:50.790364+0100 LightWork[1799:27207] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3icu6number4impl20AffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE.
2024-04-13 15:56:50.791567+0100 LightWork[1799:27207] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3icu6number4impl20AffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE.
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to /Users/runner/work/1/s/HotReload/Source/Xamarin.HotReload.Agent/HotReloadAgent.cs:418 [0x00000].
2024-04-13 15:56:50.847821+0100 LightWork[1799:27207] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=1799
2024-04-13 15:56:50.848078+0100 LightWork[1799:27207] SecTaskCopyDebugDescription: LightWork[1799]/0#-1 LF=0
2024-04-13 15:56:50.859558+0100 LightWork[1799:27207] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=1799
2024-04-13 15:56:50.860083+0100 LightWork[1799:27207] SecTaskCopyDebugDescription: LightWork[1799]/0#-1 LF=0
2024-04-13 15:56:50.860382+0100 LightWork[1799:27207] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=1799
2024-04-13 15:56:50.860541+0100 LightWork[1799:27207] SecTaskCopyDebugDescription: LightWork[1799]/0#-1 LF=0
2024-04-13 15:56:50.917106+0100 LightWork[1799:27207] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
2024-04-13 15:56:51.096508+0100 LightWork[1799:27285] [unspecified] container_query_get_single_result: error = 2→(98) NOT_CODESIGNED
2024-04-13 15:56:51.096658+0100 LightWork[1799:27285] [unspecified] container_system_group_path_for_identifier: error = ((container_error_t)98) NOT_CODESIGNED
2024-04-13 15:56:51.108899+0100 LightWork[1799:27285] [MC] Error getting system group container for systemgroup.com.apple.configurationprofiles: 98
2024-04-13 15:56:51.109583+0100 LightWork[1799:27285] [MC] Failed to get profile system group container path. Overriding with expected path: /Users/sachin/Library/Developer/CoreSimulator/Devices/1FB460E3-60A0-4A14-9DDD-378C673A6A66/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2024-04-13 15:56:51.181688+0100 LightWork[1799:27207] [Foundation] Attempted to decode a collection type 'NSMutableArray' (subclass of 'NSArray') for key 'root'. 'NSMutableArray' requires its subclasses to be explicitly added to the allowed classes list but it is not present. Allowing this has been a source of security issues. Please ensure you meant this type to be in archives: 'NSMutableArray' (0x7ff841f06ce8) [/Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework]

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.3 GA

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

sachinkanadia avatar Apr 13 '24 15:04 sachinkanadia

Can you please provide more information about the versions you are using? What version of Visual Studio? Xcode? macOS? iOS Simulator?

jfversluis avatar Apr 15 '24 07:04 jfversluis

Can you please provide more information about the versions you are using? What version of Visual Studio? Xcode? macOS? iOS Simulator?

Versions: Visual Studio Mac - 17.6.11 (build 400) macOS - Sonoma 14.4.1 (23E224) XCode - 15.3 (15E204a) iOS Simulator - 17.4

I hope this helps when looking into this issue. Many Thanks

sachinkanadia avatar Apr 16 '24 07:04 sachinkanadia

Duplicate of #21057

PureWeen avatar Apr 16 '24 18:04 PureWeen