Visual Studio 2022 on macOS M1 - compiler failure: application crashes

Copper Contributor

Hi folks,

 

I installed the latest Visual Studio 2022 preview for M1 Macs and would like toi write a native cocoa app. I created a new Cocoa-App (Mac-App-Xamarin) and just compiled it. But I always get this error / crash message and really didn't find any solution, yet. Anyone who can help me?

 

 

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Cocoa Test [3197]
Path:                  /Users/USER/*/Cocoa Test.app/Contents/MacOS/Cocoa Test
Identifier:            com.companyname.AppName
Version:               1.0 (1)
Code Type:             X86-64 (Translated)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-10-30 19:29:01.2371 +0100
OS Version:            macOS 13.0 (22A380)
Report Version:        12
Anonymous UUID:        289ADDEB-7896-84E9-45B7-15B9AD808807

Sleep/Wake UUID:       91C3501D-721C-42D6-AA11-D04FBEA02651

Time Awake Since Boot: 6200 seconds
Time Since Wake:       6205 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: /System/Library/Frameworks/CHIP.framework/Versions/A/CHIP
Referenced from: <B59DCE00-7163-32FE-B340-ED3F589BCA27> /Users/USER/*/Cocoa Test.app/Contents/MacOS/Cocoa Test
Reason: tried: '/System/Library/Frameworks/CHIP.framework/Versions/A/CHIP' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/CHIP.framework/Versions/A/CHIP' (no such file), '/System/Library/Frameworks/CHIP.framework/Versions/A/CHIP' (no such file, not in dyld cache), '/Library/Frameworks/CHIP.framework/Versions/A/CHIP' (no such file)
(terminated at launch; ignore backtrace)

 

 

I stripped the error message because it's very long.

1 Reply

Hi @Stony2k,

Thanks for posting your issue here.

However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
Best Regards,
Lan Huang