Is there a way to customize the iOS Simulator app directory?
I am using Xcode 4.3 and currently under
/Users/<Username>/Library/Application Support/iPhone Simulator/5.1/Applications/
When I run the application in Xcode, it is copied to a subdirectory:
/Users/<Username>/Library/Application Support/iPhone Simulator/5.1/Applications/<APP-UUID>/<AppName>.app
"Documents", "Library" and "tmp" are next to the application itself. Any file access that I make in my application uses this directory as root.
The reason for this is that I want to store files on an SSD, which is not my boot volume. Therefore, any hard links will not work.
I haven't watched Xcode 4.4 or 4.5 yet, but I could use them as well.
UPDATE:
Soft links actually work:
Delete first
rm -R /Users/<Username>/Library/Application Support/iPhone Simulator/5.1/Applications/
Then create a soft link
ln -s /Volumes/<YourSSDVolume>/Applications/ /Users/<Username>/Library/Application Support/iPhone Simulator/5.1/Applications/
Thanks to John.K.Doe for making me try again;)
Klaas source share