I have a unique requirement where I wish to launch an App from a RAM disk.
The following command works successfully:
$ diskutil quiet erasevolume HFS+ TestDisk `hdiutil attach -nomount ram://2097152`
$ tar -c TestApp.app | tar -xC /Volumes/TestDisk/
$ cd /Volumes/TestDisk
$ open -a TestApp.appHowever, if I launch the application from Finder, I get the following error:
You can’t open the application “TestApp” because it may be damaged or incomplete.
I can copy the App to a FAT32 memory stick and it will launch successfully from Finder.
TestApp.app is a bare Cocoa application created in Xcode signed by a Developer ID.
I cannot find any logs in Console as to what the so-called damage is or what is incomplete.
How can I turn logs on to capture this information?