discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pbxbuild is now deprecated...


From: Ivan Vučica
Subject: Re: pbxbuild is now deprecated...
Date: Fri, 9 Mar 2012 20:13:48 +0100

Whoops, I accidentally went off-list.

There are many .xcspec/.pbspec files that ship with Xcode and these determine how the projects are built. These determine supported languages (including how to colorize them), supported compilers, supported build systems, file types, format for .app bundles, et cetera.

If you have a Mac around, search for files with following extensions:

.xcspec
.pbcompspec
.pblinkspec
.pbprodspec
.pbbsetspec
.pbfilespec
.pblangspec
.xclangspec
.xcsynspec
.xcperspec
.xcbuildrules
.pbRTSspec
.trgttmpl

Go to Xcode's folder and punch in:
find . | grep .*\\.[px][bc].*spec
Note, Xcode3 is much more interesting than Xcode4, especially since it supports plugins (albeit unofficially).

Cocotron seems to be adding its cross compiler into Xcode by adding a spec file into the appropriate place.

Also look at this C# plugin for Xcode:
http://code.google.com/p/cocoa-sharp-dev/wiki/CSharpPlugin

Some docs on spec files:
http://code.google.com/p/xcode-plugin/wiki/Specifications
http://maxao.free.fr/xcode-plugin-interface/

This whole deal is basically why I got stuck with Zcode (aside from, at that time, still learning my way around AppKit and more advanced Objective-C concepts): I wanted to work on a build system that would use the spec files to generate the dependency tree and the build commands.

On Fri, Mar 9, 2012 at 19:13, Gregory Casamento <address@hidden> wrote:
The XCode library and buildtool read the xcodeproj directly and follow
what is specified in each build phase in the order they are specified
in the xcodeproj file.

I'm not familiar with what you are referring to with "spec" files.

GC

On Fri, Mar 9, 2012 at 5:56 AM, Ivan Vučica <address@hidden> wrote:
> 9. 3. 2012., u 01:05, Gregory Casamento je napisao:
>
>> Guys,
>>
>> The pbxbuild program is now deprecated.  In spite of the fact that it
>> does work in many cases, it has already been superceded in
>> functionality by the buildtool/xcode framework I've been writing which
>> builds projects in the same way the xcodebuild tool does on mac os x,
>> through direct interpretation of the .xcodeproj file without any need
>> for GNUmakefiles.
>>
>> I urge people not to depend on pbxbuild any longer and for people to
>> look at the new buildtool/xcode framework which I will be releasing in
>> the next few weeks.
>>
>> Thanks, GC
>
> Do you make use of various files compatible with Xcode's spec files?



--
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com



--
Ivan Vučica - address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]