I believe that when running inside xcode the current directory is where your app is, while when running it from the finder, its the home (users/***) directory. Im not sure, but if thats the case, then you can get the directory of your app and set the current directory to that
Look, the directory is /Applications/AnAppWichContainsAZipFile
So, shouldn't it just work?