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

Cannot run Debug build on iOS simulator #21811

Closed
sachinkanadia opened this issue Apr 13, 2024 · 3 comments
Closed

Cannot run Debug build on iOS simulator #21811

sachinkanadia opened this issue Apr 13, 2024 · 3 comments
Labels
platform/iOS 🍎 s/needs-attention Issue has more information and needs another look t/bug Something isn't working

Comments

@sachinkanadia
Copy link

sachinkanadia commented Apr 13, 2024

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 sachinkanadia added the t/bug Something isn't working label Apr 13, 2024
@sachinkanadia sachinkanadia changed the title Cannot run debug build on iOS simulator Cannot run Debug build on iOS simulator Apr 13, 2024
@jfversluis
Copy link
Member

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

@jfversluis jfversluis added the s/needs-info Issue needs more info from the author label Apr 15, 2024
@sachinkanadia
Copy link
Author

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

@dotnet-policy-service dotnet-policy-service bot added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Apr 16, 2024
@PureWeen
Copy link
Member

Duplicate of #21057

@PureWeen PureWeen marked this as a duplicate of #21057 Apr 16, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/iOS 🍎 s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants