Are the permissions for the iphone/ipad simulator different from the device itself? I only ask because I’m experimenting with file I/O, and creating and then writing to my own temporary file fails, but creating and writing to, say, the Desktop on my Mac (from the iPad simulator) is completely okay.
Am I doing something wrong with my tempfile creation on the simulator?
The permissions are different. On the simulator you can write outside the app’s directory and on device you cannot. If you could on device, you alter other apps or attack the operating system.