TrueCrypt on Mac OS X 10.9 - macos

I'm using Mac OS X 10.9 with OSXFUSE 2.6.2. I've created 3 virtual drives. When I click the "Dismount All" button, it takes above 10 seconds to dismount all drives, but if I use the command line "/Applications/TrueCrypt.app/Contents/MacOS/TrueCrypt -t --dismount", they are unmounted immediately. I have no idea why two versions behave so differently? I looked into the source code but didn't find any difference. Anyone can explain that? Thanks in advance!

Related

Xcode 6.4 on OSX 10.11 (El Capitan) beta 2 / beta 3

I am trying to run Xcode 6.4 on El Capitan and I can run with the instructions on this post.
But I am looking for a way to run it without any external program as I ran before with OSX 10.10 (Yosemite).
I found this post that point to this instructions but it does not work. These are the instructions
Open this file /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exception.plist
Find lines with name xcode in them (http://i.imgur.com/tcKWLhz.png)
Edit value HardDisabled from YES to NO
Save and reboot
1.a) If you can't save because file says it's locked then enable
rootless mode (sudo nvram boot-args="kext-dev-mode=1 rootless 0" or
sudo nvram boot-args="kext-dev-mode=1 rootless=0") and reboot.
1.b) If you still have problem, copy Exceptions.plist to Desktop (or
wherever else) and edit it them.
1.c) Save it and them remove
Exceptions.plist in System (sudo rm -rf
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist)
1.d) Copy file from Desktop (or wherever else) to
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources and
reboot.
I couldn't edit the Exceptions.plist file with the instructions above, but after a lot of tries I found the way to edit it.
Here you can find the instructions to edit it.
After all of this, I still receiving the message
You can't open the application "XCode.app" because it is not supported
on this type of Mac
when I try to run Xcode 6.4 from Finder
SOLUTION 1
The only thing I didn't do was to reinstall XCode 6.4 after the changes. I reinstalled it and it works!
SOLUTION 2
Dave Wood provided another solution to avoid to reinstall XCode. This is is post and as he posted in his answer the script is here
Xcode 6.4 runs out-of-the-box on:
El Capitan Beta 4 (build 15A226f)
El Capitan Beta 5 (build 15A235d)
El Capitan Beta 7 (build 15A263e)
Xcode 6.4 fails to open on:
El Capitan Beta 6 (build 15A244d) - Workaround here
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib
sudo mv dyld_sim dyld_sim.orig
There are two places in Exceptions.plist which list Xcode. The one you don't have listed is:
<key>com.apple.Xcode</key>
<array>
<dict>
<key>AppStoreIdentifier</key>
<string>497799835</string>
<key>AppStoreUpdateIsFree</key>
<true/>
<key>HardDisabled</key>
<false/>
<key>HighVersion</key>
<string>5085.0</string>
</dict>
</array>
It is necessary to re-install Xcode afterwards.
In addition to the original first answer if you dont want to reinstall xcode again because of slow internet connection you can just copy xcode to desktop delete the one in application folder (Assuming you did all the required steps above except reinstalling). And move back xcode to application folder(while copying to desktop itself if you did above step right you will notice the cut icon will dissapear after copying)
User lembacon here found the solution:
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
cd Developer/SDKs/iPhoneSimulator.sdk/usr/lib
sudo mv dyld_sim dyld_sim.orig
The reason is that the internal implementation of
_NSGetExecutablePath has been updated (where the Kernel is
involved), and the host dyld has also been updated to track this
change. The dyld_sim, however, has not yet been updated. So the
problem is that _NSGetExecutablePath will return a path that
contains a executable_path= part which causes that the
CFBundleGetMainBundle() always returns NULL. This workaround
simply forces the simulator to use the host dyld.
I confirm that this solution is working with Xcode 6.4.

Mac OS X 10.10 disable USB ports

Can anyone tell me how to disable all usb-ports on OSX 10.10 (Yosemite)?
We've got a large number of iMacs setup, where we don't want the user to be able to control/use USB ports.
In previous OSX versions, the command was
cd /System/Library/Extensions
mv IOUSBMassStorageClass.kext/ IOUSBMassStorageClass.kext.bup
But this no longer works under Yosemite?
Eventually found a solution, i now use
cd /System/Library/Extensions/
sudo kextunload IOUSBMassStorageClass.kext
and after that all usbs are disabled.

sandbox issue in Yosemite (OSX 10.10)

I have a virtual printer with the CUPS backend which is perl script to write a postscript file to /Applications/User folder. It is working in 10.7 to 10.9. Now I am testing this on Yosemite dev preview 5 and it is failing to create the file to the folder. It is showing sandbox error in 10.10.
"sandoxd: perl5.18 deny file-read-metadata"
How do we take care of this issue? Is there any generic folder which can be used to write file to? How can we resolve this issue?
Thanks.
I had nearly the exact same problem. I solved it by moving the dependencies from /opt/msipp to /usr/share/cups/msipp.

OpenNI 2 OS X Mountain Lion

I've been struggling with this for too much time. I am trying to install OpenNI 2 to make my kinect work with a Mac on OS X Mountain Lion.
I downloaded the package for OS X from http://www.openni.org/openni-sdk and and I ran the install.sh file with sudo privileges inside it, which did absolutely nothing more than to create an "OpenNIDevEnvironment" file in the same folder as the install file. In the Redist I see some libraries, which are not installed. I also took a look at the install.sh script. It's not supposed to copy anything!
Can anyone tell me how to proceed from this point onwards?
i have the problem too.
try download
https://github.com/OpenNI/OpenNI2
than go into the folder and do
"sudo make"
in my case, my new problem is "no device found".
but that could be the problem of Kinect Model 1473.
It looks like that first step appears to do nothing but there is more to it, this might have some answers: http://www.theworldneedsmoredreamers.net/using-openni-2-2-beta-on-os-x/

gedit text editor - mac os x

Does anybody know if you can setup remote connections in gedit(on mac os x snow leopard), so I don't have to keep ftp'ing up seperately.
I know it can be done on Ubuntu but can't figure out how to do it on a mac, if even possible.
An application independent solution for this would be sshfs on OSX through MacFUSE. sshfs is also available for Linux.
This sshfs with a GUI is also available via MacPorts.
There is also a possibility of automatic upload after each file save in Transmit and in Cyberduck (FTP programs).

Resources