Questions tagged [app-bundle]

Questions related to OS X or iOS `.app` files, particularly their creation. Underneath, these are a special folder called a bundle. iOS .ipa files are then based off of these.

In an application bundle, the first directory in the bundle underneath the top-level directory is usually named Contents. Within Contents there is usually another directory (called MacOS on Macs, or using the application's name on GNUstep), which contains the application's executable code.

An application bundle manages the code and resources associated with a launchable process. The exact structure of this bundle depends on the platform (iOS or OS X) that you are targeting. For information about the structure of application bundles

Bundles provide a simplified interface for end users and at the same time provide support for development. This chapter provides an introduction to bundles and discusses the role they play in OS X and iOS.

Reference :

140 questions
0
votes
1 answer

How to include and call an executable in a Cocoa app?

I can run an executable from a known local directory within a Cocoa app like this: // Run the server. NSTask *task = [[NSTask alloc] init]; NSPipe *pipe = [NSPipe pipe]; NSString* scriptPath = @"/Users/example/Server/runServerExecutable.sh"; [task…
Khylnn Wu
  • 19
  • 5
0
votes
0 answers

Where to store and access additonal content for iOS app from own server

I am trying to understand something that is not clear to me about the storage and access of additional content downloaded from my own server to my iOS app. Clearly this is possible, see the section called Downloading Content from Your Own Server . I…
ajeetdl
  • 1,254
  • 1
  • 13
  • 17
0
votes
1 answer

Ant Mac OS X Appbundler current directory path issues

I'm trying to compile a Java application into a Mac OS X app bundle. I add the following setting to set the current working directory: ...
Béatrice Cassistat
  • 1,048
  • 12
  • 37
0
votes
1 answer

How to copy a file from the app bundle to another directory without System.UnauthorizedAccessException?

I try to copy a file that is included in the app bundle as a resource to the temp folder on the iPhone. While this works on the Simulator, on the device I get an exception: System.UnauthorizedAccessException: Access to the path …
Krumelur
  • 32,180
  • 27
  • 124
  • 263
0
votes
0 answers

AppBundler App doesn't stop hopping in Dock

I use AppBundler vers 1.0 for bundling my jar file to a OSX App. My application does not have any UI and I think this is the reason why my problem occurs: When starting the app the icon will hop on the dock just like any other app would do, but it…
user3471768
0
votes
1 answer

PyInstaller doesn't update ic

PyInstaller misleadingly defines flag for the user to include an .icns but it actually does nothing, as documented: -i FILE.ICO, -i FILE.EXE,ID, -i FILE.ICNS, --icon=FILE.ICO, --icon=FILE.EXE,ID, --icon=FILE.ICNS If FILE is an .ico file, add the…
fatuhoku
  • 4,815
  • 3
  • 30
  • 70
0
votes
2 answers

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"…
GeoffreyF67
  • 11,061
  • 11
  • 46
  • 56
0
votes
1 answer

Making Overall App Size Smaller

I just recently talked to an app marketing agency and they are strongly recommending that I find a way to take my 153MB app and somehow get it under the 50MB mark that is the current standard for downloading over a wireless network (3G, 4G, etc.).…
daveMac
  • 3,041
  • 3
  • 34
  • 59
0
votes
1 answer

Convert .jar to .app

Trying to use App Bundler to convert my .JAR to .APP but the documentation is difficult to understand. Does anybody know any tutorials or how to do it?
Omid
  • 823
  • 1
  • 11
  • 31
0
votes
1 answer

Loading images from AppBundle vs. CoreData

I'm making a catalog where the cells in my collection view will be either an image with a label or a pdf. There will be many collections and they themselves will be static. I want the user to be able to save the cells he likes and view them in his…
Josh Elias
  • 3,250
  • 7
  • 42
  • 73
0
votes
3 answers

How can I add a file to an existing Mac OS X .app bundle?

I'm writing a modification for Arduino that turns an Arduino board into a game controller. In order to add my board-specific files to the programming environment, right now, the user needs to open up the Arduino.app package, and then add a few…
0
votes
1 answer

iOS - check if image is present in app bundle

How can I tell if an image is present in the main app bundle based on a string? For example, is there an image called image1.png in the bundle?
soleil
  • 12,133
  • 33
  • 112
  • 183
0
votes
1 answer

Porting nginx as a mountain lion bundled app

I was wondering how difficult it would be to create an app bundle from the sources of nginx. Since mountain lion, the apache webshare option has been removed and i can imagine that some people would like a gui frontend that will start/stop nginx,…
Daxomatic
  • 1
  • 2
0
votes
1 answer

File in folder that added using "Create folder references for any added folders" not updated

I need to make a folder in app bundle to manage my resources file, images, sounds, etc. So I add my resources folder to xcode using "Create folder references for any added folders". Problem I got a problem when I want to update file in this folder…
sarunw
  • 8,036
  • 11
  • 48
  • 84
-1
votes
2 answers

Save image on disk and associate it to managed object iphone

I need to save an image picked by an image picker on disk and than associate it to a managed object. I want to store the image path in the managed object (imagePath attribute is nsstring) but I don't know how to call the image because it must be…
matteodv
  • 3,992
  • 5
  • 39
  • 73
1 2 3
9
10