Re: Creating a bunble with XCode.
Re: Creating a bunble with XCode.
- Subject: Re: Creating a bunble with XCode.
- From: Keary Suska <email@hidden>
- Date: Mon, 02 Jan 2017 12:36:03 -0700
First off, you will get more effective responses if you focus specifically on the problem you want to solve and avoid filling your request with complaints about things you don’t understand or comparisons with other OSes, neither of which get you closer to a solution.
That being said, if you want to distribute in a Unix-like fashion there are a number of Mac-oriented package managers such as Homebrew, MacPorts, and Fink. They have their own documentation and a trivial use of Google will show you the way. Unfortunately most Mac users have any of these installed, or may use different managers so if you don’t want to support more than one manager you might get push-back from users. If this method doesn’t suit you, don’t distribute this way.
Again, with a fairly trivial use of Google you can find 3rd-party installer applications. They may not do everything you need, but one or more are open source products that you can modify to your liking. Note that Mac OS does not come with any available compilers, so if you wish to distribute to your everyday user you will need to distribute a pre-built binary.
So if you are going to make a pre-built binary anyway, you might as well create an application bundle in a pre-made DMG or zip archive. This is the canonical way of building and distributing applications on the Mac and is well documented. Doing this is not hard, and there are people on this list willing to help with specific Xcode questions.
Like with anything, you need to spend at least some time learning your available tools.
> On Jan 2, 2017, at 7:29 AM, Bruggemann Eddie <email@hidden> wrote:
>
> 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
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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