app-bundle

Why doesn't this sample code from Apple work?

I am trying to find the full path for a file called 'file1.jpg' I have verified that it is in the app bundle and yet when I run this code: NSBundle* myBundle = [NSBundle mainBundle]; NSString* path = [myBundle pathForResource:@"file1" ofType:@"jpg"]; 'path' doesn't have the path/file i'm expecting. This is code directly from the ...

Bundle a python script into an OS X App, but...

I currently have a script that I'm using to update files for me from a couple repositories. The script works fine if I execute it using: python myscript.py However, when I attempt to bundle into an App, it no longer functions correctly because a part of my script requires user input. There is no interface, however, for it to use. I've...

How to create an application bundle in Xcode?

Alright, I have just finished coding an application in Xcode... How do I create an application bundle out of this? I tried using the "Release" build configuration, but on a tester's computer the application states that the application requires a newer version of OS X. He has the latest one! This is my info.plist. <?xml version="1.0"...