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
3
votes
1 answer

How to Switch Maven osxappbundle-maven-plugin to use AppBundlerTask

I have a Java Swing project that I like to package for OSX by bundling up into App bundle. I previously used a Maven osxappbundle-maven-plugin to achieve this. But these bundles do not work with Oracle's Java for Mac and I want to switch things to…
Jordan Reed
  • 526
  • 1
  • 3
  • 15
3
votes
2 answers

Cannot access Java resource when packaged in Mac app bundle

I am accessing a Java resource to use in my JavaFX application.. URL resource = getClass().getClassLoader().getResource("/image.jpg"); File file = new File(resource.getFile()); if (!file.exists()) { throw new FileNotFoundException("No image: " +…
Sean Connolly
  • 5,692
  • 7
  • 37
  • 74
3
votes
2 answers

How can I access resource files from within a Java .app bundle running on OS X, Java 7?

Note that I am talking about Java 7, since the info.plist specification for a Java .app bundle seems to have changed a bit since Java 6. Currently my code looks like this: File file = new File( "documentation/index.html" ); if (file.exists()) { …
Epaga
  • 38,231
  • 58
  • 157
  • 245
2
votes
1 answer

How to convert existing macOS command line tool (for a launch daemon) into a bundled app for code signing & stapling?

I have a macOS command line tool project for my launch daemon (written in C++). It compiles into a single Mach-O binary file. I need to code sign and notarize it for distribution (outside of the App Store.) For that, it seems like I need to convert…
c00000fd
  • 20,994
  • 29
  • 177
  • 400
2
votes
1 answer

How can I load an Android asset pack on-demand using Java from the Google Play app bundle?

How can I load an Android asset pack on-demand using Java from the Google Play app bundle? I have tried passing the parameter and hard coding it in AssetPackManager. I think my problem is associated with not understanding interface. Some…
gerardg
  • 203
  • 2
  • 9
2
votes
1 answer

Embed Frameworks in Mac Bundle Without Xcode

I am trying to create a game engine right now on macOS and am just trying to set up a makefile to compile the code into a macOS App Bundle without Xcode. I can easily create a bundle if I just link the src code, but I want to embed it as a…
James51332
  • 164
  • 11
2
votes
1 answer

How can I create a macOS .app bundle for a SFML game?

I'm on macOS and I'm compiling my game with g++ -F Frameworks -rpath Frameworks {{frameworks}} src/main.cpp -o game I was following instructions on apple developer documents about how to create a macOS .app bundle, I have the correct folder…
tga
  • 538
  • 4
  • 15
2
votes
2 answers

Dynamic Feature activity not loading, stuck at installation

I am trying to implement app bundle for my project. On starting the dynamic module activity, it is downloading the module and trying to install the module, but is not able to completely install it. It gets stuck as in the image given below.…
lancer025
  • 147
  • 1
  • 16
2
votes
1 answer

Merge failure for shared merged PRI file: error 0x80070490. Fault in my computer?

I am installing an app(UWP) in my windows 10 an app that I have received from other developer( with a app-bundle or with powershell). This app was already installed in my computer. WHen I try to reinstall it I receive this error and I have no way to…
ronconsoda
  • 117
  • 3
  • 15
2
votes
0 answers

Selling multiple apps in a bundle on Google Play Store

I understand that Google Play does not support app bundles. Is there a workaround that can achieve the same effect ? I have several apps on Play Store but would like to also sell them at a discount if the user purchases all of them at once.
2
votes
2 answers

Codesign OSX App Bundle with periods in MacOS directory names

I run this line: codesign --verbose --force --deep --sign "Developer ID Application: Company" Company.app and I get this error: Company.app: bundle format unrecognized, invalid, or unsuitable In subcomponent:…
Shawn Blakesley
  • 1,743
  • 1
  • 17
  • 33
2
votes
0 answers

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…
Flafla2
  • 691
  • 2
  • 11
  • 21
2
votes
1 answer

Signing java application with bundled jre for mac using appbundler

I have created a java application and followed these tutorials to bundle it with a jre and convert to .app…
2
votes
3 answers

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…
Kevin Gao
  • 61
  • 7
2
votes
0 answers

Adding dylib to Application Bundle in Mac OS X

We are developing a JavaFx application on Mac Platform that requires interfacing of HID devices. We have chosen HID4Java(https://github.com/gary-rowe/hid4java/) for the purpose. The application is running fine when we are running from the netbeans…
Ajay Chaudhary
  • 298
  • 2
  • 14
1 2
3
9 10