Compiled Application fails midrun in MacOS HighSierra

1 view (last 30 days)
Compiled an .app called ChoroidalThickness in Matlab 2016a in MacOS HighSierra.
The app has 2 main windows, the input window and the results window that opens after the processing progressbar reaches its end.
The software runs properly in Matlab 2016a but after compiling it (and installing it alongside Matlab Runtime 2016a) a strange thing happens:
When I run the .app directly, after the processing ends, the results window fails to open with a "\a" sound.
However, if I open the .app contents and run the unix executable files, it runs without a hitch. Moreover, if I run the .sh file in the shell, it runs smoothly as well, so I cannot debug and find out what the error is.
In the MacOS logs these warnings appear though (before the program fails):
Jul 3 18:26:20 ben-mbp ChoroidalThickness[6690]: assertion failed: 17F77: libxpc.dylib + 75093 [16132357-B57A-35F5-B165-487D3F759F45]: 0x89
Jul 3 18:26:26 ben-mbp ChoroidalThickness[6690]: objc[6690]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff8aa06c90) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x163edecd8). One of the two will be used. Which one is undefined.
Jul 3 18:26:26 ben-mbp ChoroidalThickness[6690]: BUG in libdispatch client: kevent[mach_recv] monitored resource vanished before the source cancel handler was invoked

Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Products


Release

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!