I wrote an App with the SDK that relies on reading files outside its own directory. It works perfectly with the simulator, so I bought the developer program - just to find out that it does not work on a real device with 2.1. :-(
I'd at least like to use it myself, though, and maybe one time publish it on Cydia/Installer, so here's my question:
What's the difference between Cydia/Installer apps and normal SDK apps that gives the former the right to access everything but blocks the latter from some dirs and files? I already tried to change the file permissions on my now-jailbroken device, but still I cannot access the desired files from my SDK app.
Is there an easy way (preferredly without me having to install an additional toolchain) to just give my app the file reading possibilities I want it to have? Specifically, I want to access the calendar database. Could there even be a tricky way to achieve that without having to jailbreak the phone?
To all who might have similar few clues about how to do that as I had: If you are copying the app from the desktop using afp (with the desktop finder), you will have to set the executable bits of the actual executable in the .app directory and possibly give read permission to everyone before it can work. (In the Terminal, go to /Applications, then type "chmod -R a+r yourapp.app", "cd yourapp.app", "chmod a+x yourapp".) The program wil only show up in the springboard after you did a "respring" with BossPrefs or rebooted the iPhone.