• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating a bunble with XCode.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a bunble with XCode.


  • Subject: Re: Creating a bunble with XCode.
  • From: Bruggemann Eddie <email@hidden>
  • Date: Mon, 02 Jan 2017 15:29:54 +0100

Hi to everybody,

Only to say that:

"PackageMaker" is out-to-date for building Mac OS X application. It seems that's a new way of building Mac apps.

Then, I want to say that I'm able to package programs for Linux and Windows (The most wide used systems).
And by the way of the autotools you can install my application from source:

https://github.com/mrcyberfighter/MicroMusicPlayer (Micro Music Player (or mmp) "a minimalist music player") on Mac OS X.

---

+) By Windows you only have to copy your compiled executable into a folder with his dependent *.dll's and others resources (as like icons and so on)
and use inno-setup to make an auto- extractable *.exe file.

+) By Linux they are many ways of distributing softwares: DEBIAN or RMP packages, autotools builds...

+) By Mac it comes to problem for newbies like me because at first you don't know how to compile your program ?

  - Must In pass pkg-config --static by compilation.

- I have seems, into libvlc (Build from source) *.pc file, the "Framework" switch, which isn't present into my others libraries coming from brew *.pc files ?

- Must I build a framework from my required libraries to bundle it in a sort ?

Then packaging in the goal to distribute a proper software for the lambada user (which can't build from source)

seems to be hell with Mac...

---

The matter of F@ck is that my program works perfectly with dock icon and Mac menu and so on.

But I'm unable to distribute it otherwise as providing an autotool build.

I want to build a *.dmg file which by extracting show the f@cking window "copy to /Applications"...

----

By Mac their is no tool as like inno-setup as like by Windows (Because I'm a GNU/Linux geek) for distributing your program easily.

By Mac it's difficult to find reliable and useful documentation about the process to follow (the apple website only say shit.)

for building what equal a *.exe (Windows) or a *.deb, *.rpm (GNU/Linux) file.

---

Next I think Mac developers knows nothing else as their Mac system and so can't help anyway someone not knowing well Mac.

Sorry but the root of a Mac OS X is BSD and UNIX so I thougth that it won't be so complicated because GNU/Linux knows and respect POSIX well.

With Mac our sacral UNIX roots are hidden behind commercial shit (let us be true, money is the root of evil):

It's difficult to open the / (root) folder with your files manager (Finder).

---

Then we come to my problem which I will better expose:

my program build from a single self made Makefile or the autotools works well.

So I get a binary into /usr/local/bin called: MicroMusicPlayer linked (symbolic) to the name mmp.

I have located the required librairies for making work my program:

````bash
objdump -p /usr/local/bin/mmp | grep dylib
name /usr/local/opt/gtk+3/lib/libgtk-3.0.dylib (offset 24)
name /usr/local/opt/gtk+3/lib/libgdk-3.0.dylib (offset 24)
name /usr/local/opt/pango/lib/libpangocairo-1.0.0.dylib (offset 24)
name /usr/local/opt/pango/lib/libpango-1.0.0.dylib (offset 24)
name /usr/local/opt/atk/lib/libatk-1.0.0.dylib (offset 24)
name /usr/local/opt/cairo/lib/libcairo-gobject.2.dylib (offset 24)
name /usr/local/opt/cairo/lib/libcairo.2.dylib (offset 24)
name /usr/local/opt/gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib (offset 24)
name /usr/local/opt/glib/lib/libgio-2.0.0.dylib (offset 24)
name /usr/local/opt/glib/lib/libgobject-2.0.0.dylib (offset 24)
name /usr/local/opt/glib/lib/libglib-2.0.0.dylib (offset 24)
name /usr/local/opt/gettext/lib/libintl.8.dylib (offset 24)
name /Users/edward/desktop/vlc/build/vlc_install_dir/lib/libvlc.5.dylib (offset 24) name /usr/local/opt/gtk-mac-integration/lib/libgtkmacintegration-gtk3.2.dylib (offset 24)
name /usr/lib/libc++.1.dylib (offset 24)
name /usr/lib/libSystem.B.dylib (offset 24)
````

Comment 1: the last 2 aren't to distribute I think ?

Comment 2: libvlc (which I have build from source) is installed into /usr/local/ (Even if their is a misstake about the path in the output of objdump).

---

So with this datas can you help me to build a Mac app ? If you get questions I will answer it.

Maybe copy the required libraries onto the target host or in another way.


Thanks for your answers,

best regards,

mrcyberfighter.


---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Creating a bunble with XCode.
      • From: Keary Suska <email@hidden>
    • Re: Creating a bunble with XCode.
      • From: Jens Alfke <email@hidden>
  • Prev by Date: [ Maybe offtopic ] on c++ namespace aliasing
  • Next by Date: Re: Where are all the PDF files for developer documentation?
  • Previous by thread: Re: [ Maybe offtopic ] on c++ namespace aliasing
  • Next by thread: Re: Creating a bunble with XCode.
  • Index(es):
    • Date
    • Thread