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
18
votes
2 answers

Custom drop-in icons for DMG background for application packaging on MacOSX

I'm having trouble adding custom icons for a DMG background in a self-contained package built on MacOSX. I have added a package in the root directory of my project. The custom icon is getting loaded from it, but the DMG background icon isn't. I am…
Sumodh Nair
  • 1,656
  • 1
  • 11
  • 34
12
votes
1 answer

Building a universal Appbunder build for java on MacOS M1 machine

I have been building MacOs Java application on Intel MacMini for number of years, essentially Compile/Build with maven Make cutdown embedded jre using jlink Make Appbundle using TheInfiniteKind AppBundler fork Sign and notarize Package up as a dmg…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
10
votes
4 answers

What is the cleanest way to set the environmental variable DYLD_FRAMEWORK_PATH for a release build?

I have custom frameworks in my app bundle for WebKit, WebCore, and JavaScriptCore. I would like all other frameworks that depend on the system versions of WebKit, WebCore, or JavaScriptCore to use my custom versions also. For instance my custom…
Michael Wildermuth
  • 5,762
  • 3
  • 29
  • 48
9
votes
3 answers

In Dynamic Feature Module can not access Resource file

I am trying to implement Dynamic delivery type App. First I create new project after that create Module for dynamic steps for this Select File > New > New Module from the menu bar and Create New Module dialog, select Dynamic Feature Module and…
7
votes
0 answers

Double clicking OS X app bundle built with pyinstaller doesn't open the app, but running executable from within the bundle works. What's wrong?

When I try to build this app on OS X with pyinstaller the app bundle doesn't work. Double clicking on the bundle from the finder doesn't do anything. OS version: OS X High Sierra 10.13.6 python: 3.6.3 pyinstaller: 3.3.1 (also tried…
Marieke
  • 71
  • 3
7
votes
1 answer

Code sign Java app for OS X Gatekeeper

I am trying to distribute a Java application to OS X users. I am not using the Mac store - it is to be distributed through my own website. Whatever I try, OS X's Gatekeeper rejects the app. Here's my method: (1) Build the app as usual, get a JAR…
HughHughTeotl
  • 5,439
  • 3
  • 34
  • 49
7
votes
1 answer

Packaging C binary in Mac OS X Application Bundle

I'm trying to package my binary in a minimalistic app bundle. But I'm seeing some strange behavior with the result. My bundle has this minimal structure: $ ls -R HelloWorld.app Contents HelloWorld.app/Contents: Info.plist MacOS …
Johan Bilien
  • 412
  • 2
  • 12
7
votes
1 answer

AppBundle throws "LSOpenURLsWithRole() failed with error -10810" after compiling with java 7 or 8

I upgraded jdk to version 7_45. After compiling and executing the jar, which works fine, i packed it into an application bundle. But unfortunately i get this error message "LSOpenURLsWithRole() failed with error -10810 for the file…
domizai
  • 343
  • 1
  • 5
  • 13
6
votes
0 answers

How can I build Flutter appbundle with a locale engine?

I've built local engine according to the document https://github.com/flutter/flutter/wiki/Compiling-the-engine In my out directory, there are 4 directories, which is android_debug_unopt, android_debug_unopt_arm64, host_debug_unopt,…
Singun
  • 71
  • 1
6
votes
1 answer

java.lang.NoSuchMethodError: No static method asAttributeSet(Lt/g/a/a;)Landroid/util/AttributeSet; in class Landroid/util/Xml;

Complete error java.lang.NoSuchMethodError: No static method asAttributeSet(Lt/g/a/a;)Landroid/util/AttributeSet; in class Landroid/util/Xml; or its super classes (declaration of 'android.util.Xml' appears in…
6
votes
1 answer

Application Variant do Last for App Bundle

I have entered below code in my Gradle. ///start applicationVariants.all { variant -> variant.outputs.each { output -> println("Roop: mappingFile: ${output.outputFile}") } variant.assemble.doLast { // …
user1340801
  • 423
  • 3
  • 10
  • 21
6
votes
2 answers

How to debug .app bundle crash-on-startup on Mac OS X?

What is the best way to find out why an .app bundle immediately crashes when started? Does Mac OS X store logs anywhere? For example, this does not work, and crashes immediately: open /Applications/MyApp.app However, calling the executable directly…
rednoah
  • 1,053
  • 14
  • 41
6
votes
1 answer

What makes an OS X app not open with the error "LSOpenURLsWithRole() failed with error -10810"?

I am working on what should be a very simple application bundle for OS X. My OS is version 10.7.5. The app in this case is a shell script. Kerkerkruip.app/Contents/Info.plist:
curiousdannii
  • 1,658
  • 1
  • 25
  • 40
5
votes
2 answers

Exclude specific files under a folder reference in Xcode 4

I've added a resources directory as a folder reference to the app bundle according to this question. I'd like to exclude some of underlying files, since I don't need them in my app. The "Delete" context menu item is disabled on every file below the…
kshahar
  • 10,423
  • 9
  • 49
  • 73
4
votes
1 answer

Monomac An Exception as thown by the type initializer for System.Net.WebRequest

I'm writing a program in monomac to ftp files to a server. I used the FtpWebRequest as FtpWebRequest request =(FtpWebRequest)WebRequest.Create("ftp://serverip/filename"); When I'm running this code in monodevelop its running properly. But when I…
1
2 3
9 10