Post

Replies

Boosts

Views

Activity

Reply to AXIsProcessTrustedWithOptions doesn't work
This is the result of executing the following commands on the terminal where the problem occurs. $ tccutil reset Accessibility [com.myapp] tccutil: Failed to reset Accessibility approval status for [com.myapp] After some research, I found a description that says /Library/Application Support/com.apple.TCC/TCC.db is corrupted when I get this kind of result.
Nov ’20
Reply to can't codesign the .app file using Visual Studio for Mac
I took care of these points. not using the --deep option. Place only the code items in Contents/Frameworks and create Symlink to Contents/Frameworks in Contents/MonoBundle There were various files under the Contents/MonoBundle, and I used the otool -h -v command to investigate whether the file was a Mach-O object or not. Then I moved the file to Contents/Frameworks and created Symlink to Contents/Frameworks in Contents/MonoBundle. At this point, the app will launch normally. Then I signed it with the following command. codesign -v --force --timestamp --sign [signature code] \ /path/to/solution_directory/MyApp/bin/Release/MayApp.app/Contents/Frameworks/SQLite.Interop.dll codesign -v --force --timestamp --sign [signature code] \ /path/to/solution_directory/MyApp/bin/Release/MayApp.app/Contents/Frameworks/libmono-native.dylib codesign -v --force --timestamp --sign [signature code] \ /path/to/solution_directory/MyApp/bin/Release/MayApp.app/Contents/Frameworks/libMonoPosixHelper.dylib codesign -v --force -o runtime --timestamp --sign [signature code] \ --entitlements /path/to/solution_directory/MyApp/obj/Release/Entitlements.xcent \ /path/to/solution_directory/MyApp/bin/Release/MayApp.app But when I try to run the application, it crashes. This is the crash log. ~ Crashed Thread:				0	Dispatch queue: com.apple.main-thread Exception Type:				EXC_BAD_ACCESS (SIGSEGV) Exception Codes:			 KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note:				EXC_CORPSE_NOTIFY Termination Signal:		Segmentation fault: 11 Termination Reason:		Namespace SIGNAL, Code 0xb Terminating Process:	 exc handler [20121] VM Regions Near 0:-> 		__TEXT								 000000010005b000-0000000100479000 [ 4216K] r-x/r-x SM=COW	/Users/USER/*/MyApp.app/Contents/MacOS/MyApp ~ Is there something wrong with it?
Sep ’20