Smaller Application?

  • Hi,
    I have just compiled my first application with Xcode.
    It runs on Panther very fine, but it doesn't run on MacOS X 10.2.6.

    I compared the previous Jaguar version I compiled on MacOS X 10.2.6 using
    ProjectBuilder, with the Panther version I compiled on Panther using XCode.

    - Panther version application size is 709 KB.
    - Jaguar version application size is 2.4 MB.

    - The Panther application file nested within the file package
    /Contents/MacOS is just 13 KB.
    - The Jaguar application file nested within the file package
    /Contents/MacOS is 1.6 MB.

    Did I forget to include the Frameworks?

    In my app are inlcuded
    Security.framework
    Message.framework
    IOKit.framework
    Cocoa.framework
    Foundation.framework
    AppKit.framework

    Which frameworks should I include in order to run my app on 10.2.6 too?
    And how to do with XCode? I cannot see any check-box to include the
    frameworks. Sincerely XCode seems to me to be more complicated than PB.

    Thank you.

    Best Regards
    --
    Lorenzo
    email: <archidea...>
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • On Monday, October 27, 2003, at 06:00  pm, Lorenzo wrote:

    > Hi,
    > I have just compiled my first application with Xcode.
    > It runs on Panther very fine, but it doesn't run on MacOS X 10.2.6.

    [snip]

    > - The Panther application file nested within the file package
    > /Contents/MacOS is just 13 KB.
    > - The Jaguar application file nested within the file package
    > /Contents/MacOS is 1.6 MB.
    >
    > Did I forget to include the Frameworks?

    No, but you've probably got ZeroLink turned on.  Do a Deployment build
    and you should be able to run it on both.  (You need to open the Show
    Info inspector [click the blue information toolbar button, or use the
    menu]).

    > Which frameworks should I include in order to run my app on 10.2.6 too?
    > And how to do with XCode? I cannot see any check-box to include the
    > frameworks.

    Either drop the framework in under the target's name in the "Groups &
    Files" outline view, or double-click the target and drop the framework
    in to the Frameworks & Libraries box (just like in Project Builder).

    > Sincerely XCode seems to me to be more complicated than PB.

    In many ways it's actually simpler.  The trouble is that it's
    *different*, so if you're use to Project Builder, you may think it's
    hard to use (exactly the same way you sometimes see Windows programmers
    complaining that it's hard to write programs on Mac OS X and "it'd be
    easier if I were writing on Windows").

    Kind regards,

    Alastair.
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • > From: Lorenzo <archidea...>
    > Date: Mon, 27 Oct 2003 19:00:37 +0100
    > To: <cocoa-dev...>
    > Subject: Smaller Application?
    >
    > Hi,
    > I have just compiled my first application with Xcode.
    > It runs on Panther very fine, but it doesn't run on MacOS X 10.2.6.
    >
    > I compared the previous Jaguar version I compiled on MacOS X 10.2.6 using
    > ProjectBuilder, with the Panther version I compiled on Panther using XCode.
    >
    > - Panther version application size is 709 KB.
    > - Jaguar version application size is 2.4 MB.
    >
    > - The Panther application file nested within the file package
    > /Contents/MacOS is just 13 KB.
    > - The Jaguar application file nested within the file package
    > /Contents/MacOS is 1.6 MB.
    >
    > Did I forget to include the Frameworks?
    >
    > In my app are inlcuded
    > Security.framework
    > Message.framework
    > IOKit.framework
    > Cocoa.framework
    > Foundation.framework
    > AppKit.framework
    >
    > Which frameworks should I include in order to run my app on 10.2.6 too?
    > And how to do with XCode? I cannot see any check-box to include the
    > frameworks. Sincerely XCode seems to me to be more complicated than PB.
    >

    Are you sure that you selected the "Deployment" build style in your project?
    Did you do a clean before doing the build? Your problem seems to be related
    with ZeroLink...

    -Laurent.
    --
    ===========================================================================
    Laurent Daudelin                    Developer, Multifamily, ESO, Fannie Mae
    mailto:<Laurent_Daudelin...>                  Washington, DC, USA
    ************************* Usual disclaimers apply *************************
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • On Oct 27, 2003, at 12:56 PM, Alastair J.Houghton wrote:

    > On Monday, October 27, 2003, at 06:00  pm, Lorenzo wrote:
    >
    >> Sincerely XCode seems to me to be more complicated than PB.
    >
    > In many ways it's actually simpler.  The trouble is that it's
    > *different*, so if you're use to Project Builder, you may think it's
    > hard to use (exactly the same way you sometimes see Windows
    > programmers complaining that it's hard to write programs on Mac OS X
    > and "it'd be easier if I were writing on Windows").

    Agreed.  A lot of people have been complaining about Xcode for the past
    few days, and while I understand the frustration in learning something
    that seems so different, give it a little time.  I've been playing with
    Xcode since WWDC and I like it a lot.  It's  different, but not
    necessarily for the worse.

    I must say that the Inspector does seem complicated at first, but
    you'll get used to it.  And I'm sure the Xcode team is reading all of
    these messages and thinking about how they can fix it.

    For those of you that can access ADC TV (or have WWDC DVDs), check out
    some of the Developer Tools sessions, particularly session 302 -
    Introduction to the Apple Developer Tools Suite and 303 - Increasing
    Productivity with Apple Tools.  Both of these offer a bit of insight on
    how Xcode works.  I found them both helpful in figuring everything out.

    And don't forget to check out the Xcode help.  It's actually relatively
    useful.

    -Prachi
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • Thank you.
    Yes I know that after some day, everything comes fine and better than the
    old program. I know well the problem of the first impact. The great problem
    is the "time" to learn, to update, to check, to build, to check again,...
    Anyway, I love MacOS X and Cocoa, so I will do all of that.
    Thank you for your suggestions.

    Best Regards
    --
    Lorenzo
    email: <archidea...>

    > From: Prachi Gauriar <pgauria...>
    > Date: Mon, 27 Oct 2003 14:01:08 -0600
    > To: "Alastair J.Houghton" <ajhoughton...>
    > Cc: Lorenzo <archidea...>, <cocoa-dev...>
    > Subject: Re: Smaller Application?
    >
    >
    > On Oct 27, 2003, at 12:56 PM, Alastair J.Houghton wrote:
    >
    >> On Monday, October 27, 2003, at 06:00  pm, Lorenzo wrote:
    >>
    >>> Sincerely XCode seems to me to be more complicated than PB.
    >>
    >> In many ways it's actually simpler.  The trouble is that it's
    >> *different*, so if you're use to Project Builder, you may think it's
    >> hard to use (exactly the same way you sometimes see Windows
    >> programmers complaining that it's hard to write programs on Mac OS X
    >> and "it'd be easier if I were writing on Windows").
    >
    > Agreed.  A lot of people have been complaining about Xcode for the past
    > few days, and while I understand the frustration in learning something
    > that seems so different, give it a little time.  I've been playing with
    > Xcode since WWDC and I like it a lot.  It's  different, but not
    > necessarily for the worse.
    >
    > I must say that the Inspector does seem complicated at first, but
    > you'll get used to it.  And I'm sure the Xcode team is reading all of
    > these messages and thinking about how they can fix it.
    >
    > For those of you that can access ADC TV (or have WWDC DVDs), check out
    > some of the Developer Tools sessions, particularly session 302 -
    > Introduction to the Apple Developer Tools Suite and 303 - Increasing
    > Productivity with Apple Tools.  Both of these offer a bit of insight on
    > how Xcode works.  I found them both helpful in figuring everything out.
    >
    > And don't forget to check out the Xcode help.  It's actually relatively
    > useful.
    >
    > -Prachi
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • There is also a nice (new?) feature in Interface Builder that will
    verify backwards-compatibility in your app.  Go to the "Nib" tab in the
    main IB application window and it will tell you if there are any
    incompatibilities with previous versions of OS X.

    // D

    On 2003 Oct 27, at 12:51, Lorenzo wrote:

    > Thank you.
    > Yes I know that after some day, everything comes fine and better than
    > the
    > old program. I know well the problem of the first impact. The great
    > problem
    > is the "time" to learn, to update, to check, to build, to check
    > again,...
    > Anyway, I love MacOS X and Cocoa, so I will do all of that.
    > Thank you for your suggestions.
    >
    >
    > Best Regards
    > --
    > Lorenzo
    > email: <archidea...>
    >
    >> From: Prachi Gauriar <pgauria...>
    >> Date: Mon, 27 Oct 2003 14:01:08 -0600
    >> To: "Alastair J.Houghton" <ajhoughton...>
    >> Cc: Lorenzo <archidea...>, <cocoa-dev...>
    >> Subject: Re: Smaller Application?
    >>
    >>
    >> On Oct 27, 2003, at 12:56 PM, Alastair J.Houghton wrote:
    >>
    >>> On Monday, October 27, 2003, at 06:00  pm, Lorenzo wrote:
    >>>
    >>>> Sincerely XCode seems to me to be more complicated than PB.
    >>>
    >>> In many ways it's actually simpler.  The trouble is that it's
    >>> *different*, so if you're use to Project Builder, you may think it's
    >>> hard to use (exactly the same way you sometimes see Windows
    >>> programmers complaining that it's hard to write programs on Mac OS X
    >>> and "it'd be easier if I were writing on Windows").
    >>
    >> Agreed.  A lot of people have been complaining about Xcode for the
    >> past
    >> few days, and while I understand the frustration in learning something
    >> that seems so different, give it a little time.  I've been playing
    >> with
    >> Xcode since WWDC and I like it a lot.  It's  different, but not
    >> necessarily for the worse.
    >>
    >> I must say that the Inspector does seem complicated at first, but
    >> you'll get used to it.  And I'm sure the Xcode team is reading all of
    >> these messages and thinking about how they can fix it.
    >>
    >> For those of you that can access ADC TV (or have WWDC DVDs), check out
    >> some of the Developer Tools sessions, particularly session 302 -
    >> Introduction to the Apple Developer Tools Suite and 303 - Increasing
    >> Productivity with Apple Tools.  Both of these offer a bit of insight
    >> on
    >> how Xcode works.  I found them both helpful in figuring everything
    >> out.
    >>
    >> And don't forget to check out the Xcode help.  It's actually
    >> relatively
    >> useful.
    >>
    >> -Prachi
    > _______________________________________________
    > cocoa-dev mailing list | <cocoa-dev...>
    > Help/Unsubscribe/Archives:
    > http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    > Do not post admin requests to the list. They will be ignored.
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
previous month october 2003 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Go to today