Replies: 1 comment
-
I noticed your issue with deploying the PupilEXT app on MacOS. Below is a step-by-step guide that should help you embed the necessary libraries and frameworks into your Step-by-Step Guide for Deploying PupilEXT on Mac
By following these steps, you should be able to create a deployable |
Beta Was this translation helpful? Give feedback.
-
Dear Everyone,
While trying to make the deployment file for the Experimental-Community-Version release v0.1.2 we ran into a problem. The compiled .app file can be successfully placed inside a .dmg file to create an tiny installer-like file, that is fine. It can be unpacked and added to the Applications, and run with no problem on the very same machine that it was built on. However, on another Mac machine (which also does not have Xcode, Qt, or anything, only Pylon installed) it cannot be started after adding to the Applications.
Our compiled .app file is ~24 Mb in size, which is circa 70 Mb smaller than the release v0.1.1. of PupilEXT, which is already a red flag. The former seems to lack the dependencies/libraries embedded within the .app file. I inspected it, and it does not at all contain the Frameworks folder, which would normally be there and likely contain a bunch of .dylib files, as opposedly is the case in the v0.1.1 release.
I found the MacOS_Deployment_Helper Matlab script in the Misc folder in the original source code already, however it seems to only change several existing item names/entries inside the resulting .app file in the Frameworks folder, but itself does not add them.
I am really new to building for MacOS and do not clearly know what I should do to let CMake include the needed libraries in the .app file created. I already tried several hours of googling and looking around on SO, trying to make a working build, but I have not yet found a clear solution. (Also I only have one Mac so I need to wait for a friend to test it for me at each trial-error iteration, so that is the reason why I proceed with this matter so slowly.)
Could somebody please help or refer me to a page where a solution is likely to be found?
Thank you for your time!
Beta Was this translation helpful? Give feedback.
All reactions