Re: Creating a bundle with XCode.
Re: Creating a bundle with XCode.
- Subject: Re: Creating a bundle with XCode.
- From: Bernie Maier <email@hidden>
- Date: Sun, 01 Jan 2017 19:17:30 +1100
Hi to everybody,
I have try to build a bundle (with XCode),
because it seems the way of building a Mac package
(A *.dmg file to extract with the beautiful copy to Application window, and
so on...).
---
I failed to compile my bundle...
It seems that's because I have set into Framework/Libraries
the *.pc (pkg-config) files from my required libraries.
The ouput is warnings and errors as like:
```
cannot find file: <gtk/gtk.h>
```
---
If anybody can help me, in the way of telling me what I've done wrong
for the moment, surely the libraries field,
and how to do it properly, were nice.
---
Thanks to everybody.
---
PS:
What I can't understand is why the compiler complain to
not find <gtk/gtk.h> (it seems that he have not read the *.pc files).
Must I set the *.pc files in another way ?
I gather from the way you describe things that you are coming from a more
traditional Unix build background. I'd be surprised if Xcode did anything with
pkg-config files. They're used more in the traditional Unix build chain.
I expect you will need to either pull the correct include path and possibly
library path out of the .pc file and put that information in the correct place
in the Xcode project or build via make files and then create the .dmg via a
separate step. In any case, you probably already need to create the .dmg
separately anyway, because that's not an automatic part of the Xcode build
process (though it can surely be scripted and thus added to an Xcode build).
-- Bernie
_______________________________________________
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